SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Namespaces | Macros
mapped.h File Reference

Definitions for memory mapped objects that may be shared between processes. More...

#include <sipwitch/namespace.h>
#include <sipwitch/voip.h>
#include <sipwitch/stats.h>
Include dependency graph for mapped.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sipwitch::profile_t
 User profiles are used to map features and toll restriction level together under a common identifier. More...
 
class  sipwitch::MappedRegistry
 Representation of a mapped active user record. More...
 
class  sipwitch::MappedCall
 Representation of an active call record. More...
 

Namespaces

 sipwitch
 Common namespace for sipwitch server.
 

Macros

#define USER_PROFILE_DIALABLE   0x0001
 
#define USER_PROFILE_REACHABLE   0x0002
 
#define USER_PROFILE_INTERNAL   0x0008
 
#define USER_PROFILE_SUBSCRIPTIONS   0x0010
 
#define USER_PROFILE_SUBSCRIBERS   0x0020
 
#define USER_PROFILE_INCOMING   0x1000
 
#define USER_PROFILE_OUTGOING   0x2000
 
#define USER_PROFILE_SUPERUSER   0x8000
 
#define USER_PROFILE_ADMIN   0xffff
 
#define USER_PROFILE_LOCAL   0x0fff
 
#define USER_PROFILE_DEVICE   0x0f0f
 
#define USER_PROFILE_SERVICE   0x7f0f
 
#define USER_PROFILE_SYSTEM   0x2f08
 
#define USER_PROFILE_DEFAULT   0x7fff
 
#define USER_PROFILE_RESTRICTED   (0)
 
#define MAX_NETWORK_SIZE   16
 
#define MAX_PATTERN_SIZE   16
 
#define MAX_DISPLAY_SIZE   64
 
#define MAX_USERID_SIZE   48
 
#define MAX_IDENT_SIZE   (MAX_USERID_SIZE + 50)
 
#define MAX_URI_SIZE   256
 
#define MAX_SDP_BUFFER   1024
 
#define CALL_MAP   "sipwitch.calls"
 
#define REGISTRY_MAP   "sipwitch.regs"
 

Detailed Description

Definitions for memory mapped objects that may be shared between processes.

Classes related to memory mapped objects from sipwitch server.

This includes the memory mapped registry and active call records.

This covers the published interfaces to the sipwitch server itself. These are mostly classes that are mapped into shared memory blocks, and for defining highly sipwitch specific plugin interfaces.

Definition in file mapped.h.

Macro Definition Documentation

#define CALL_MAP   "sipwitch.calls"

Definition at line 76 of file mapped.h.

#define MAX_DISPLAY_SIZE   64

Definition at line 68 of file mapped.h.

#define MAX_IDENT_SIZE   (MAX_USERID_SIZE + 50)

Definition at line 70 of file mapped.h.

#define MAX_NETWORK_SIZE   16

Definition at line 66 of file mapped.h.

#define MAX_PATTERN_SIZE   16

Definition at line 67 of file mapped.h.

#define MAX_SDP_BUFFER   1024

Definition at line 72 of file mapped.h.

#define MAX_URI_SIZE   256

Definition at line 71 of file mapped.h.

#define MAX_USERID_SIZE   48

Definition at line 69 of file mapped.h.

#define REGISTRY_MAP   "sipwitch.regs"

Definition at line 77 of file mapped.h.

#define USER_PROFILE_ADMIN   0xffff

Definition at line 58 of file mapped.h.

#define USER_PROFILE_DEFAULT   0x7fff

Definition at line 63 of file mapped.h.

#define USER_PROFILE_DEVICE   0x0f0f

Definition at line 60 of file mapped.h.

#define USER_PROFILE_DIALABLE   0x0001

Definition at line 49 of file mapped.h.

#define USER_PROFILE_INCOMING   0x1000

Definition at line 54 of file mapped.h.

#define USER_PROFILE_INTERNAL   0x0008

Definition at line 51 of file mapped.h.

#define USER_PROFILE_LOCAL   0x0fff

Definition at line 59 of file mapped.h.

#define USER_PROFILE_OUTGOING   0x2000

Definition at line 55 of file mapped.h.

#define USER_PROFILE_REACHABLE   0x0002

Definition at line 50 of file mapped.h.

#define USER_PROFILE_RESTRICTED   (0)

Definition at line 64 of file mapped.h.

#define USER_PROFILE_SERVICE   0x7f0f

Definition at line 61 of file mapped.h.

#define USER_PROFILE_SUBSCRIBERS   0x0020

Definition at line 53 of file mapped.h.

#define USER_PROFILE_SUBSCRIPTIONS   0x0010

Definition at line 52 of file mapped.h.

#define USER_PROFILE_SUPERUSER   0x8000

Definition at line 56 of file mapped.h.

#define USER_PROFILE_SYSTEM   0x2f08

Definition at line 62 of file mapped.h.