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

Function xmpp_server_net_send

modules/xmpp/xmpp_server.c:419–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void xmpp_server_net_send(struct xmpp_pipe_cmd *cmd)
420{
421 LM_DBG("got pipe cmd %d\n", cmd->type);
422 switch (cmd->type) {
423 case XMPP_PIPE_SEND_MESSAGE:
424 do_send_message_server(cmd);
425 break;
426 case XMPP_PIPE_SEND_PACKET:
427 case XMPP_PIPE_SEND_PSUBSCRIBE:
428 case XMPP_PIPE_SEND_PNOTIFY:
429 break;
430 }
431 xmpp_free_pipe_cmd(cmd);
432}
433
434int xmpp_server_child_process(int data_pipe)
435{

Callers 2

xmpp_send_pipe_cmdFunction · 0.85

Calls 2

do_send_message_serverFunction · 0.85
xmpp_free_pipe_cmdFunction · 0.85

Tested by

no test coverage detected