Mercurial > pidgin
comparison libgaim/xmlnode.h @ 14324:2d7086454b08
[gaim-migrate @ 17019]
dbus goodness
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Thu, 24 Aug 2006 18:33:53 +0000 |
| parents | 60b1bc8dbf37 |
| children | 289490ee84d1 |
comparison
equal
deleted
inserted
replaced
| 14323:a0a360de39d8 | 14324:2d7086454b08 |
|---|---|
| 36 } XMLNodeType; | 36 } XMLNodeType; |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * An xmlnode. | 39 * An xmlnode. |
| 40 */ | 40 */ |
| 41 typedef struct _xmlnode | 41 typedef struct _xmlnode xmlnode; |
| 42 struct _xmlnode | |
| 42 { | 43 { |
| 43 char *name; /**< The name of the node. */ | 44 char *name; /**< The name of the node. */ |
| 44 #ifdef HAVE_LIBXML | 45 #ifdef HAVE_LIBXML |
| 45 char *namespace; /**< The namespace of the node */ | 46 char *namespace; /**< The namespace of the node */ |
| 46 #endif | 47 #endif |
| 49 size_t data_sz; /**< The size of the data. */ | 50 size_t data_sz; /**< The size of the data. */ |
| 50 struct _xmlnode *parent; /**< The parent node or @c NULL.*/ | 51 struct _xmlnode *parent; /**< The parent node or @c NULL.*/ |
| 51 struct _xmlnode *child; /**< The child node or @c NULL.*/ | 52 struct _xmlnode *child; /**< The child node or @c NULL.*/ |
| 52 struct _xmlnode *lastchild; /**< The last child node or @c NULL.*/ | 53 struct _xmlnode *lastchild; /**< The last child node or @c NULL.*/ |
| 53 struct _xmlnode *next; /**< The next node or @c NULL. */ | 54 struct _xmlnode *next; /**< The next node or @c NULL. */ |
| 54 } xmlnode; | 55 }; |
| 55 | 56 |
| 56 /** | 57 /** |
| 57 * Creates a new xmlnode. | 58 * Creates a new xmlnode. |
| 58 * | 59 * |
| 59 * @param name The name of the node. | 60 * @param name The name of the node. |
