Home | History | Annotate | Download | only in event2

Lines Matching refs:evhttp_uri

812 struct evhttp_uri;
819 const struct evhttp_uri *evhttp_request_get_evhttp_uri(const struct evhttp_request *req);
1021 * Return a new empty evhttp_uri with no fields set.
1024 struct evhttp_uri *evhttp_uri_new(void);
1031 void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags);
1033 /** Return the scheme of an evhttp_uri, or NULL if there is no scheme has
1034 * been set and the evhttp_uri contains a Relative-Ref. */
1036 const char *evhttp_uri_get_scheme(const struct evhttp_uri *uri);
1038 * Return the userinfo part of an evhttp_uri, or NULL if it has no userinfo
1042 const char *evhttp_uri_get_userinfo(const struct evhttp_uri *uri);
1044 * Return the host part of an evhttp_uri, or NULL if it has no host set.
1056 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
1057 /** Return the port part of an evhttp_uri, or -1 if there is no port set. */
1059 int evhttp_uri_get_port(const struct evhttp_uri *uri);
1060 /** Return the path part of an evhttp_uri, or NULL if it has no path set */
1062 const char *evhttp_uri_get_path(const struct evhttp_uri *uri);
1063 /** Return the query part of an evhttp_uri (excluding the leading "?"), or
1066 const char *evhttp_uri_get_query(const struct evhttp_uri *uri);
1067 /** Return the fragment part of an evhttp_uri (excluding the leading "#"),
1070 const char *evhttp_uri_get_fragment(const struct evhttp_uri *uri);
1072 /** Set the scheme of an evhttp_uri, or clear the scheme if scheme==NULL.
1075 int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme);
1076 /** Set the userinfo of an evhttp_uri, or clear the userinfo if userinfo==NULL.
1079 int evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo);
1080 /** Set the host of an evhttp_uri, or clear the host if host==NULL.
1083 int evhttp_uri_set_host(struct evhttp_uri *uri, const char *host);
1084 /** Set the port of an evhttp_uri, or clear the port if port==-1.
1087 int evhttp_uri_set_port(struct evhttp_uri *uri, int port);
1088 /** Set the path of an evhttp_uri, or clear the path if path==NULL.
1091 int evhttp_uri_set_path(struct evhttp_uri *uri, const char *path);
1092 /** Set the query of an evhttp_uri, or clear the query if query==NULL.
1096 int evhttp_uri_set_query(struct evhttp_uri *uri, const char *query);
1097 /** Set the fragment of an evhttp_uri, or clear the fragment if fragment==NULL.
1101 int evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment);
1116 * left set to NULL in the resulting evhttp_uri. If no port is
1138 struct evhttp_uri *evhttp_uri_parse_with_flags(const char *source_uri,
1157 struct evhttp_uri *evhttp_uri_parse(const char *source_uri);
1167 void evhttp_uri_free(struct evhttp_uri *uri);
1173 * of the evhttp_uri, so the generated string might not be a valid URI
1174 * unless the members of evhttp_uri are themselves valid.
1183 char *evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit);