5 #include "fcgi_stdio.h"
7 #define DEFAULT_SIZE 128
14 IoTQuery(FCGX_Request * request);
19 void sendResponse(char *data, int length);
23 bool checkDirectory();
24 bool openStatusFile();
25 void updateStatusFile();
29 void removeOldestSlot();
30 char * getSlotFileName(long long);
32 FCGX_Request * request;
38 const char * iotcloudroot;
40 long long oldestentry;
41 long long newestentry;
42 long long requestsequencenumber;