FreeCalypso > hg > themwi-rtp-mgr
view include/rtp_alloc_resp.h @ 8:7e2b24fc097b
add README and INSTALL
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2024 22:09:00 +0000 |
parents | 60b512a868b4 |
children |
line wrap: on
line source
/* * This header file declares the interface to the librtpalloc module * that provides a wrapper around the recvmsg(2) call retrieving * the response "packet" (structure plus UNIX access rights passing) * from themwi-rtp-mgr. */ #pragma once #include <themwi/rtp/rtp_alloc_if.h> struct rtp_alloc_resp_wrap { struct rtp_alloc_resp resp; unsigned resp_len; int fd_buf[4]; unsigned num_fd; }; int collect_rtpmgr_resp(int ctrl_fd, int recv_flags, struct rtp_alloc_resp_wrap *out);