~ubuntu-branches/ubuntu/trusty/libxslt/trusty

« back to all changes in this revision

Viewing changes to python/libxslt-python-api.xml

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey
  • Date: 2008-08-03 09:03:42 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080803090342-0gzx6fixj16lirxt
Tags: 1.1.24-2
libexslt/crypto.c: Apply upstream fix for CVE-2008-2935. Closes: #493162.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
      <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
12
12
      <arg name='result' type='xmlDocPtr' info='The result document'/>
13
13
    </function>
 
14
    <function name='xsltSetLoaderFunc' file='python'>
 
15
      <info>Set the function for controlling document loading</info>
 
16
      <return type='long' info='0 for failure or 1 for success'/>
 
17
      <arg name='loader' type='pythonObject' info='the loader function; should take: string URI, xsltParserContext, context, type; when type == 1 the context is a stylesheet, when type == 0 the context is a transformCtxt'/>
 
18
    </function>
 
19
    <function name='xsltGetLoaderFunc' file='python'>
 
20
      <info>Get the function for controlling document loading</info>
 
21
      <return type='pythonObject *' info='the function'/>
 
22
    </function>
 
23
    <function name='xsltNewTransformContext' file='python'>
 
24
      <info>Create a new XSLT TransformContext</info>
 
25
      <return type='xsltTransformContextPtr' info='an xslt TransformContext'/>
 
26
      <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
 
27
      <arg name='doc' type='xmlDocPtr' info='the input document'/>
 
28
    </function>
 
29
    <function name='xsltFreeTransformContext' file='python'>
 
30
      <info>Free up an existing XSLT TransformContext</info>
 
31
      <return type='void' info='None'/>
 
32
      <arg name='transformCtxt' type='xsltTransformContextPtr' info='an existing tranformCtxt'/>
 
33
    </function>
 
34
    <function name='xsltGetTransformContextHashCode' file='python'>
 
35
      <info>Get the hash code of the transformContext</info>
 
36
      <return type='int' info='the hash code' />
 
37
      <arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
 
38
    </function>
 
39
    <function name='xsltGetStylesheetHashCode' file='python'>
 
40
      <info>Get the hash code of the stylesheet</info>
 
41
      <return type='int' info='the hash code' />
 
42
      <arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
 
43
    </function>
 
44
    <function name='xsltCompareTransformContextsEqual' file='python'>
 
45
      <info>Compare one transformCtxt with another</info>
 
46
      <return type='int' info='1 in case of success, 0 or -1 in error' />
 
47
      <arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
 
48
      <arg name='other' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
 
49
    </function>
 
50
    <function name='xsltCompareStylesheetsEqual' file='python'>
 
51
      <info>Compare one stylesheet with another</info>
 
52
      <return type='int' info='1 in case of success, 0 or -1 in error' />
 
53
      <arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
 
54
      <arg name='other' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
 
55
    </function>
 
56
    <function name='xsltApplyStylesheetUser' file='python'>
 
57
      <info>Apply the stylesheet to the document</info>
 
58
      <return type='xmlDocPtr' info="the result document or NULL in case of error"/>
 
59
      <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
 
60
      <arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
 
61
      <arg name='params' type='pythonObject' info='the parameters dictionary'/>
 
62
      <arg name='transformCtxt' type='xsltTransformContextPtr' info='transformation context'/>
 
63
    </function>
14
64
    <function name='xsltApplyStylesheet' file='python'>
15
65
      <info>Apply the stylesheet to the document</info>
16
66
      <return type='xmlDocPtr' info="the result document or NULL in case of error"/>
17
67
      <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
18
68
      <arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
19
 
      <arg name='params' type='pythonObject' info='the parameters dictionnary'/>
 
69
      <arg name='params' type='pythonObject' info='the parameters dictionary'/>
20
70
    </function>
21
71
    <function name='xsltRegisterErrorHandler' file='python'>
22
72
      <info>Register a Python written function to for error reporting. The function is called back as f(ctx, error).</info>