libonion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
dict.c File Reference
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include <stdio.h>
#include "log.h"
#include "dict.h"
#include "types_internal.h"
#include "codecs.h"
#include "block.h"
#include "low.h"

Data Structures

struct  onion_dict_node_data_t
struct  onion_dict_node_t
 Node for the tree. More...

Typedefs

typedef struct
onion_dict_node_data_t 
onion_dict_node_data
typedef struct onion_dict_node_t onion_dict_node
 Node for the tree.

Functions

void onion_dict_merge (onion_dict *me, const onion_dict *other)
 memberof onion_dict_tMeres the contents of other dictionary intro me.
void onion_dict_hard_dup_helper (onion_dict *dict, const char *key, const void *value, int flags)
onion_dictonion_dict_from_json (const char *data)
 Creates a dict from a jsonOnion dicts do not support full json semantics, soit will do the translations as possible; sometimes information may be lost.

Typedef Documentation

typedef struct onion_dict_node_data_t onion_dict_node_data

Function Documentation

void onion_dict_hard_dup_helper ( onion_dict dict,
const char *  key,
const void *  value,
int  flags 
)