MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / free_rtpp_notify

Function free_rtpp_notify

modules/rtpproxy/notification_process.c:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62OSIPS_LIST_HEAD(rtpp_notify_fds);
63
64static void free_rtpp_notify(int fd, struct rtpp_notify *notify)
65{
66 reactor_proc_del_fd(fd, -1, IO_FD_CLOSING);
67 if (notify) {
68 if (notify->linked)
69 list_del(&notify->list);
70 if (notify->remaining)
71 pkg_free(notify->remaining);
72 pkg_free(notify);
73 }
74 shutdown(fd, SHUT_RDWR);
75 close(fd);
76}
77
78static int set_nonblocking(int fd)
79{

Callers 1

rtpproxy_io_callbackFunction · 0.85

Calls 2

reactor_proc_del_fdFunction · 0.85
list_delFunction · 0.85

Tested by

no test coverage detected