diff include/endp.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 8f1700a42ca5
children
line wrap: on
line diff
--- a/include/endp.h	Fri Dec 20 22:47:20 2024 +0000
+++ b/include/endp.h	Fri Dec 20 23:01:06 2024 +0000
@@ -79,7 +79,7 @@
 /* public API functions */
 
 struct twrtp_endp *twrtp_endp_create(void *ctx,
-				     struct twrtp_jibuf_config *config);
+				     const struct twrtp_jibuf_config *config);
 void twrtp_endp_destroy(struct twrtp_endp *endp);
 
 int twrtp_endp_register_fds(struct twrtp_endp *endp);