Poster of Linux kernelThe best gift for a Linux geek
eX_subscribe.h

eX_subscribe.h

Section: libeXosip2 (3) Updated: Tue Sep 21 2010
Local index Up
 

NAME

eX_subscribe.h -

eXosip subscribe request API

 

SYNOPSIS


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

 

Enumerations


enum eXosip_ss { EXOSIP_SUBCRSTATE_UNKNOWN, EXOSIP_SUBCRSTATE_PENDING, EXOSIP_SUBCRSTATE_ACTIVE, EXOSIP_SUBCRSTATE_TERMINATED }

enum eXosip_ss_reason { DEACTIVATED, PROBATION, REJECTED, TIMEOUT, GIVEUP, NORESOURCE }

enum eXosip_ss_status { EXOSIP_NOTIFY_UNKNOWN, EXOSIP_NOTIFY_PENDING, EXOSIP_NOTIFY_ONLINE, EXOSIP_NOTIFY_BUSY, EXOSIP_NOTIFY_BERIGHTBACK, EXOSIP_NOTIFY_AWAY, EXOSIP_NOTIFY_ONTHEPHONE, EXOSIP_NOTIFY_OUTTOLUNCH, EXOSIP_NOTIFY_CLOSED }
 

Functions


int eXosip_subscribe_build_initial_request (osip_message_t **subscribe, const char *to, const char *from, const char *route, const char *event, int expires)

int eXosip_subscribe_send_initial_request (osip_message_t *subscribe)

int eXosip_subscribe_build_refresh_request (int did, osip_message_t **sub)

int eXosip_subscribe_send_refresh_request (int did, osip_message_t *sub)

int eXosip_subscribe_remove (int did)

int eXosip_insubscription_build_answer (int tid, int status, osip_message_t **answer)

int eXosip_insubscription_send_answer (int tid, int status, osip_message_t *answer)

int eXosip_insubscription_build_request (int did, const char *method, osip_message_t **request)

int eXosip_insubscription_build_notify (int did, int subscription_status, int subscription_reason, osip_message_t **request)

int eXosip_insubscription_send_request (int did, osip_message_t *request)

int eXosip_insubscription_remove (int did)
 

Detailed Description

eXosip subscribe request API

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

build SUBSCRIBE requests.
send SUBSCRIBE requests.
build SUBSCRIBE answers.
send SUBSCRIBE answers.

 

Author

Generated automatically by Doxygen for libeXosip2 from the source code.


 

Index

NAME
SYNOPSIS
Enumerations
Functions
Detailed Description
Author

This document was created by man2html, using the manual pages.
Time: 21:45:54 GMT, April 16, 2011