Implementation of platform-portable parts. More...
#include "libchannel.h"
#include "libchannel-internal.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | channel_size (channel *c) |
How many bytes does a particular channel take to store? | |
channel * | channel_wrap_socket (int sock) |
Create a channel that wraps a UNIX domain socket. | |
bool | channel_isvalid (channel *c) |
Tests the validity of a pointer that claims to be a channel. | |
void | channel_destroy (channel *c) |
Free a channel. | |
int | channel_send (struct channel *c, struct message *m) |
Send data and/or capabilities over a channel. |
Implementation of platform-portable parts.
Definition in file libchannel.c.