Functions | |
IOBuf * | aws_iobuf_new () |
Create a new I/O buffer. | |
void | aws_iobuf_append (IOBuf *B, char *d, int len) |
Append data to I/O buffer. | |
int | aws_iobuf_getline (IOBuf *B, char *Line, int size) |
Read the next line from the buffer. | |
void | aws_iobuf_free (IOBuf *bf) |
Release IO Buffer. |
void aws_iobuf_append | ( | IOBuf * | B, | |
char * | d, | |||
int | len | |||
) |
Append data to I/O buffer.
B | I/O buffer | |
d | pointer to the data to be appended | |
len | length of the data to be appended |
Definition at line 1114 of file aws4c.c.
References IOBufNode::buf, current, first, len, IOBufNode::next, and pos.
Referenced by main(), sqs_get_message(), sqs_list_queues(), and writefunc().
void aws_iobuf_free | ( | IOBuf * | bf | ) |
Release IO Buffer.
bf | I/O buffer to be deleted |
Release Things
Walk down the list and release blocks
Definition at line 1173 of file aws4c.c.
References eTag, first, lastMod, IOBufNode::next, and result.
Referenced by main(), sqs_get_message(), and sqs_list_queues().
int aws_iobuf_getline | ( | IOBuf * | B, | |
char * | Line, | |||
int | size | |||
) |
Read the next line from the buffer.
B | I/O buffer | |
Line | character array to store the read line in | |
size | size of the character array Line |
Definition at line 1144 of file aws4c.c.
References IOBufNode::buf, current, len, IOBufNode::next, and pos.
Referenced by DumpResult(), main(), readfunc(), sqs_get_message(), sqs_get_queueattributes(), and sqs_list_queues().
IOBuf* aws_iobuf_new | ( | ) |
Generated by Doxygen