Annotation of XML/uri.h, revision 1.5

1.1       daniel      1: /**
                      2:  * uri.c: library of generic URI related routines 
                      3:  *
                      4:  * Reference: RFC 2396
                      5:  *
                      6:  * See Copyright for the status of this software.
                      7:  *
                      8:  * Daniel.Veillard@w3.org
                      9:  */
                     10: 
                     11: #ifndef __XML_URI_H__
                     12: #define __XML_URI_H__
                     13: 
1.2       daniel     14: #include "tree.h"
                     15: 
1.1       daniel     16: #ifdef __cplusplus
                     17: extern "C" {
                     18: #endif
                     19: 
1.2       daniel     20: /**
                     21:  *
                     22:  */
                     23: typedef struct _xmlURI xmlURI;
                     24: typedef xmlURI *xmlURIPtr;
                     25: struct _xmlURI {
                     26:     char *scheme;
1.3       daniel     27:     char *authority;
1.2       daniel     28:     char *server;
                     29:     int port;
                     30:     char *opaque;
                     31:     char *path;
1.3       daniel     32:     char *query;
1.2       daniel     33:     char *fragment;
                     34: };
                     35: 
1.1       daniel     36: /*
                     37:  * This function is in tree.h:
                     38:  * xmlChar *   xmlNodeGetBase  (xmlDocPtr doc,
                     39:  *                               xmlNodePtr cur);
                     40:  */
1.5     ! daniel     41: xmlChar *      xmlBuildURI             (const xmlChar *URI,
        !            42:                                         const xmlChar *base);
        !            43: xmlURIPtr      xmlParseURI             (const char *URI);
        !            44: xmlChar *      xmlSaveUri              (xmlURIPtr uri);
        !            45: int            xmlNormalizeURIPath     (char *path);
1.2       daniel     46: 
1.1       daniel     47: #ifdef __cplusplus
                     48: }
                     49: #endif
                     50: #endif /* __XML_URI_H__ */

Webmaster