xcap_functions.h File Reference

#include "xcap_callbacks.h"

Include dependency graph for xcap_functions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  att_test
struct  ns_list
struct  step
struct  xcap_api
struct  xcap_doc_sel
struct  xcap_get_req
struct  xcap_node_sel

Defines

#define GLOBAL_TYPE   2
#define IF_MATCH   1
#define IF_NONE_MATCH   2
#define INTEGRATED_SERVER   0
#define USERS_TYPE   1
#define XCAP_CL_MOD   1

Typedefs

typedef struct att_test attr_test_t
typedef int(* bind_xcap_t )(xcap_api_t *api)
typedef struct ns_list ns_list_t
typedef struct step step_t
typedef struct xcap_api xcap_api_t
typedef struct xcap_doc_sel xcap_doc_sel_t
typedef char *(* xcap_get_elem_t )(xcap_get_req_t req, char **etag)
typedef struct xcap_get_req xcap_get_req_t
typedef struct xcap_node_sel xcap_node_sel_t
typedef xcap_node_sel_t *(* xcap_nodeSel_add_step_t )(xcap_node_sel_t *curr_sel, str *name, str *namespace, int pos, attr_test_t *attr_test, str *extra_sel)
typedef xcap_node_sel_t *(* xcap_nodeSel_add_terminal_t )(xcap_node_sel_t *curr_sel, char *attr_sel, char *namespace_sel, char *extra_sel)
typedef void(* xcap_nodeSel_free_t )(xcap_node_sel_t *node)
typedef xcap_node_sel_t *(* xcap_nodeSel_init_t )(void)
typedef char *(* xcapGetNewDoc_t )(xcap_get_req_t req, str user, str domain)

Functions

int bind_xcap (xcap_api_t *api)
char * send_http_get (char *path, unsigned int xcap_port, char *match_etag, int match_type, char **etag)
void xcapFreeNodeSel (xcap_node_sel_t *node)
char * xcapGetElem (xcap_get_req_t req, char **etag)
char * xcapGetNewDoc (xcap_get_req_t req, str user, str domain)
xcap_node_sel_txcapInitNodeSel (void)
xcap_node_sel_txcapNodeSelAddStep (xcap_node_sel_t *curr_sel, str *name, str *namespace, int pos, attr_test_t *attr_test, str *extra_sel)
xcap_node_sel_txcapNodeSelAddTerminal (xcap_node_sel_t *curr_sel, char *attr_sel, char *namespace_sel, char *extra_sel)


Define Documentation

#define GLOBAL_TYPE   2

Definition at line 35 of file xcap_functions.h.

Referenced by parse_doc_url().

#define IF_MATCH   1

Definition at line 37 of file xcap_functions.h.

Referenced by send_http_get().

#define IF_NONE_MATCH   2

Definition at line 38 of file xcap_functions.h.

Referenced by get_resource_list(), and query_xcap_update().

#define INTEGRATED_SERVER   0

Definition at line 43 of file xcap_functions.h.

#define USERS_TYPE   1

#define XCAP_CL_MOD   1

Definition at line 44 of file xcap_functions.h.

Referenced by query_xcap_update(), and xcapGetNewDoc().


Typedef Documentation

typedef struct att_test attr_test_t

typedef int(* bind_xcap_t)(xcap_api_t *api)

Definition at line 137 of file xcap_functions.h.

typedef struct ns_list ns_list_t

typedef struct step step_t

typedef struct xcap_api xcap_api_t

typedef struct xcap_doc_sel xcap_doc_sel_t

typedef char*(* xcap_get_elem_t)(xcap_get_req_t req, char **etag)

Definition at line 114 of file xcap_functions.h.

typedef struct xcap_get_req xcap_get_req_t

typedef xcap_node_sel_t*(* xcap_nodeSel_add_step_t)(xcap_node_sel_t *curr_sel, str *name, str *namespace, int pos, attr_test_t *attr_test, str *extra_sel)

Definition at line 102 of file xcap_functions.h.

typedef xcap_node_sel_t*(* xcap_nodeSel_add_terminal_t)(xcap_node_sel_t *curr_sel, char *attr_sel, char *namespace_sel, char *extra_sel)

Definition at line 108 of file xcap_functions.h.

Definition at line 118 of file xcap_functions.h.

Definition at line 97 of file xcap_functions.h.

typedef char*(* xcapGetNewDoc_t)(xcap_get_req_t req, str user, str domain)

Definition at line 123 of file xcap_functions.h.


Function Documentation

int bind_xcap ( xcap_api_t api  ) 

char* send_http_get ( char *  path,
unsigned int  xcap_port,
char *  match_etag,
int  match_type,
char **  etag 
)

void xcapFreeNodeSel ( xcap_node_sel_t node  ) 

char* xcapGetElem ( xcap_get_req_t  req,
char **  etag 
)

char* xcapGetNewDoc ( xcap_get_req_t  req,
str  user,
str  domain 
)

xcap_node_sel_t* xcapInitNodeSel ( void   ) 

xcap_node_sel_t* xcapNodeSelAddStep ( xcap_node_sel_t curr_sel,
str name,
str namespace,
int  pos,
attr_test_t attr_test,
str extra_sel 
)

xcap_node_sel_t* xcapNodeSelAddTerminal ( xcap_node_sel_t curr_sel,
char *  attr_sel,
char *  namespace_sel,
char *  extra_sel 
)

Definition at line 254 of file xcap_functions.c.

References NULL.

Referenced by bind_xcap().


Generated on Fri May 25 00:00:45 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6