Lines Matching refs:bof
39 struct bof;
41 typedef struct bof { struct
42 struct bof **array; argument
65 extern bof_t *bof_array_get(bof_t *bof, unsigned i); argument
66 extern unsigned bof_array_size(bof_t *bof);
69 extern unsigned bof_blob_size(bof_t *bof);
70 extern void *bof_blob_value(bof_t *bof);
75 extern int32_t bof_int32_value(bof_t *bof);
77 extern void bof_decref(bof_t *bof);
78 extern void bof_incref(bof_t *bof);
80 extern int bof_dump_file(bof_t *bof, const char *filename);
81 extern void bof_print(bof_t *bof);
83 static inline int bof_is_object(bof_t *bof){return (bof->type == BOF_TYPE_OBJECT);} in bof_is_object() argument
84 static inline int bof_is_blob(bof_t *bof){return (bof->type == BOF_TYPE_BLOB);} in bof_is_blob() argument
85 static inline int bof_is_null(bof_t *bof){return (bof->type == BOF_TYPE_NULL);} in bof_is_null() argument
86 static inline int bof_is_int32(bof_t *bof){return (bof->type == BOF_TYPE_INT32);} in bof_is_int32() argument
87 static inline int bof_is_array(bof_t *bof){return (bof->type == BOF_TYPE_ARRAY);} in bof_is_array() argument
88 static inline int bof_is_string(bof_t *bof){return (bof->type == BOF_TYPE_STRING);} in bof_is_string() argument