![]() |
C library for SOAP (Simple Object Access Protocol) |
Data Structures | |
| struct | hurl_t |
Defines | |
| #define | URL_ERROR 1100 |
| #define | URL_ERROR_UNKNOWN_PROTOCOL (URL_ERROR + 1) |
| #define | URL_ERROR_NO_PROTOCOL (URL_ERROR + 2) |
| #define | URL_ERROR_NO_HOST (URL_ERROR + 3) |
Typedefs | |
| typedef enum _hprotocol | hprotocol_t |
Enumerations | |
| enum | _hprotocol { PROTOCOL_HTTP, PROTOCOL_HTTPS } |
Functions | |
| herror_t | hurl_parse (struct hurl_t *obj, const char *url) |
| void | hurl_free (struct hurl_t *url) |
| #define URL_ERROR 1100 |
URL errors
| #define URL_ERROR_NO_HOST (URL_ERROR + 3) |
| #define URL_ERROR_NO_PROTOCOL (URL_ERROR + 2) |
| #define URL_ERROR_UNKNOWN_PROTOCOL (URL_ERROR + 1) |
| typedef enum _hprotocol hprotocol_t |
| enum _hprotocol |
| void hurl_free | ( | struct hurl_t * | url | ) |
This function frees the resources within a url and the url itself.
| url | pointer to an hurl_t |
This function parses the given 'urlstr' and fills the given hurl_t object. Parse an URI
URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
| obj | the destination URL object to fill | |
| url | the URL in string format |