Skip to content

Commit f012414

Browse files
committed
feat: expose juice_mux_stop_listen function
This is a follow-up to paullouisageneau#248 that just adds the `juice_mux_stop_listen` function to `juice.h` in order to invoke it from libdatachannel.
1 parent 2fb91a3 commit f012414

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/juice/juice.h

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ JUICE_EXPORT int juice_get_selected_addresses(juice_agent_t *agent, char *local,
132132
JUICE_EXPORT int juice_set_local_ice_attributes(juice_agent_t *agent, const char *ufrag, const char *pwd);
133133
JUICE_EXPORT const char *juice_state_to_string(juice_state_t state);
134134
JUICE_EXPORT int juice_mux_listen(const char *bind_address, int local_port, juice_cb_mux_incoming_t cb, void *user_ptr);
135+
JUICE_EXPORT int juice_mux_stop_listen(const char *bind_address, int local_port);
135136

136137
// ICE server
137138

0 commit comments

Comments
 (0)