comparison plugins/perl/common/XMLNode.xs @ 11118:134d0001983d

[gaim-migrate @ 13174] Some new xsubs for the perl interpreter and a work around to get it all working again. committer: Tailor Script <tailor@pidgin.im>
author John H. Kelm <johnkelm@gmail.com>
date Mon, 18 Jul 2005 13:37:38 +0000
parents
children b284c703d398
comparison
equal deleted inserted replaced
11117:5a8bc4b1f5b6 11118:134d0001983d
1
2 #include "module.h"
3
4 /* TODO
5
6
7 */
8
9 MODULE = Gaim::XMLNode PACKAGE = Gaim::XMLNode PREFIX = xmlnode_
10 PROTOTYPES: ENABLE
11
12
13 xmlnode *
14 xmlnode_copy(src)
15 xmlnode *src
16
17 void
18 xmlnode_free(node)
19 xmlnode *node
20
21 xmlnode *
22 xmlnode_from_str(str, size)
23 const char *str
24 gssize size
25
26 const char *
27 xmlnode_get_attrib(node, attr)
28 xmlnode *node
29 const char *attr
30
31 xmlnode *
32 xmlnode_get_child(parent, name)
33 const xmlnode *parent
34 const char *name
35
36 xmlnode *
37 xmlnode_get_child_with_namespace(parent, name, xmlns)
38 const xmlnode *parent
39 const char *name
40 const char *xmlns
41
42 char *
43 xmlnode_get_data(node)
44 xmlnode *node
45
46 xmlnode *
47 xmlnode_get_next_twin(node)
48 xmlnode *node
49
50 void
51 xmlnode_insert_child(parent, child)
52 xmlnode *parent
53 xmlnode *child
54
55 void
56 xmlnode_insert_data(node, data, size)
57 xmlnode *node
58 const char *data
59 gssize size
60
61 xmlnode *
62 xmlnode_new(name)
63 const char *name
64
65 xmlnode *
66 xmlnode_new_child(parent, name)
67 xmlnode *parent
68 const char *name
69
70 void
71 xmlnode_remove_attrib(node, attr)
72 xmlnode *node
73 const char *attr
74
75 void
76 xmlnode_set_attrib(node, attr, value)
77 xmlnode *node
78 const char *attr
79 const char *value
80
81 char *
82 xmlnode_to_formatted_str(node, len)
83 xmlnode *node
84 int *len
85
86 char *
87 xmlnode_to_str(node, len)
88 xmlnode *node
89 int *len
90