view include/fdpair.h @ 43:8cdfef36d9db default tip

twrtp_endp_create: make config argument const This argument is passed through to twrtp_jibuf_create(). We made it const in the latter function, now do the same with the wrapper.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 23:01:06 +0000
parents 2a24487453a7
children
line wrap: on
line source

/*
 * This header file provides API declaration for twrtp_bind_fdpair()
 * standalone function.
 */

#pragma once

#include <stdint.h>

int twrtp_bind_fdpair(const char *ip, uint16_t port, int *fd_rtp, int *fd_rtcp);