FreeCalypso > hg > themwi-system-sw
diff librtpalloc/rtpmgr_resp.h @ 184:f8c40090a0a8
librtpalloc: new library for talking to themwi-rtp-mgr
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Mar 2023 23:48:14 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/librtpalloc/rtpmgr_resp.h Sat Mar 11 23:48:14 2023 -0800 @@ -0,0 +1,12 @@ +/* + * 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; +};