Mercurial > pidgin
annotate plugins/perl/common/XMLNode.xs @ 12869:45c7f6510baa
[gaim-migrate @ 15221]
ranma42 got me his name.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 14 Jan 2006 00:32:31 +0000 |
parents | 96f9b4798012 |
children |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::XMLNode PACKAGE = Gaim::XMLNode PREFIX = xmlnode_ | |
4 PROTOTYPES: ENABLE | |
5 | |
12364 | 6 Gaim::XMLNode |
7 xmlnode_copy(class, src) | |
11118 | 8 xmlnode *src |
12364 | 9 C_ARGS: |
10 src | |
11118 | 11 |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12364
diff
changeset
|
12 void |
11118 | 13 xmlnode_free(node) |
14 xmlnode *node | |
15 | |
12364 | 16 Gaim::XMLNode |
17 xmlnode_from_str(class, str, size) | |
11118 | 18 const char *str |
19 gssize size | |
12364 | 20 C_ARGS: |
21 str, size | |
11118 | 22 |
23 const char * | |
24 xmlnode_get_attrib(node, attr) | |
25 xmlnode *node | |
26 const char *attr | |
27 | |
12364 | 28 Gaim::XMLNode |
11118 | 29 xmlnode_get_child(parent, name) |
30 const xmlnode *parent | |
31 const char *name | |
32 | |
12364 | 33 Gaim::XMLNode |
11118 | 34 xmlnode_get_child_with_namespace(parent, name, xmlns) |
35 const xmlnode *parent | |
36 const char *name | |
37 const char *xmlns | |
38 | |
39 char * | |
40 xmlnode_get_data(node) | |
41 xmlnode *node | |
42 | |
12364 | 43 Gaim::XMLNode |
11118 | 44 xmlnode_get_next_twin(node) |
45 xmlnode *node | |
46 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12364
diff
changeset
|
47 void |
11118 | 48 xmlnode_insert_child(parent, child) |
49 xmlnode *parent | |
50 xmlnode *child | |
51 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12364
diff
changeset
|
52 void |
11118 | 53 xmlnode_insert_data(node, data, size) |
54 xmlnode *node | |
55 const char *data | |
56 gssize size | |
57 | |
12364 | 58 Gaim::XMLNode |
59 xmlnode_new(class, name) | |
11118 | 60 const char *name |
12364 | 61 C_ARGS: |
62 name | |
11118 | 63 |
12364 | 64 Gaim::XMLNode |
11118 | 65 xmlnode_new_child(parent, name) |
66 xmlnode *parent | |
67 const char *name | |
68 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12364
diff
changeset
|
69 void |
11118 | 70 xmlnode_remove_attrib(node, attr) |
71 xmlnode *node | |
72 const char *attr | |
73 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12364
diff
changeset
|
74 void |
11118 | 75 xmlnode_set_attrib(node, attr, value) |
76 xmlnode *node | |
77 const char *attr | |
78 const char *value | |
79 | |
80 char * | |
81 xmlnode_to_formatted_str(node, len) | |
82 xmlnode *node | |
83 int *len | |
84 | |
85 char * | |
86 xmlnode_to_str(node, len) | |
87 xmlnode *node | |
88 int *len |