Couchbase Lite C
Couchbase Lite C API
Functions | Variables
CBLEncryptable.h File Reference
#include "CBLBase.h"
#include "fleece/Fleece.h"

Go to the source code of this file.

Functions

static const CBLEncryptableCBLEncryptable_Retain (const CBLEncryptable *t)
 
static void CBLEncryptable_Release (const CBLEncryptable *t)
 
CBLEncryptableCBLEncryptable_CreateWithNull (void)
 Creates CBLEncryptable object with null value. More...
 
CBLEncryptableCBLEncryptable_CreateWithBool (bool value)
 Creates CBLEncryptable object with a boolean value. More...
 
CBLEncryptableCBLEncryptable_CreateWithInt (int64_t value)
 Creates CBLEncryptable object with an int value. More...
 
CBLEncryptableCBLEncryptable_CreateWithUInt (uint64_t value)
 Creates CBLEncryptable object with an unsigned int value. More...
 
CBLEncryptableCBLEncryptable_CreateWithFloat (float value)
 Creates CBLEncryptable object with a float value. More...
 
CBLEncryptableCBLEncryptable_CreateWithDouble (double value)
 Creates CBLEncryptable object with a double value. More...
 
CBLEncryptableCBLEncryptable_CreateWithString (FLString value)
 Creates CBLEncryptable object with a string value. More...
 
CBLEncryptableCBLEncryptable_CreateWithValue (FLValue value)
 Creates CBLEncryptable object with an FLValue value. More...
 
CBLEncryptableCBLEncryptable_CreateWithArray (FLArray value)
 Creates CBLEncryptable object with an FLArray value. More...
 
CBLEncryptableCBLEncryptable_CreateWithDict (FLDict value)
 Creates CBLEncryptable object with an FLDict value. More...
 
FLValue CBLEncryptable_Value (const CBLEncryptable *encryptable)
 Returns the value to be encrypted by the push replicator. More...
 
FLDict CBLEncryptable_Properties (const CBLEncryptable *encryptable)
 Returns the dictionary format of the CBLEncryptable object. More...
 
bool FLDict_IsEncryptableValue (FLDict _cbl_nullable)
 Checks whether the given dictionary is a CBLEncryptable or not. More...
 
static bool FLValue_IsEncryptableValue (FLValue _cbl_nullable value)
 Checks whether the given FLValue is a CBLEncryptable or not. More...
 
const CBLEncryptable *_cbl_nullable FLDict_GetEncryptableValue (FLDict _cbl_nullable encryptableDict)
 Returns a CBLEncryptable object corresponding to the given encryptable dictionary in a document or NULL if the dictionary is not a CBLEncryptable. More...
 
static const CBLEncryptable *_cbl_nullable FLValue_GetEncryptableValue (FLValue _cbl_nullable value)
 Returns a CBLEncryptable object corresponding to the given Fleece Value Accessors in a document or NULL if the value is not a CBLEncryptable. More...
 
void FLSlot_SetEncryptableValue (FLSlot slot, const CBLEncryptable *encryptable)
 Set a CBLEncryptable's dictionary into a mutable dictionary's slot. More...
 
static void FLMutableDict_SetEncryptableValue (FLMutableDict dict, FLString key, CBLEncryptable *encryptable)
 Set a CBLEncryptable's dictionary into a mutable dictionary. More...
 

Variables

CBL_PUBLIC const FLSlice kCBLEncryptableType
 "encryptable" More...
 
CBL_PUBLIC const FLSlice kCBLEncryptableValueProperty
 "value" More...