7 #ifndef TW_WRAPPER_EXPORTS_H
8 #define TW_WRAPPER_EXPORTS_H
18 char *propertyDescription;
19 char *propertyPushType;
20 double propertyPushThreshold;
26 char *serviceDescription;
27 unsigned char *inputDataShapeBytesPtr;
28 int32_t inputDataShapeLength;
30 unsigned char *outputDataShapeBytesPtr;
31 int32_t outputDataShapeLength;
44 unsigned char *bytesPtr;
47 typedef int(*processPropertyReadRequest_cb)(
const char *entityName,
const char *propertyName,
twWDataBlock **dataBlock,
void *userdata);
48 typedef int(*processPropertyWriteRequest_cb)(
const char *entityName,
const char *propertyName,
twWDataBlock *dataBlock,
void *userdata);
49 typedef int(*processServiceRequest_cb)(
const char *entityName,
const char *serviceName,
twWDataBlock *paramsBlock,
twWDataBlock **contentBlock,
void *userdata);
50 typedef void(*fileTransfer_cb)(
char fileRcvd,
char *sourceRepository,
char *sourcePath,
char *sourceFile,
char *sourceChecksum,
51 char *targetRepository,
char *targetPath,
char *targetFile,
char *targetChecksum, DATETIME startTime,
52 DATETIME endTime, int32_t duration,
char *
state,
char isComplete,
double size,
char *transferId,
53 char *user,
char *message,
void *userdata);
58 int twW_InitializeThreadPool();
59 void twW_DestroyThreadPool();
65 int twWDataBlock_FromStruct(
void *structPtr,
char isPrimitive,
twWDataBlock **outBlock);
68 twDataShape * twW_BytesToDataShape(
unsigned char *bytesPtr, int32_t length);
70 enum msgCodeEnum twW_PropertyCallbackDispatcher(
const char *entityName,
const char *propertyName,
twInfoTable **value,
char isWrite,
void *userdata);
72 void twW_FileTransferCallbackDispatcher(
char fileRcvd,
twFileTransferInfo *info,
void *userdata);
Definition: twApiWrapper.h:34
String utility function prototypes.
Definition: twApiWrapper.h:23
File Transfer Information structure definition.
Definition: twFileManager.h:48
Definition: twApiWrapper.h:14
msgCodeEnum
Enumeration of HTTP message codes.
Definition: twDefinitions.h:74
Portable ThingWorx C SDK API layer.
Data shape base structure definition.
Definition: twInfoTable.h:184
Info table base structure.
Definition: twInfoTable.h:418
ThingWorx file transfer structure definitions and functions.
Definition: twApiWrapper.h:40
BaseType
Definition: twDefinitions.h:156
BaseType primitive structure.
Definition: twBaseTypes.h:204