FreeCalypso > hg > themwi-rtp-lib
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 42:334d883b96ba | 43:8cdfef36d9db |
|---|---|
| 77 }; | 77 }; |
| 78 | 78 |
| 79 /* public API functions */ | 79 /* public API functions */ |
| 80 | 80 |
| 81 struct twrtp_endp *twrtp_endp_create(void *ctx, | 81 struct twrtp_endp *twrtp_endp_create(void *ctx, |
| 82 struct twrtp_jibuf_config *config); | 82 const struct twrtp_jibuf_config *config); |
| 83 void twrtp_endp_destroy(struct twrtp_endp *endp); | 83 void twrtp_endp_destroy(struct twrtp_endp *endp); |
| 84 | 84 |
| 85 int twrtp_endp_register_fds(struct twrtp_endp *endp); | 85 int twrtp_endp_register_fds(struct twrtp_endp *endp); |
| 86 int twrtp_endp_bind_ip_port(struct twrtp_endp *endp, const char *ip, | 86 int twrtp_endp_bind_ip_port(struct twrtp_endp *endp, const char *ip, |
| 87 uint16_t port); | 87 uint16_t port); |
