HTTP Parser and message builder / objects in plain C Snapshot
Classes | Defines | Typedefs | Functions
uri.h File Reference
#include <cutils/base.h>
#include <string.h>

Go to the source code of this file.

Classes

struct  tagURI

Defines

#define URI_FLAGS_PARSE_PARTS   1
#define URI_FLAGS_IS_ABSOLUTE_URI   2
#define URI_FLAGS_IS_OPAQUE   4
#define URI_FLAGS_HOST_IPv4   8
#define URI_FLAGS_HOST_IPv6   16
#define URI_FLAGS_HOST_HOSTNAME   32
#define URI_FLAGS_HAS_SCHEME   64

Typedefs

typedef struct tagURI URI

Functions

M_INLINE void URI_init (URI *url)
int URI_parse (URI *url, char *line)
M_INLINE void URI_free (URI *url)
M_INLINE const char * URI_scheme (URI *url)
M_INLINE const char * URI_userinfo_raw (URI *url)
M_INLINE const char * URI_userinfo (URI *url)
M_INLINE const char * URI_host (URI *url)
M_INLINE int URI_port (URI *url)
M_INLINE const char * URI_path_raw (URI *url)
M_INLINE const char * URI_path (URI *url)
M_INLINE const char * URI_query_raw (URI *url)
M_INLINE const char * URI_query (URI *url)
M_INLINE const char * URI_fragment_raw (URI *url)
M_INLINE const char * URI_fragment (URI *url)
M_INLINE const char * URI_opaque_raw (URI *url)
M_INLINE const char * URI_opaque (URI *url)