diff options
author | dequis <dx@dxzone.com.ar> | 2014-10-10 23:20:53 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2014-10-10 23:20:53 -0300 |
commit | 7b40f17f9f514127c8a37c35ac3d1c3bd34c13d5 (patch) | |
tree | 2297eb213f70e0e5cc7ce50e878f805a47f55ad7 /lib/xmltree.h | |
parent | 0e35ff67f314fb11522430e17d607ac4f5c13c90 (diff) |
Add support for XEP-0203: Delayed delivery (message timestamps)
Very similar to XEP-0091 which is already supported, but was marked as
obsolete, replaced by XEP-0203. The main differences are the tag name
and the timestamp format.
Due to the similarities, both XEPs are still supported.
Diffstat (limited to 'lib/xmltree.h')
-rw-r--r-- | lib/xmltree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xmltree.h b/lib/xmltree.h index a41cbac1..aaf49cea 100644 --- a/lib/xmltree.h +++ b/lib/xmltree.h @@ -91,6 +91,7 @@ void xt_free( struct xt_parser *xt ); struct xt_node *xt_find_node( struct xt_node *node, const char *name ); struct xt_node *xt_find_path( struct xt_node *node, const char *name ); char *xt_find_attr( struct xt_node *node, const char *key ); +struct xt_node *xt_find_node_by_attr( struct xt_node *xt, const char *tag, const char *key, const char *value ); struct xt_node *xt_new_node( char *name, const char *text, struct xt_node *children ); void xt_add_child( struct xt_node *parent, struct xt_node *child ); |