utils_func.h File Reference

Kamailio presence module :: Utility functions utils_func.c. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../str.h"
#include "../../parser/msg_parser.h"

Include dependency graph for utils_func.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BAD_EVENT_CODE   489
#define LCONTACT_BUF_SIZE   1024

Functions

int a_to_i (char *s, int len)
static strget_local_contact (struct sip_msg *msg)
int send_error_reply (struct sip_msg *msg, int reply_code, str reply_str)
void to64frombits (unsigned char *out, const unsigned char *in, int inlen)
static int uandd_to_uri (str user, str domain, str *out)


Detailed Description

Kamailio presence module :: Utility functions utils_func.c.

Definition in file utils_func.h.


Define Documentation

#define BAD_EVENT_CODE   489

Definition at line 48 of file utils_func.h.

Referenced by handle_publish(), handle_subscribe(), and send_error_reply().

#define LCONTACT_BUF_SIZE   1024

Definition at line 47 of file utils_func.h.

Referenced by get_local_contact().


Function Documentation

int a_to_i ( char *  s,
int  len 
)

Definition at line 93 of file utils_func.c.

static str* get_local_contact ( struct sip_msg msg  )  [inline, static]

int send_error_reply ( struct sip_msg msg,
int  reply_code,
str  reply_str 
)

void to64frombits ( unsigned char *  out,
const unsigned char *  in,
int  inlen 
)

Definition at line 64 of file utils_func.c.

References base64digits.

Referenced by add_waiting_watchers().

static int uandd_to_uri ( str  user,
str  domain,
str out 
) [inline, static]


Generated on Thu May 24 22:00:46 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6