Couchbase Lite C
Couchbase Lite C API
Loading...
Searching...
No Matches
include
cbl
Functions
|
Variables
CBLEncryptable.h File Reference
#include "
CBLBase.h
"
Go to the source code of this file.
Functions
CBLINLINE
const
CBLEncryptable
*
CBLEncryptable_Retain
(const
CBLEncryptable
*
_cbl_nullable
t)
CBLINLINE
void
CBLEncryptable_Release
(const
CBLEncryptable
*
_cbl_nullable
t)
CBLEncryptable
*
CBLEncryptable_CreateWithNull
(void)
Creates
CBLEncryptable
object with null value.
CBLEncryptable
*
CBLEncryptable_CreateWithBool
(bool value)
Creates
CBLEncryptable
object with a boolean value.
CBLEncryptable
*
CBLEncryptable_CreateWithInt
(int64_t value)
Creates
CBLEncryptable
object with an int value.
CBLEncryptable
*
CBLEncryptable_CreateWithUInt
(uint64_t value)
Creates
CBLEncryptable
object with an unsigned int value.
CBLEncryptable
*
CBLEncryptable_CreateWithFloat
(float value)
Creates
CBLEncryptable
object with a float value.
CBLEncryptable
*
CBLEncryptable_CreateWithDouble
(double value)
Creates
CBLEncryptable
object with a double value.
CBLEncryptable
*
CBLEncryptable_CreateWithString
(
FLString
value)
Creates
CBLEncryptable
object with a string value.
CBLEncryptable
*
CBLEncryptable_CreateWithValue
(
FLValue
value)
Creates
CBLEncryptable
object with an
FLValue
value.
CBLEncryptable
*
CBLEncryptable_CreateWithArray
(
FLArray
value)
Creates
CBLEncryptable
object with an
FLArray
value.
CBLEncryptable
*
CBLEncryptable_CreateWithDict
(
FLDict
value)
Creates
CBLEncryptable
object with an
FLDict
value.
FLValue
CBLEncryptable_Value
(const
CBLEncryptable
*encryptable)
Returns the value to be encrypted by the push replicator.
FLDict
CBLEncryptable_Properties
(const
CBLEncryptable
*encryptable)
Returns the dictionary format of the
CBLEncryptable
object.
bool
FLDict_IsEncryptableValue
(
FLDict
_cbl_nullable
)
Checks whether the given dictionary is a
CBLEncryptable
or not.
CBLINLINE
bool
FLValue_IsEncryptableValue
(
FLValue
_cbl_nullable
value)
Checks whether the given
FLValue
is a
CBLEncryptable
or not.
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
.
CBLINLINE
const
CBLEncryptable
*
_cbl_nullable
FLValue_GetEncryptableValue
(
FLValue
_cbl_nullable
value)
Returns a
CBLEncryptable
object corresponding to the given
Fleece Values
in a document or NULL if the value is not a
CBLEncryptable
.
void
FLSlot_SetEncryptableValue
(
FLSlot
slot, const
CBLEncryptable
*encryptable)
Set a
CBLEncryptable
's dictionary into a mutable dictionary's slot.
CBLINLINE
void
FLMutableDict_SetEncryptableValue
(
FLMutableDict
dict,
FLString
key,
CBLEncryptable
*encryptable)
Set a
CBLEncryptable
's dictionary into a mutable dictionary.
Variables
CBL_PUBLIC
const
FLSlice
kCBLEncryptableType
"encryptable"
CBL_PUBLIC
const
FLSlice
kCBLEncryptableValueProperty
"value"
Generated by
1.14.0