libeXosip2  4.1.0
Enumerations | Functions
eX_subscribe.h File Reference

eXosip subscribe request API More...

#include <osipparser2/osip_parser.h>
#include <time.h>


enum  eXosip_ss {
enum  eXosip_ss_reason {
enum  eXosip_ss_status {


int eXosip_subscribe_build_initial_request (struct eXosip_t *excontext, osip_message_t **subscribe, const char *to, const char *from, const char *route, const char *event, int expires)
int eXosip_subscribe_send_initial_request (struct eXosip_t *excontext, osip_message_t *subscribe)
int eXosip_subscribe_build_refresh_request (struct eXosip_t *excontext, int did, osip_message_t **sub)
int eXosip_subscribe_send_refresh_request (struct eXosip_t *excontext, int did, osip_message_t *sub)
int eXosip_subscribe_remove (struct eXosip_t *excontext, int did)
int eXosip_insubscription_build_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t **answer)
int eXosip_insubscription_send_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t *answer)
int eXosip_insubscription_build_request (struct eXosip_t *excontext, int did, const char *method, osip_message_t **request)
int eXosip_insubscription_build_notify (struct eXosip_t *excontext, int did, int subscription_status, int subscription_reason, osip_message_t **request)
int eXosip_insubscription_send_request (struct eXosip_t *excontext, int did, osip_message_t *request)
int eXosip_insubscription_remove (struct eXosip_t *excontext, int did)

Detailed Description

eXosip subscribe request API

This file provide the API needed to control SUBSCRIBE requests. You can use it to: