resource_notify.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <libxml/parser.h>
#include "../../parser/parse_content.h"
#include "../../parser/parse_from.h"
#include "../../cmpapi.h"
#include "../pua/hash.h"
#include "rls.h"
#include "notify.h"
#include "resource_notify.h"

Include dependency graph for resource_notify.c:

Go to the source code of this file.

Defines

#define CONT_COPY(buf, dest, source)
#define CONT_COPY_1

Functions

int parse_rlsubs_did (char *str_did, str *callid, str *from_tag, str *to_tag)
int parse_subs_state (str auth_state, str **reason, int *expires)
int rls_handle_notify (struct sip_msg *msg, char *c1, char *c2)
void rls_presentity_clean (unsigned int ticks, void *param)
void timer_send_notify (unsigned int ticks, void *param)

Variables

static str su_200_rpl = str_init("OK")


Define Documentation

#define CONT_COPY ( buf,
dest,
source   ) 

Value:

dest.s= (char*)buf+ size;\
   memcpy(dest.s, source.s, source.len);\
   dest.len= source.len;\
   size+= source.len;

Definition at line 49 of file resource_notify.c.

#define CONT_COPY_1

Value:

(buf, dest_s, dest_len, source_s, source_len)\
   dest_s= (char*)buf+ size;\
   memcpy(dest_s, source_s, source_len);\
   dest_len= source_len;\
   size+= source_len;

Definition at line 56 of file resource_notify.c.


Function Documentation

int parse_rlsubs_did ( char *  str_did,
str callid,
str from_tag,
str to_tag 
)

Definition at line 415 of file resource_notify.c.

References DID_SEP, DID_SEP_LEN, _str::len, LM_ERR, NULL, and _str::s.

Referenced by timer_send_notify().

int parse_subs_state ( str  auth_state,
str **  reason,
int *  expires 
)

int rls_handle_notify ( struct sip_msg msg,
char *  c1,
char *  c2 
)

void rls_presentity_clean ( unsigned int  ticks,
void *  param 
)

void timer_send_notify ( unsigned int  ticks,
void *  param 
)


Variable Documentation

str su_200_rpl = str_init("OK") [static]

Definition at line 47 of file resource_notify.c.


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