diff include/fdpair.h @ 17:2a24487453a7

implement twrtp_bind_fdpair()
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 00:02:44 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/fdpair.h	Sun Jul 07 00:02:44 2024 +0000
@@ -0,0 +1,10 @@
+/*
+ * 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);