Sun, 30 Oct 2005 23:00:47 +0000
[gaim-migrate @ 14198]
sf patch #1342817, from Evan Schoenberg
"As discussed in #gaim, this patch removes idle.c and replaces it
with gtkidle.c and gtkidle.h. The attached diff removes the idle
management from its various hiding places in connection.c, server.c,
and gaim.h. The plugins Changelog.API is appropriately updated.
The new gtkidle files are attached; idle.c should be removed from
CVS."
committer: Mark Doliner <markdoliner@pidgin.im>
| 11118 | 1 | #include "module.h" |
| 2 | ||
| 3 | MODULE = Gaim::XMLNode PACKAGE = Gaim::XMLNode PREFIX = xmlnode_ | |
| 4 | PROTOTYPES: ENABLE | |
| 5 | ||
| 6 | ||
| 7 | xmlnode * | |
| 8 | xmlnode_copy(src) | |
| 9 | xmlnode *src | |
| 10 | ||
| 11 | void | |
| 12 | xmlnode_free(node) | |
| 13 | xmlnode *node | |
| 14 | ||
| 15 | xmlnode * | |
| 16 | xmlnode_from_str(str, size) | |
| 17 | const char *str | |
| 18 | gssize size | |
| 19 | ||
| 20 | const char * | |
| 21 | xmlnode_get_attrib(node, attr) | |
| 22 | xmlnode *node | |
| 23 | const char *attr | |
| 24 | ||
| 25 | xmlnode * | |
| 26 | xmlnode_get_child(parent, name) | |
| 27 | const xmlnode *parent | |
| 28 | const char *name | |
| 29 | ||
| 30 | xmlnode * | |
| 31 | xmlnode_get_child_with_namespace(parent, name, xmlns) | |
| 32 | const xmlnode *parent | |
| 33 | const char *name | |
| 34 | const char *xmlns | |
| 35 | ||
| 36 | char * | |
| 37 | xmlnode_get_data(node) | |
| 38 | xmlnode *node | |
| 39 | ||
| 40 | xmlnode * | |
| 41 | xmlnode_get_next_twin(node) | |
| 42 | xmlnode *node | |
| 43 | ||
| 44 | void | |
| 45 | xmlnode_insert_child(parent, child) | |
| 46 | xmlnode *parent | |
| 47 | xmlnode *child | |
| 48 | ||
| 49 | void | |
| 50 | xmlnode_insert_data(node, data, size) | |
| 51 | xmlnode *node | |
| 52 | const char *data | |
| 53 | gssize size | |
| 54 | ||
| 55 | xmlnode * | |
| 56 | xmlnode_new(name) | |
| 57 | const char *name | |
| 58 | ||
| 59 | xmlnode * | |
| 60 | xmlnode_new_child(parent, name) | |
| 61 | xmlnode *parent | |
| 62 | const char *name | |
| 63 | ||
| 64 | void | |
| 65 | xmlnode_remove_attrib(node, attr) | |
| 66 | xmlnode *node | |
| 67 | const char *attr | |
| 68 | ||
| 69 | void | |
| 70 | xmlnode_set_attrib(node, attr, value) | |
| 71 | xmlnode *node | |
| 72 | const char *attr | |
| 73 | const char *value | |
| 74 | ||
| 75 | char * | |
| 76 | xmlnode_to_formatted_str(node, len) | |
| 77 | xmlnode *node | |
| 78 | int *len | |
| 79 | ||
| 80 | char * | |
| 81 | xmlnode_to_str(node, len) | |
| 82 | xmlnode *node | |
| 83 | int *len | |
| 84 |