libamsip  5.2.1
Functions
am_event.h File Reference

amsip event API More...

#include <amsip/am_version.h>
#include <osipparser2/osip_port.h>

Functions

void am_log (int level, const char *chfr,...)
 
void am_trace (const char *fi, int li, int level, const char *chfr,...)
 
int am_event_get (eXosip_event_t *evt)
 
int am_event_wait (eXosip_event_t *evt, int tv_s, int tv_ms)
 
void am_event_release (eXosip_event_t *evt)
 
int am_message_get_header (osip_message_t *msg, char *header, am_header_t *value)
 
int am_message_get_bodyinfo (osip_message_t *msg, int attachemnt_index, am_bodyinfo_t *bodyinfo)
 
int am_message_release_bodyinfo (am_bodyinfo_t *bodyinfo)
 
int am_message_get_messageinfo (osip_message_t *msg, am_messageinfo_t *value)
 
int am_message_add_header_to_uri (const char *uri, const char *header_name, const char *header_value, char *dest_uri, int dest_size)
 
int am_message_get_audio_rtpdirection (osip_message_t *msg)
 
int am_message_get_video_rtpdirection (osip_message_t *msg)
 
int am_message_set_body (osip_message_t *msg, const char *ctt, const char *body, int body_size)
 
int am_message_set_header (osip_message_t *sip, const char *hname, const char *hvalue)
 
int am_helper_get_nameaddr_info (const char *nameaddr, am_nameaddress_t *value)
 

Detailed Description

amsip event API

This file provide the API needed to get events from amsip.