Lines Matching refs:uri
60 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
61 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
64 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
65 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */
789 @param uri the URI associated with the request
796 enum evhttp_cmd_type type, const char *uri);
944 @param uri an encoded URI
948 char *evhttp_decode_uri(const char *uri);
959 @param uri a URI-encode encoded URI
966 char *evhttp_uridecode(const char *uri, int decode_plus,
984 @param uri the request URI
989 int evhttp_parse_query(const char *uri, struct evkeyvalq *headers);
1009 int evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers);
1036 void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags);
1041 const char *evhttp_uri_get_scheme(const struct evhttp_uri *uri);
1047 const char *evhttp_uri_get_userinfo(const struct evhttp_uri *uri);
1061 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
1064 int evhttp_uri_get_port(const struct evhttp_uri *uri);
1067 const char *evhttp_uri_get_path(const struct evhttp_uri *uri);
1071 const char *evhttp_uri_get_query(const struct evhttp_uri *uri);
1075 const char *evhttp_uri_get_fragment(const struct evhttp_uri *uri);
1080 int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme);
1084 int evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo);
1088 int evhttp_uri_set_host(struct evhttp_uri *uri, const char *host);
1092 int evhttp_uri_set_port(struct evhttp_uri *uri, int port);
1096 int evhttp_uri_set_path(struct evhttp_uri *uri, const char *path);
1101 int evhttp_uri_set_query(struct evhttp_uri *uri, const char *query);
1106 int evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment);
1139 * @return uri container to hold parsed data, or NULL if there is error
1165 * Free all memory allocated for a parsed uri. Only use this for URIs
1168 * @param uri container with parsed data
1172 void evhttp_uri_free(struct evhttp_uri *uri);
1175 * Join together the uri parts from parsed data to form a URI-Reference.
1181 * @param uri container with parsed data
1184 * @return an joined uri as string or NULL on error
1188 char *evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit);