MediaProcessors
|
#include <comm.h>
Public Attributes | |
char * | scheme |
comm_ctx_t *(* | open )(const char *url, const char *local_url, comm_mode_t comm_mode, log_ctx_t *log_ctx, va_list arg) |
void(* | close )(comm_ctx_t **ref_comm_ctx) |
int(* | send )(comm_ctx_t *comm_ctx, const void *buf, size_t count, struct timeval *timeout) |
int(* | recv )(comm_ctx_t *comm_ctx, void **ref_buf, size_t *ref_count, char **ref_from, struct timeval *timeout) |
int(* | unblock )(comm_ctx_t *comm_ctx) |
Communication protocol interface structure prototype. Each specific communication module implementation will define a static and unambiguous interface of this type.