SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions
sipwitch::uri Class Reference

Some convenience methods for manipulating SIP uri's. More...

#include <uri.h>

Static Public Member Functions

static voip::context_t route (const char *uri, char *buf, size_t size)
 
static void serviceid (const char *sipuri, char *buffer, size_t size)
 
static bool server (struct sockaddr *address, char *buffer, size_t size)
 
static bool userid (const char *sipuri, char *buffer, size_t size)
 
static bool hostid (const char *sipuri, char *buffer, size_t size)
 
static unsigned short portid (const char *sipuri)
 
static void identity (const struct sockaddr *address, char *buffer, const char *user, size_t size)
 
static void publish (const char *uri, char *buffer, const char *user, size_t size)
 
static voip::context_t context (const char *uri)
 

Detailed Description

Some convenience methods for manipulating SIP uri's.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Definition at line 55 of file uri.h.

Member Function Documentation

static voip::context_t sipwitch::uri::context ( const char *  uri)
static
bool sipwitch::uri::hostid ( const char *  sipuri,
char *  buffer,
size_t  size 
)
static

Definition at line 41 of file uri.cpp.

void sipwitch::uri::identity ( const struct sockaddr *  address,
char *  buffer,
const char *  user,
size_t  size 
)
static

Definition at line 208 of file uri.cpp.

unsigned short sipwitch::uri::portid ( const char *  sipuri)
static

Definition at line 99 of file uri.cpp.

void sipwitch::uri::publish ( const char *  uri,
char *  buffer,
const char *  user,
size_t  size 
)
static

Definition at line 127 of file uri.cpp.

voip::context_t sipwitch::uri::route ( const char *  uri,
char *  buf,
size_t  size 
)
static

Definition at line 156 of file uri.cpp.

bool sipwitch::uri::server ( struct sockaddr *  address,
char *  buffer,
size_t  size 
)
static

Definition at line 186 of file uri.cpp.

void sipwitch::uri::serviceid ( const char *  sipuri,
char *  buffer,
size_t  size 
)
static

Definition at line 25 of file uri.cpp.

bool sipwitch::uri::userid ( const char *  sipuri,
char *  buffer,
size_t  size 
)
static

Definition at line 73 of file uri.cpp.


The documentation for this class was generated from the following files: