Diffusion C API 6.13.0
Loading...
Searching...
No Matches
diffusion-recordv2.h File Reference

Functions

bool diffusion_recordv2_as_model (const DIFFUSION_VALUE_T *value, const DIFFUSION_RECORDV2_SCHEMA_T *schema, DIFFUSION_RECORDV2_RECORD_MODEL_T **record_model, DIFFUSION_API_ERROR *error)
 Parses the value into a model based upon a specified schema.
bool diffusion_recordv2_as_validated_model (const DIFFUSION_VALUE_T *value, const DIFFUSION_RECORDV2_SCHEMA_T *schema, DIFFUSION_RECORDV2_RECORD_MODEL_T **record_model, DIFFUSION_API_ERROR *error)
 Parses the value into a model based upon a specified schema.
bool diffusion_recordv2_as_fields (const DIFFUSION_VALUE_T *value, LIST_T **as_fields, DIFFUSION_API_ERROR *error)
 Get a list of fields from the RecordV2 diffusion value.
bool diffusion_recordv2_as_records (const DIFFUSION_VALUE_T *value, LIST_T **as_records, DIFFUSION_API_ERROR *error)
 Get a list of lists where each element represents a record within the RecordV2 diffusion value.
bool diffusion_recordv2_to_string (const DIFFUSION_VALUE_T *value, char **recordv2_as_string, DIFFUSION_API_ERROR *error)
 Get a stringified representation of the RecordV2 diffusion value.
bool write_diffusion_recordv2_value (const void *recordv2, const BUF_T *buf)
 Write a recordv2 value into a BUF_T for an update.