view librtpalloc/rtpmgr_resp.h @ 9:ff535725e01f

g711-tone-detect program written
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Mar 2024 00:05:44 -0800
parents 35c0d9f03c0a
children
line wrap: on
line source

/*
 * The structure defined in this header file is returned by the
 * collect_rtpmgr_resp() function, which is a wrapper around
 * the mess of recvmsg with file descriptor passing.
 */

struct rtp_alloc_resp_wrap {
	struct rtp_alloc_resp resp;
	unsigned	resp_len;
	int		fd_buf[4];
	unsigned	num_fd;
};