- Timestamp:
- Apr 4, 2007 10:17:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/pidf.c
r974 r1146 73 73 static pj_str_t EMPTY_STRING = { NULL, 0 }; 74 74 75 static pj_str_t XMLNS = { "xmlns", 5 }; 76 static pj_str_t PIDF_XMLNS = { "urn:ietf:params:xml:ns:pidf", 27 }; 77 75 78 static void xml_init_node(pj_pool_t *pool, pj_xml_node *node, 76 79 pj_str_t *name, const pj_str_t *value) … … 100 103 xml_init_node(pool, pres, &PRESENCE, NULL); 101 104 attr = xml_create_attr(pool, &ENTITY, entity); 105 pj_xml_add_attr(pres, attr); 106 attr = xml_create_attr(pool, &XMLNS, &PIDF_XMLNS); 102 107 pj_xml_add_attr(pres, attr); 103 108 }
Note: See TracChangeset
for help on using the changeset viewer.