C Server-Side SDK
LaunchDarkly SDK
|
|
Go to the documentation of this file.
39 unsigned int itemCount;
75 const unsigned int collectionCount);
89 const char *
const kind,
90 const char *
const featureKey,
104 const char *
const kind,
106 unsigned int *
const resultCount);
121 const char *
const kind,
123 const char *
const featureKey);
Stores the set of items in a single namespace.
Definition: store.h:35
void * context
Used to store implementation specific data.
Definition: store.h:64
A custom c89 boolean type.
An opaque client object.
Definition: store.h:59
LDBoolean(* upsert)(void *const context, const char *const kind, const struct LDStoreCollectionItem *const feature, const char *const featureKey)
Replace an existing feature with a newer one or delete a feature.
Definition: store.h:119
Stores a single item and its key.
Definition: store.h:28
LDBoolean(* get)(void *const context, const char *const kind, const char *const featureKey, struct LDStoreCollectionItem *const result)
Fetch a feature from the store.
Definition: store.h:87
LDBoolean(* init)(void *const context, const struct LDStoreCollectionState *collections, const unsigned int collectionCount)
Initialize the feature store with a new data set.
Definition: store.h:72
LDBoolean(* all)(void *const context, const char *const kind, struct LDStoreCollectionItem **const result, unsigned int *const resultCount)
Fetch all features in a given namespace.
Definition: store.h:102
void * buffer
May be NULL to indicate a deleted item.
Definition: store.h:26
void(* destructor)(void *const context)
Destroy the implementation specific context associated.
Definition: store.h:137
Opaque value representing an item.
Definition: store.h:19
LDBoolean(* initialized)(void *const context)
Determine if the store is initialized with features yet.
Definition: store.h:130