Webcom C SDK
Macros
webcom.h File Reference
#include "webcom-config.h"
#include "webcom-base.h"
#include "webcom-log.h"
#include "webcom-utils.h"
#include "webcom-msg.h"
#include "webcom-parser.h"
#include "webcom-datasync.h"
#include "webcom-req.h"
#include "webcom-on.h"
#include "webcom-auth.h"
Include dependency graph for webcom.h:

Go to the source code of this file.

Macros

#define WEBCOM_SDK_VERSION   ((unsigned)((WEBCOM_SDK_MAJOR<<16)|(WEBCOM_SDK_MINOR<<8)|WEBCOM_SDK_PATCH))
 
#define WC_XSTR(s)   WC_STR(s)
 
#define WC_STR(s)   #s
 
#define WEBCOM_SDK_VERSION_STR   WC_XSTR(WEBCOM_SDK_MAJOR) "." WC_XSTR(WEBCOM_SDK_MINOR) "." WC_XSTR(WEBCOM_SDK_PATCH)
 

Functions

int64_t wc_datasync_server_time (wc_context_t *cnx)
 
void wc_datasync_gen_push_id (wc_context_t *cnx, char *result)
 
const char * wc_version ()
 

Macro Definition Documentation

◆ WC_STR

#define WC_STR (   s)    #s

◆ WC_XSTR

#define WC_XSTR (   s)    WC_STR(s)

◆ WEBCOM_SDK_VERSION

#define WEBCOM_SDK_VERSION   ((unsigned)((WEBCOM_SDK_MAJOR<<16)|(WEBCOM_SDK_MINOR<<8)|WEBCOM_SDK_PATCH))

◆ WEBCOM_SDK_VERSION_STR

#define WEBCOM_SDK_VERSION_STR   WC_XSTR(WEBCOM_SDK_MAJOR) "." WC_XSTR(WEBCOM_SDK_MINOR) "." WC_XSTR(WEBCOM_SDK_PATCH)