Lines Matching refs:uri
59 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
60 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
63 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
64 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */
788 @param uri the URI associated with the request
795 enum evhttp_cmd_type type, const char *uri);
943 @param uri an encoded URI
947 char *evhttp_decode_uri(const char *uri);
958 @param uri a URI-encode encoded URI
965 char *evhttp_uridecode(const char *uri, int decode_plus,
983 @param uri the request URI
988 int evhttp_parse_query(const char *uri, struct evkeyvalq *headers);
1008 int evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers);
1035 void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags);
1040 const char *evhttp_uri_get_scheme(const struct evhttp_uri *uri);
1046 const char *evhttp_uri_get_userinfo(const struct evhttp_uri *uri);
1060 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
1063 int evhttp_uri_get_port(const struct evhttp_uri *uri);
1066 const char *evhttp_uri_get_path(const struct evhttp_uri *uri);
1070 const char *evhttp_uri_get_query(const struct evhttp_uri *uri);
1074 const char *evhttp_uri_get_fragment(const struct evhttp_uri *uri);
1079 int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme);
1083 int evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo);
1087 int evhttp_uri_set_host(struct evhttp_uri *uri, const char *host);
1091 int evhttp_uri_set_port(struct evhttp_uri *uri, int port);
1095 int evhttp_uri_set_path(struct evhttp_uri *uri, const char *path);
1100 int evhttp_uri_set_query(struct evhttp_uri *uri, const char *query);
1105 int evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment);
1138 * @return uri container to hold parsed data, or NULL if there is error
1164 * Free all memory allocated for a parsed uri. Only use this for URIs
1167 * @param uri container with parsed data
1171 void evhttp_uri_free(struct evhttp_uri *uri);
1174 * Join together the uri parts from parsed data to form a URI-Reference.
1180 * @param uri container with parsed data
1183 * @return an joined uri as string or NULL on error
1187 char *evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit);