17 #if !defined(MQTTPERSISTENCEDEFAULT_H) 18 #define MQTTPERSISTENCEDEFAULT_H 21 #define MESSAGE_FILENAME_LENGTH 8 23 #define MESSAGE_FILENAME_EXTENSION ".msg" 26 int pstopen(
void** handle,
const char* clientID,
const char* serverURI,
void*
context);
28 int pstput(
void* handle,
char* key,
int bufcount,
char* buffers[],
int buflens[]);
29 int pstget(
void* handle,
char* key,
char** buffer,
int* buflen);
31 int pstkeys(
void* handle,
char*** keys,
int* nkeys);
int pstopen(void **handle, const char *clientID, const char *serverURI, void *context)
int pstclose(void *handle)
int pstmkdir(char *pPathname)
int pstput(void *handle, char *key, int bufcount, char *buffers[], int buflens[])
int pstget(void *handle, char *key, char **buffer, int *buflen)
int pstclear(void *handle)
int pstremove(void *handle, char *key)
int pstcontainskey(void *handle, char *key)
int pstkeys(void *handle, char ***keys, int *nkeys)