Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | load_config_ctx_t |
Typedefs | |
typedef struct load_config_ctx_t | LoadConfigCtx |
Functions | |
RZ_API void | rz_serialize_config_save (RZ_NONNULL Sdb *db, RZ_NONNULL RzConfig *config) |
static bool | load_config_cb (void *user, const char *k, const char *v) |
RZ_API bool | rz_serialize_config_load (RZ_NONNULL Sdb *db, RZ_NONNULL RzConfig *config, RZ_NULLABLE const char *const *exclude, RZ_NULLABLE RzSerializeResultInfo *res) |
typedef struct load_config_ctx_t LoadConfigCtx |
Definition at line 32 of file serialize_config.c.
References k, NULL, rz_config_node_get(), rz_config_set(), and v.
Referenced by rz_serialize_config_load().
RZ_API bool rz_serialize_config_load | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzConfig * | config, | ||
RZ_NULLABLE const char *const * | exclude, | ||
RZ_NULLABLE RzSerializeResultInfo * | res | ||
) |
exclude | NULL-terminated array of keys to not load from the sdb. |
Definition at line 48 of file serialize_config.c.
References load_config_cb(), NULL, and sdb_foreach().
Referenced by rz_serialize_core_load().
RZ_API void rz_serialize_config_save | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzConfig * | config | ||
) |
Definition at line 19 of file serialize_config.c.
References rz_config_node_t::name, sdb_set(), and rz_config_node_t::value.
Referenced by rz_serialize_core_save().