opensips  3.0.1
About: OpenSIPS is a multi-functional, multi-purpose signaling SIP Server (Session Initiation Protocol). It can act as SIP Router/Switch, SIP Registrar, Application Server, Redirect Server, Load Balancer / Dispatcher, Back-to-Back User Agent, Presence Server, IM Server, Session Border Controller, SIP Front-End, NAT traversal Server, IP Gateway (SMS, XMPP) and others.
  Fossies Dox: opensips-3.0.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

encode_uri.h File Reference
#include "../../str.h"
#include "../../parser/msg_parser.h"
Include dependency graph for encode_uri.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIP_OR_TEL_F   0x01
 
#define SECURE_F   0x02
 
#define USER_F   0x04
 
#define PASSWORD_F   0x08
 
#define HOST_F   0x10
 
#define PORT_F   0x20
 
#define PARAMETERS_F   0x40
 
#define HEADERS_F   0x80
 
#define TRANSPORT_F   0x01
 
#define TTL_F   0x02
 
#define USER_F   0x04
 
#define METHOD_F   0x08
 
#define MADDR_F   0x10
 
#define LR_F   0x20
 
#define MAX_XURI_LEN   23
 

Functions

int encode_uri2 (char *hdr, int hdrlen, str uri_str, struct sip_uri *uri_parsed, unsigned char *where)
 
int print_encoded_uri (FILE *fp, unsigned char *payload, int paylen, char *hdr, int hdrlen, char *prefix)
 
int print_uri_junit_tests (char *hdrstart, int hdrlen, unsigned char *payload, int paylen, int fd, char also_hdr, char *prefix)
 

Macro Definition Documentation

◆ HEADERS_F

#define HEADERS_F   0x80

Definition at line 31 of file encode_uri.h.

◆ HOST_F

#define HOST_F   0x10

Definition at line 28 of file encode_uri.h.

◆ LR_F

#define LR_F   0x20

Definition at line 38 of file encode_uri.h.

◆ MADDR_F

#define MADDR_F   0x10

Definition at line 37 of file encode_uri.h.

◆ MAX_XURI_LEN

#define MAX_XURI_LEN   23

Definition at line 40 of file encode_uri.h.

◆ METHOD_F

#define METHOD_F   0x08

Definition at line 36 of file encode_uri.h.

◆ PARAMETERS_F

#define PARAMETERS_F   0x40

Definition at line 30 of file encode_uri.h.

◆ PASSWORD_F

#define PASSWORD_F   0x08

Definition at line 27 of file encode_uri.h.

◆ PORT_F

#define PORT_F   0x20

Definition at line 29 of file encode_uri.h.

◆ SECURE_F

#define SECURE_F   0x02

Definition at line 25 of file encode_uri.h.

◆ SIP_OR_TEL_F

#define SIP_OR_TEL_F   0x01

Definition at line 24 of file encode_uri.h.

◆ TRANSPORT_F

#define TRANSPORT_F   0x01

Definition at line 33 of file encode_uri.h.

◆ TTL_F

#define TTL_F   0x02

Definition at line 34 of file encode_uri.h.

◆ USER_F [1/2]

#define USER_F   0x04

Definition at line 35 of file encode_uri.h.

◆ USER_F [2/2]

#define USER_F   0x04

Definition at line 35 of file encode_uri.h.

Function Documentation

◆ encode_uri2()

◆ print_encoded_uri()

int print_encoded_uri ( FILE *  fp,
unsigned char *  payload,
int  paylen,
char *  hdr,
int  hdrlen,
char *  prefix 
)

◆ print_uri_junit_tests()

int print_uri_junit_tests ( char *  hdrstart,
int  hdrlen,
unsigned char *  payload,
int  paylen,
int  fd,
char  also_hdr,
char *  prefix 
)