libZRTP configuration options
[ZRTP API REFERENCE]

Collaboration diagram for libZRTP configuration options:

Defines

#define ZP_WIN32   100
#define ZP_WIN32_KERNEL   101
#define ZP_WINCE   102
#define ZP_LINUX   103
#define ZP_DARWIN   104
#define ZP_SYMBIAN   105
#define ZBO_BIG_ENDIAN   0x4321
#define ZBO_LITTLE_ENDIAN   0x1234
#define ZRTP_SAS_DIGEST_LENGTH   4
#define ZRTP_MAX_STREAMS_PER_SESSION   2
#define ZRTP_USE_EXTERN_SRTP   0
#define ZRTP_USE_STACK_MINIM   0
#define ZRTP_BUILD_FOR_CSD   0
#define ZRTP_USE_ENTERPRISE   1
#define ZRTP_LOG_MAX_LEVEL   3
#define ZRTP_DEBUG_SRTP_KEYS   0


Define Documentation

#define ZBO_BIG_ENDIAN   0x4321

Definitions to identify target platform byte orders supported by libzrtp. If this option is not defined - libzrtp will try to define byte order automatically, according to the target platform.

Definition at line 47 of file zrtp_config_user.h.

#define ZBO_LITTLE_ENDIAN   0x1234

Definition at line 48 of file zrtp_config_user.h.

#define ZP_DARWIN   104

Definition at line 35 of file zrtp_config_user.h.

#define ZP_LINUX   103

Definition at line 34 of file zrtp_config_user.h.

#define ZP_SYMBIAN   105

Definition at line 36 of file zrtp_config_user.h.

#define ZP_WIN32   100

Definitions to identify target platforms supported by libzrtp. Platform defines byte-order, data types and set of built-in helper functions. libzrtp originaly supports folowwing platforms:

Definition at line 31 of file zrtp_config_user.h.

#define ZP_WIN32_KERNEL   101

Definition at line 32 of file zrtp_config_user.h.

#define ZP_WINCE   102

Definition at line 33 of file zrtp_config_user.h.

#define ZRTP_BUILD_FOR_CSD   0

Set to 1 if you build libzrtp agains libzrtp-s - secure voice over CSD

Definition at line 78 of file zrtp_config_user.h.

#define ZRTP_DEBUG_SRTP_KEYS   0

Use this flag to enable RTP debug outpit

Definition at line 96 of file zrtp_config_user.h.

#define ZRTP_LOG_MAX_LEVEL   3

Defines maximum log level for libzrtp. If you set this option to 0 - libzrtp will not debug output and will not even make a log function calls.

Definition at line 93 of file zrtp_config_user.h.

#define ZRTP_MAX_STREAMS_PER_SESSION   2

Defines maximum number of ZRTP streams within one session

Definition at line 58 of file zrtp_config_user.h.

#define ZRTP_SAS_DIGEST_LENGTH   4

Defines the max length in bytes of a binary SAS digest

Definition at line 55 of file zrtp_config_user.h.

#define ZRTP_USE_ENTERPRISE   1

Set to 1 if you have have eneterprise version of libzrtp and apropriate license. Enterprise version contain Elliptic Curves DH functions, built-in realization of all helper functions and other features.

Definition at line 86 of file zrtp_config_user.h.

#define ZRTP_USE_EXTERN_SRTP   0

Unlinks the building of internal realization of SRTP. The latest version of libzrtp, starting with 0.3.9, supplies a built-in mechanism for SRTP encryption. However, if for some reason during development it is neccesary to use an external library, this flag must be set.

Definition at line 66 of file zrtp_config_user.h.

#define ZRTP_USE_STACK_MINIM   0

Set to 1 you build libzrtp in environment with strong limitation of stack size (Mobile platforms or in kernel mode). When this flag is set, some static data allocation will be changed to dynamic. The size of these data doesn't matter in "regular" PC applications, but on mobile platforms and in kernel mode, where the stack size is critical, libzrtp must work with optimized data.

Definition at line 75 of file zrtp_config_user.h.


This file is part of the documentation for Zfone.
Copyright ©  2006-2008 Philip R. Zimmermann. All rights reserved.
Generated on Mon November 10 2008 by doxygen 1.5.7-20060202. Written by Viktor Krikun, © 2006-2008