MQTTPersistenceDefault.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2009, 2018 IBM Corp.
3  *
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v2.0
6  * and Eclipse Distribution License v1.0 which accompany this distribution.
7  *
8  * The Eclipse Public License is available at
9  * https://www.eclipse.org/legal/epl-2.0/
10  * and the Eclipse Distribution License is available at
11  * http://www.eclipse.org/org/documents/edl-v10.php.
12  *
13  * Contributors:
14  * Ian Craggs - initial API and implementation and/or initial documentation
15  *******************************************************************************/
16 
17 #if !defined(MQTTPERSISTENCEDEFAULT_H)
18 #define MQTTPERSISTENCEDEFAULT_H
19 
21 #define MESSAGE_FILENAME_LENGTH 8
22 
23 #define MESSAGE_FILENAME_EXTENSION ".msg"
24 
25 /* prototypes of the functions for the default file system persistence */
26 int pstopen(void** handle, const char* clientID, const char* serverURI, void* context);
27 int pstclose(void* handle);
28 int pstput(void* handle, char* key, int bufcount, char* buffers[], int buflens[]);
29 int pstget(void* handle, char* key, char** buffer, int* buflen);
30 int pstremove(void* handle, char* key);
31 int pstkeys(void* handle, char*** keys, int* nkeys);
32 int pstclear(void* handle);
33 int pstcontainskey(void* handle, char* key);
34 
35 int pstmkdir(char *pPathname);
36 
37 #endif
38 
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)
dictionary context
Definition: test2.py:57
int pstkeys(void *handle, char ***keys, int *nkeys)


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:09