• Home
  • Raw
  • Download

Lines Matching full:an

33   An evbuffer can be used for preparing data before sending it to
67 As the contents of an evbuffer can be stored in multiple different
90 An evbuffer is an opaque data type for efficiently buffering data to be
102 Pointer to a position within an evbuffer.
119 /** Describes a single extent of memory inside an evbuffer. Used for
140 @return a pointer to a newly allocated evbuffer struct, or NULL if an error
145 Deallocate storage for an evbuffer.
152 Enable locking on an evbuffer so that it can safely be used by multiple
159 @param buf An evbuffer to make lockable.
166 Acquire the lock on an evbuffer. Has no effect if locking was not enabled
172 Release the lock on an evbuffer. Has no effect if locking was not enabled
195 /** Change the flags that are set for an evbuffer by adding more.
203 /** Change the flags that are set for an evbuffer by removing some.
235 Expands the available space in an evbuffer.
242 @return 0 if successful, or -1 if an error occurred
247 Reserves space in the last chain or chains of an evbuffer.
249 Makes space available in the last chain or chains of an evbuffer that can
255 an initial pointer and a length. You can force the memory to be
262 It is an error to do anything that moves around the buffer's internal
272 @param vec an array of one or more evbuffer_iovec structures to
289 This function may return an error if the pointer in the extents do
308 Append data to the end of an evbuffer.
319 Read data from an evbuffer and drain the bytes read.
332 Read data from an evbuffer, and leave the buffer unchanged.
345 Read data from an evbuffer into another evbuffer, draining
363 /** Any sequence of CR and LF characters is acceptable as an
369 * the network and later read an LF from the network, it will
373 /** An EOL is an LF, optionally preceded by a CR. This style is
376 /** An EOL is a CR followed by an LF. */
378 /** An EOL is a LF. */
383 * Read a single line from an evbuffer.
385 * Reads a line terminated by an EOL as determined by the evbuffer_eol_style
394 * @return pointer to a single line, or NULL if an error occurred
407 @return 0 if successful, or -1 if an error occurred
414 A cleanup function for a piece of memory added to an evbuffer by
423 Reference memory into an evbuffer without copying.
435 @return 0 if successful, or -1 if an error occurred
459 @return 0 if successful, or -1 if an error occurred
466 Append a formatted string to the end of an evbuffer.
473 @return The number of bytes added if successful, or -1 if an error occurred.
484 Append a va_list formatted string to the end of an evbuffer.
489 @return The number of bytes added if successful, or -1 if an error occurred.
499 Remove a specified number of bytes data from the beginning of an evbuffer.
509 Write the contents of an evbuffer to a file descriptor.
515 @return the number of bytes written, or -1 if an error occurred
521 Write some of the contents of an evbuffer to a file descriptor.
529 @return the number of bytes written, or -1 if an error occurred
536 Read from a file descriptor and store the result in an evbuffer.
541 @return the number of bytes read, or -1 if an error occurred
547 Search for a string within an evbuffer.
560 Search for a string within part of an evbuffer.
576 Defines how to adjust an evbuffer_ptr by evbuffer_ptr_set()
580 /** Sets the pointer to the position; can be called on with an
604 Search for an end-of-line string within an evbuffer.
621 /** Function to peek at data inside an evbuffer without removing it or
637 @param start_at an evbuffer_ptr indicating the point at which we
640 @param vec_out an array of evbuffer_iovec
654 /** Structure passed to an evbuffer_cb_func evbuffer callback
669 removed from an evbuffer.
671 An evbuffer may have one or more callbacks set at a time. The order
680 other callbacks. If you ask for an infinite loop, you might just get
690 /** Add a new callback to an evbuffer.
698 @param cbarg an argument to be provided to the callback function
703 /** Remove a callback from an evbuffer, given a handle returned from
714 /** Remove a callback from an evbuffer, given the function and argument
772 Makes the data at the beginning of an evbuffer contiguous.
804 Prevent calls that modify an evbuffer from succeeding. A buffer may
819 Re-enable calls that modify an evbuffer.
830 Force all the callbacks on an evbuffer to be run, not immediately after