parse_fline.h File Reference

SIP first line parsing automaton. More...

#include "../str.h"

Include dependency graph for parse_fline.h:

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

Go to the source code of this file.

Data Structures

struct  msg_start

Defines

#define ACK   "ACK"
#define ACK_LEN   3
#define BYE   "BYE"
#define BYE_LEN   3
#define CANCEL   "CANCEL"
#define CANCEL_LEN   6
#define INFO   "INFO"
#define INFO_LEN   4
#define INVITE   "INVITE"
#define INVITE_LEN   6
#define SIP_INVALID   0
#define SIP_REPLY   2
#define SIP_REQUEST   1
#define SIP_VERSION   "SIP/2.0"
#define SIP_VERSION_LEN   7

Functions

char * parse_first_line (char *buffer, unsigned int len, struct msg_start *fl)
char * parse_fline (char *buffer, char *end, struct msg_start *fl)


Detailed Description

SIP first line parsing automaton.

Definition in file parse_fline.h.


Define Documentation

#define ACK   "ACK"

Definition at line 48 of file parse_fline.h.

Referenced by build_dlg_ack(), parse_first_line(), and send_ack().

#define ACK_LEN   3

Definition at line 54 of file parse_fline.h.

Referenced by build_dlg_ack(), build_local(), and send_ack().

#define BYE   "BYE"

Definition at line 49 of file parse_fline.h.

Referenced by parse_first_line().

#define BYE_LEN   3

Definition at line 55 of file parse_fline.h.

#define CANCEL   "CANCEL"

Definition at line 47 of file parse_fline.h.

Referenced by build_cancel(), build_uac_cancel(), and parse_first_line().

#define CANCEL_LEN   6

Definition at line 53 of file parse_fline.h.

Referenced by build_cancel(), and build_uac_cancel().

#define INFO   "INFO"

Definition at line 50 of file parse_fline.h.

Referenced by parse_first_line().

#define INFO_LEN   4

Definition at line 56 of file parse_fline.h.

#define INVITE   "INVITE"

Definition at line 46 of file parse_fline.h.

Referenced by parse_first_line(), t_lookup_callid(), and t_uac().

#define INVITE_LEN   6

Definition at line 52 of file parse_fline.h.

Referenced by t_lookup_callid(), and t_uac().

#define SIP_INVALID   0

Invalid message

Definition at line 41 of file parse_fline.h.

Referenced by parse_first_line(), and parse_msg().

#define SIP_REPLY   2

#define SIP_REQUEST   1

#define SIP_VERSION   "SIP/2.0"

#define SIP_VERSION_LEN   7


Function Documentation

char* parse_first_line ( char *  buffer,
unsigned int  len,
struct msg_start fl 
)

char* parse_fline ( char *  buffer,
char *  end,
struct msg_start fl 
)


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