OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
gpiKeys.h
1#ifndef _GPIKEYS_H_
2#define _GPIKEYS_H_
3
4#include "gpi.h"
5#define GPI_INITIAL_NUM_KEYS 1
6
7typedef struct
8{
9 char *keyName;
10 char *keyValue;
11} GPIKey;
12
13void gpiStatusInfoKeyFree(void *element);
14GPResult gpiStatusInfoKeysInit(GPConnection * connection);
15void gpiStatusInfoKeysDestroy(GPConnection * connection);
16int gpiStatusInfoKeyCompFunc(const void *elem1, const void *elem2);
17GPResult gpiStatusInfoAddKey(GPConnection *connection, DArray keys, const char *theKeyName, const char *theKeyValue);
18GPResult gpiStatusInfoDelKey(GPConnection *connection, DArray keys, const char *keyName);
19GPResult gpiStatusInfoSetKey(GPConnection *connection, DArray keys, const char *keyName, const char *newKeyValue);
20GPResult gpiStatusInfoGetKey(GPConnection *connection, DArray keys, const char *keyName, char **keyValue);
21GPResult gpiSaveKeysToBuffer(GPConnection *connection, char **buffer);
22GPResult gpiStatusInfoCheckKey(GPConnection *connection, DArray keys, const char *keyName, char **keyValue);
23#endif
Definition gpiKeys.h:8