ThingWorx C SDK
twFileTransferCallbacks.h
Go to the documentation of this file.
1 /*************************************
2  * Copyright (C) 2015 ThingWorx Inc. *
3  *************************************/
4 
11 #ifndef FILE_TRANSFER_CALLBACKS_H
12 #define FILEMANAGER_H
13 
14 #include "twOSPort.h"
15 #include "twDefinitions.h"
16 #include "twInfoTable.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /********************************/
23 /* Service Callbacks */
24 /********************************/
25 /********
26 enum msgCodeEnum twBrowseDirectory(const char * entityName, twInfoTable * params, twInfoTable ** content);
27 enum msgCodeEnum twDeleteFile(const char * entityName, twInfoTable * params, twInfoTable ** content);
28 enum msgCodeEnum twGetFileInfo(const char * entityName, twInfoTable * params, twInfoTable ** content);
29 enum msgCodeEnum twListFiles(const char * entityName, twInfoTable * params, twInfoTable ** content);
30 enum msgCodeEnum twMoveFile(const char * entityName, twInfoTable * params, twInfoTable ** content);
31 enum msgCodeEnum twGetTransferInfo(const char * entityName, twInfoTable * params, twInfoTable ** content);
32 enum msgCodeEnum twGetFileChecksum(const char * entityName, twInfoTable * params, twInfoTable ** content);
33 enum msgCodeEnum twCreateBinaryFile(const char * entityName, twInfoTable * params, twInfoTable ** content);
34 enum msgCodeEnum twReadFromBinaryFile(const char * entityName, twInfoTable * params, twInfoTable ** content);
35 enum msgCodeEnum twWriteToBinaryFile(const char * entityName, twInfoTable * params, twInfoTable ** content);
36 enum msgCodeEnum twListDirectories(const char * entityName, twInfoTable * params, twInfoTable ** content);
37 enum msgCodeEnum twMakeDirectory(const char * entityName, twInfoTable * params, twInfoTable ** content);
38 enum msgCodeEnum twStartFileTransfer(const char * entityName, twInfoTable * params, twInfoTable ** content);
39 enum msgCodeEnum twFinishFileTransfer(const char * entityName, twInfoTable * params, twInfoTable ** content);
40 ***********/
41 
42 enum msgCodeEnum fileTransferCallback(const char * entityName, const char * serviceName, twInfoTable * params, twInfoTable ** content) ;
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
ThingWorx twInfoTable and twDataShape definitions and functions.
Wrappers for OS-specific functionality.
msgCodeEnum
Enumeration of HTTP message codes.
Definition: twDefinitions.h:74
Common definitions for C SDK.
Info table base structure.
Definition: twInfoTable.h:418