Declaration of message. More...
Go to the source code of this file.
Functions | |
bool | message_append_data (struct message **m, array(char)) |
Append [more] raw data to an existing message. | |
bool | message_append_descriptors (struct message **m, array(int)) |
Append [more] descriptors to an existing message. | |
bool | message_append_channels (struct message **m, array(channelptr)) |
Append [more] raw data to an existing message. | |
struct message * | message_raw_data (char *data, size_t len) |
Build a message that only contains raw data. This copies the data. | |
array (char) message_get_data(struct message *) | |
Obtain a reference to the raw data contained in a message. | |
array (int) message_get_descriptors(struct message *) | |
Obtain a reference to any descriptors contained in a message. | |
size_t | message_get_channels (struct message *) |
How many channels does this message hold? | |
struct channel * | message_get_channel (struct message *, size_t) |
Retrieve a particular channel from the message. | |
void | message_free (struct message *) |
Free a message, including any data it has copied. |
Declaration of message.
Definition in file libchannel-message.h.