network.c File Reference

Kamailio XMPP module. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "../../sr_module.h"

Include dependency graph for network.c:

Go to the source code of this file.

Functions

int net_connect (char *server, int port)
int net_listen (char *server, int port)
int net_printf (int fd, char *format,...)
char * net_read_static (int fd)
int net_send (int fd, const char *buf, int len)


Detailed Description

Kamailio XMPP module.

Definition in file network.c.


Function Documentation

int net_connect ( char *  server,
int  port 
)

Definition at line 94 of file network.c.

References LM_DBG, and LM_ERR.

Referenced by xmpp_component_child_process(), and xmpp_server_child_process().

int net_listen ( char *  server,
int  port 
)

Definition at line 45 of file network.c.

References LM_DBG, LM_ERR, and LM_WARN.

Referenced by xmpp_server_child_process().

int net_printf ( int  fd,
char *  format,
  ... 
)

char* net_read_static ( int  fd  ) 

Definition at line 163 of file network.c.

References buf, LM_ERR, and NULL.

Referenced by xmpp_component_child_process(), and xmpp_server_child_process().

int net_send ( int  fd,
const char *  buf,
int  len 
)

Definition at line 133 of file network.c.

Referenced by do_send_bulk_message_component(), net_printf(), and xode_send().


Generated on Wed May 23 20:00:41 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6