Rizin
unix-like reverse engineering framework and cli tools
rz_cf_dict.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2019 Francesco Tamagni <mrmacete@protonmail.ch>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef RZ_CF_DICT_H
5 #define RZ_CF_DICT_H
6 
7 #define RZ_CF_OPTION_NONE 0
8 #define RZ_CF_OPTION_SKIP_NSDATA 1
9 
10 typedef enum {
21 
22 typedef struct _CFValue {
25 
26 typedef struct _CFKeyValue {
27  char *key;
30 
31 typedef struct _CFValueDict {
33  RzList *pairs; //_CFKeyValue
35 
36 typedef struct _CFValueArray {
38  RzList *values; //_CFValue
40 
41 typedef struct _CFValueString {
43  char *value;
45 
46 typedef struct _CFValueInteger {
50 
51 typedef struct _CFValueData {
55 
56 typedef struct _CFValueBool {
59 
60 typedef struct _CFValueNULL {
63 
67 
68 #endif
static int value
Definition: cmd_api.c:93
#define RZ_API
voidpf void uLong size
Definition: ioapi.h:138
voidpf uLong offset
Definition: ioapi.h:144
static const char struct stat static buf struct stat static buf static vhangup int options
Definition: sflib.h:145
RZ_API void rz_cf_value_print(RCFValue *value)
Definition: rz_cf_dict.c:613
struct _CFValueBool RCFValueBool
struct _CFValueString RCFValueString
struct _CFValueDict RCFValueDict
struct _CFValueNULL RCFValueNULL
struct _CFKeyValue RCFKeyValue
struct _CFValueInteger RCFValueInteger
RZ_API void rz_cf_value_dict_free(RCFValueDict *dict)
Definition: rz_cf_dict.c:352
RZ_API RCFValueDict * rz_cf_value_dict_parse(RzBuffer *file_buf, ut64 offset, ut64 size, int options)
Definition: rz_cf_dict.c:68
RCFValueType
Definition: rz_cf_dict.h:10
@ RZ_CF_DICT
Definition: rz_cf_dict.h:12
@ RZ_CF_STRING
Definition: rz_cf_dict.h:14
@ RZ_CF_TRUE
Definition: rz_cf_dict.h:18
@ RZ_CF_INTEGER
Definition: rz_cf_dict.h:15
@ RZ_CF_FALSE
Definition: rz_cf_dict.h:19
@ RZ_CF_DATA
Definition: rz_cf_dict.h:16
@ RZ_CF_NULL
Definition: rz_cf_dict.h:17
@ RZ_CF_INVALID
Definition: rz_cf_dict.h:11
@ RZ_CF_ARRAY
Definition: rz_cf_dict.h:13
struct _CFValue RCFValue
struct _CFValueData RCFValueData
struct _CFValueArray RCFValueArray
char * key
Definition: rz_cf_dict.h:27
RCFValue * value
Definition: rz_cf_dict.h:28
RzList * values
Definition: rz_cf_dict.h:38
RCFValueType type
Definition: rz_cf_dict.h:37
RCFValueType type
Definition: rz_cf_dict.h:57
RzBuffer * value
Definition: rz_cf_dict.h:53
RCFValueType type
Definition: rz_cf_dict.h:52
RCFValueType type
Definition: rz_cf_dict.h:32
RzList * pairs
Definition: rz_cf_dict.h:33
RCFValueType type
Definition: rz_cf_dict.h:47
RCFValueType type
Definition: rz_cf_dict.h:61
char * value
Definition: rz_cf_dict.h:43
RCFValueType type
Definition: rz_cf_dict.h:42
RCFValueType type
Definition: rz_cf_dict.h:23
ut64(WINAPI *w32_GetEnabledXStateFeatures)()