New api functions for parsing.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -38,6 +38,7 @@ typedef struct _url * url_t; | ... | @@ -38,6 +38,7 @@ typedef struct _url * url_t; |
38 | 38 | ||
39 | extern int url_create __P ((url_t *, const char *name)); | 39 | extern int url_create __P ((url_t *, const char *name)); |
40 | extern void url_destroy __P ((url_t *)); | 40 | extern void url_destroy __P ((url_t *)); |
41 | extern int url_parse __P ((url_t)); | ||
41 | 42 | ||
42 | extern int url_get_scheme __P ((const url_t, char *, size_t, size_t *)); | 43 | extern int url_get_scheme __P ((const url_t, char *, size_t, size_t *)); |
43 | extern int url_get_user __P ((const url_t, char *, size_t, size_t *)); | 44 | extern int url_get_user __P ((const url_t, char *, size_t, size_t *)); |
... | @@ -55,6 +56,8 @@ extern int url_is_same_path __P ((url_t, url_t)); | ... | @@ -55,6 +56,8 @@ extern int url_is_same_path __P ((url_t, url_t)); |
55 | extern int url_is_same_host __P ((url_t, url_t)); | 56 | extern int url_is_same_host __P ((url_t, url_t)); |
56 | extern int url_is_same_port __P ((url_t, url_t)); | 57 | extern int url_is_same_port __P ((url_t, url_t)); |
57 | 58 | ||
59 | extern char* url_decode __P ((const char *s)); | ||
60 | |||
58 | #ifdef __cplusplus | 61 | #ifdef __cplusplus |
59 | } | 62 | } |
60 | #endif | 63 | #endif | ... | ... |
-
Please register or sign in to post a comment