sl_api.h File Reference

SL :: API

More...

#include "../../sr_module.h"
#include "../../dprint.h"

Include dependency graph for sl_api.h:

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

Go to the source code of this file.

Data Structures

struct  sl_binds

Typedefs

typedef int(* get_reply_totag_f )(struct sip_msg *msg, str *tag)
typedef int(* load_sl_f )(struct sl_binds *slb)
typedef int(* send_reply_f )(struct sip_msg *msg, int code, str *reason)
typedef int(* sl_get_reply_totag_f )(struct sip_msg *msg, str *tag)
typedef int(* sl_send_reply_dlg_f )(struct sip_msg *msg, int code, str *reason, str *tag)
typedef int(* sl_send_reply_f )(struct sip_msg *msg, int code, str *reason)

Functions

int load_sl (struct sl_binds *slb)
 Helper function for loading the SL API.
static int load_sl_api (struct sl_binds *slb)
 Load the SL API.


Detailed Description

SL :: API

Definition in file sl_api.h.


Typedef Documentation

typedef int(* get_reply_totag_f)(struct sip_msg *msg, str *tag)

Definition at line 36 of file sl_api.h.

typedef int(* load_sl_f)(struct sl_binds *slb)

Definition at line 52 of file sl_api.h.

typedef int(* send_reply_f)(struct sip_msg *msg, int code, str *reason)

Definition at line 37 of file sl_api.h.

typedef int(* sl_get_reply_totag_f)(struct sip_msg *msg, str *tag)

Definition at line 38 of file sl_api.h.

typedef int(* sl_send_reply_dlg_f)(struct sip_msg *msg, int code, str *reason, str *tag)

Definition at line 40 of file sl_api.h.

typedef int(* sl_send_reply_f)(struct sip_msg *msg, int code, str *reason)

Definition at line 39 of file sl_api.h.


Function Documentation

int load_sl ( struct sl_binds slb  ) 

Helper function for loading the SL API.

Parameters:
slb sl_bind structure
Returns:
-1 on parameter errors, 1 otherwise

Definition at line 357 of file sl.c.

References get_reply_totag(), sl_binds::get_reply_totag, NULL, sl_binds::reply, sl_binds::reply_dlg, send_reply(), sl_binds::send_reply, sl_get_reply_totag(), sl_binds::sl_get_reply_totag, sl_send_reply(), and sl_send_reply_dlg().

Referenced by load_sl_api().

static int load_sl_api ( struct sl_binds slb  )  [inline, static]

Load the SL API.

Definition at line 59 of file sl_api.h.

References find_export(), LM_ERR, and load_sl().

Referenced by cpl_init(), and mod_init().


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