High Level Defines
libsyncml API » High Level API

The defines of the high level data synchronization API. More...

Collaboration diagram for High Level Defines:

## Macros

#define | SML_DEFAULT_MAX_MSG_SIZE 65535
#define | SML_DEFAULT_MAX_OBJ_SIZE 1024000
#define | SML_DATA_SYNC_CONFIG_CONNECTION_TYPE "CONNECTION_TYPE"
#define | SML_DATA_SYNC_CONFIG_CONNECTION_SERIAL "SERIAL"
#define | SML_DATA_SYNC_CONFIG_CONNECTION_BLUETOOTH "BLUETOOTH"
#define | SML_DATA_SYNC_CONFIG_CONNECTION_IRDA "IRDA"
#define | SML_DATA_SYNC_CONFIG_CONNECTION_NET "NET"
#define | SML_DATA_SYNC_CONFIG_CONNECTION_USB "USB"
#define | SML_DATA_SYNC_CONFIG_AUTH_USERNAME SML_TRANSPORT_CONFIG_USERNAME
#define | SML_DATA_SYNC_CONFIG_AUTH_PASSWORD SML_TRANSPORT_CONFIG_PASSWORD
#define | SML_DATA_SYNC_CONFIG_AUTH_TYPE "AUTH_TYPE"
#define | SML_DATA_SYNC_CONFIG_AUTH_BASIC "AUTH_BASIC"
#define | SML_DATA_SYNC_CONFIG_AUTH_NONE "AUTH_NONE"
#define | SML_DATA_SYNC_CONFIG_AUTH_MD5 "AUTH_MD5"
#define | SML_DATA_SYNC_CONFIG_VERSION "VERSION"
#define | SML_DATA_SYNC_CONFIG_IDENTIFIER "IDENTIFIER"
#define | SML_DATA_SYNC_CONFIG_TARGET "TARGET"
#define | SML_DATA_SYNC_CONFIG_USE_WBXML "USE_WBXML"
#define | SML_DATA_SYNC_CONFIG_USE_STRING_TABLE "USE_STRING_TABLE"
#define | SML_DATA_SYNC_CONFIG_USE_TIMESTAMP_ANCHOR "USE_TIMESTAMP_ANCHOR"
#define | SML_DATA_SYNC_CONFIG_USE_NUMBER_OF_CHANGES "USE_NUMBER_OF_CHANGES"
#define | SML_DATA_SYNC_CONFIG_USE_LOCALTIME "USE_LOCALTIME"
#define | SML_DATA_SYNC_CONFIG_ONLY_REPLACE "ONLY_REPLACE"
#define | SML_DATA_SYNC_CONFIG_MAX_MSG_SIZE "MAX_MSG_SIZE"
#define | SML_DATA_SYNC_CONFIG_MAX_OBJ_SIZE "MAX_OBJ_SIZE"
#define | SML_DATA_SYNC_CONFIG_FAKE_DEVICE "FAKE_DEVICE"
#define | SML_DATA_SYNC_CONFIG_FAKE_MANUFACTURER "FAKE_MANUFACTURER"
#define | SML_DATA_SYNC_CONFIG_FAKE_MODEL "FAKE_MODEL"
#define | SML_DATA_SYNC_CONFIG_FAKE_SOFTWARE_VERSION "FAKE_SOFTWARE_VERSION"
#define | SML_CONTENT_TYPE_APPLICATION "application"
#define | SML_CONTENT_TYPE_AUDIO "audio"
#define | SML_CONTENT_TYPE_IMAGE "image"
#define | SML_CONTENT_TYPE_MESSAGE "message"
#define | SML_CONTENT_TYPE_VIDEO "video"

## Detailed Description

The defines of the high level data synchronization API.

The defines can be splitted in two types of definitions - default limits and configuration options.

The default limits are used to configure the API but they are defined in a public header file to grant access of external applications to the used limits of the library.

The configuration options are defined to avoid typos and guarantee via compile errors that typos in the source code of a library user cause no runtime problems.

Additionally it is possible to extend the number of supported options without changing the major version of the library.