Lines Matching +full:multiple +full:- +full:amp
2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
91 * Can be called multiple times to bind the same http server
92 * to multiple different ports.
97 * @return 0 on success, -1 on failure.
120 * This may be useful to create a socket and then fork multiple instances
123 * permissions to bind to a low-numbered port.
125 * Can be called multiple times to have the http server listen to
126 * multiple different sockets.
130 * @return 0 on success, -1 on failure.
150 * The most low-level evhttp_bind/accept method: takes an evconnlistener, and
226 Set the value to use for the Content-Type header when none was provided. If
227 the content type string is NULL, the Content-Type header will not be
231 @param content_type the value for the Content-Type header
258 @return 0 on success, -1 if the callback existed already, -2 on failure
287 You can use this to override the default bufferevent type -- for example,
320 @return 0 on success, -1 on failure
332 @return 0 on success, -1 on failure
421 /* Low-level response interface, for streaming/chunked replies */
424 Initiate a reply that uses Transfer-Encoding chunked.
516 * socket-based bufferevent will be created. This buffrevent will be freed
664 /* Padding for public flags, @see EVHTTP_CON_* in http-internal.h */
753 /** Sets the retry limit for this connection - -1 repeats indefinitely */
788 @return 0 on success, -1 on failure
813 * A structure to hold a parsed URI or Relative-Ref conforming to RFC3986.
871 @returns 0 if the header was removed, -1 otherwise.
883 @returns 0 on success, -1 otherwise.
902 characters are replaced by their hex-escaped (%22) equivalents,
903 except for characters explicitly unreserved by RFC3986 -- that is,
909 @return a newly allocated URI-encoded string or NULL on failure
917 may contain 0-valued bytes.
922 @param size the length of the string to encode, or -1 if the string
923 is NUL-terminated
926 @return a newly allocate URI-encoded string, or NULL on failure.
932 Helper function to sort of decode a URI-encoded string. Unlike
949 Helper function to decode a URI-escaped string or HTTP parameter.
957 @param uri a URI-encode encoded URI
984 @return 0 on success, -1 on failure
1004 @return 0 on success, -1 on failure
1013 * ' and & correspondingly.
1037 * been set and the evhttp_uri contains a Relative-Ref. */
1050 * bracketed IPv6 address, or a bracketed 'IP-Future' address.
1053 * section, but having an empty-string host means that the URI has an
1060 /** Return the port part of an evhttp_uri, or -1 if there is no port set. */
1076 * Returns 0 on success, -1 if scheme is not well-formed. */
1080 * Returns 0 on success, -1 if userinfo is not well-formed. */
1084 * Returns 0 on success, -1 if host is not well-formed. */
1087 /** Set the port of an evhttp_uri, or clear the port if port==-1.
1088 * Returns 0 on success, -1 if port is not well-formed. */
1092 * Returns 0 on success, -1 if path is not well-formed. */
1097 * Returns 0 on success, -1 if query is not well-formed. */
1102 * Returns 0 on success, -1 if fragment is not well-formed. */
1107 * Helper function to parse a URI-Reference as specified by RFC3986.
1109 * This function matches the URI-Reference production from RFC3986,
1114 * and relative-refs like
1120 * specified, the port is set to -1.
1122 * Note that no decoding is performed on percent-escaped characters in
1128 * mailto://www.example.com/cgi-bin/fortune.pl is not a reasonable
1173 * Join together the uri parts from parsed data to form a URI-Reference.