utils_func.c File Reference

Kamailio presence module :: Utilities. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../../data_lump_rpl.h"
#include "utils_func.h"
#include "event_list.h"
#include "presence.h"

Include dependency graph for utils_func.c:

Go to the source code of this file.

Defines

#define BAD   -1
#define DECODE64(c)   (isascii(c) ? base64val[c] : BAD)

Functions

int a_to_i (char *s, int len)
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)

Variables

static const char base64digits []
static const char base64val []


Detailed Description

Kamailio presence module :: Utilities.

Definition in file utils_func.c.


Define Documentation

#define BAD   -1

Definition at line 51 of file utils_func.c.

#define DECODE64 (  )     (isascii(c) ? base64val[c] : BAD)

Definition at line 62 of file utils_func.c.


Function Documentation

int a_to_i ( char *  s,
int  len 
)

Definition at line 93 of file utils_func.c.

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().


Variable Documentation

const char base64digits[] [static]

Initial value:

"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Definition at line 48 of file utils_func.c.

Referenced by to64frombits().

const char base64val[] [static]

Definition at line 52 of file utils_func.c.


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