Tizen Native API
5.5
|
Functions that create, destroy and manipulate serialization nodes used by Eet Data Serialization.
Functions | |
Eet_Node * | eet_node_char_new (const char *name, char c) |
Creates a new character node. | |
Eet_Node * | eet_node_short_new (const char *name, short s) |
Creates a new short node. | |
Eet_Node * | eet_node_int_new (const char *name, int i) |
Creates a new integer node. | |
Eet_Node * | eet_node_long_long_new (const char *name, long long l) |
Creates a new long long integer node. | |
Eet_Node * | eet_node_float_new (const char *name, float f) |
Creates a new float node. | |
Eet_Node * | eet_node_double_new (const char *name, double d) |
Creates a new double node. | |
Eet_Node * | eet_node_unsigned_char_new (const char *name, unsigned char uc) |
Creates a new unsigned character node. | |
Eet_Node * | eet_node_unsigned_short_new (const char *name, unsigned short us) |
Creates a new unsigned short node. | |
Eet_Node * | eet_node_unsigned_int_new (const char *name, unsigned int ui) |
Creates a new unsigned integer node. | |
Eet_Node * | eet_node_unsigned_long_long_new (const char *name, unsigned long long l) |
Creates a new unsigned long long integer node. | |
Eet_Node * | eet_node_string_new (const char *name, const char *str) |
Creates a new string node. | |
Eet_Node * | eet_node_inlined_string_new (const char *name, const char *str) |
Creates a new inlined string node. | |
Eet_Node * | eet_node_null_new (const char *name) |
Creates a new empty node. | |
Eet_Node * | eet_node_list_new (const char *name, Eina_List *nodes) |
Creates a new list node. | |
Eet_Node * | eet_node_array_new (const char *name, int count, Eina_List *nodes) |
Creates a new array node. | |
Eet_Node * | eet_node_var_array_new (const char *name, Eina_List *nodes) |
Creates a new variable array node. | |
Eet_Node * | eet_node_hash_new (const char *name, const char *key, Eet_Node *node) |
Creates a new hash node. | |
Eet_Node * | eet_node_struct_new (const char *name, Eina_List *nodes) |
Creates a new struct node. | |
Eet_Node * | eet_node_struct_child_new (const char *parent, Eet_Node *child) |
Creates a new struct child node. | |
void | eet_node_list_append (Eet_Node *parent, const char *name, Eet_Node *child) |
Appends a "list" node TODO FIX ME. | |
void | eet_node_struct_append (Eet_Node *parent, const char *name, Eet_Node *child) |
Appends a struct node. | |
void | eet_node_hash_add (Eet_Node *parent, const char *name, const char *key, Eet_Node *child) |
Adds a hash node. | |
void | eet_node_dump (Eet_Node *n, int dumplevel, Eet_Dump_Callback dumpfunc, void *dumpdata) |
Dumps a node from an eet encoded data structure into ascii text. | |
void | eet_node_del (Eet_Node *n) |
Deletes the given node. | |
void * | eet_data_node_encode_cipher (Eet_Node *node, const char *cipher_key, int *size_ret) |
Encodes node data using a cipher. | |
Eet_Node * | eet_data_node_decode_cipher (const void *data_in, const char *cipher_key, int size_in) |
Decodes node data using a cipher. | |
Eet_Node * | eet_data_node_read_cipher (Eet_File *ef, const char *name, const char *cipher_key) |
Reads a node data from an eet file and decodes it using a cipher. | |
int | eet_data_node_write_cipher (Eet_File *ef, const char *name, const char *cipher_key, Eet_Node *node, int compress) |
Writes node data to the named key in an eet file using a cipher. | |
Typedefs | |
typedef struct _Eet_Node | Eet_Node |
typedef struct _Eet_Node_Data | Eet_Node_Data |
Opaque handle to manage serialization node.
Contains an union that can fit any kind of node.
Eet_Node* eet_data_node_decode_cipher | ( | const void * | data_in, |
const char * | cipher_key, | ||
int | size_in | ||
) |
Decodes node data using a cipher.
TODO FIX ME
data_in | The pointer to the data to decode into a struct. |
cipher_key | The key to use as cipher. |
size_in | The size of the data pointed to in bytes. |
void* eet_data_node_encode_cipher | ( | Eet_Node * | node, |
const char * | cipher_key, | ||
int * | size_ret | ||
) |
Encodes node data using a cipher.
TODO FIX ME
node | The node. |
cipher_key | The key to use as cipher. |
size_ret | Number of bytes read from entry and returned. 3.0f(2.3.1) |
Eet_Node* eet_data_node_read_cipher | ( | Eet_File * | ef, |
const char * | name, | ||
const char * | cipher_key | ||
) |
Reads a node data from an eet file and decodes it using a cipher.
TODO FIX ME
ef | The eet file handle to read from. |
name | The key the data is stored under in the eet file. |
cipher_key | The key to use as cipher. |
int eet_data_node_write_cipher | ( | Eet_File * | ef, |
const char * | name, | ||
const char * | cipher_key, | ||
Eet_Node * | node, | ||
int | compress | ||
) |
Writes node data to the named key in an eet file using a cipher.
TODO FIX ME
ef | The eet file handle to write to. |
name | The key to store the data under in the eet file. |
cipher_key | The key to use as cipher. |
node | The node. |
compress | Compression flags for storage. |
Eet_Node* eet_node_array_new | ( | const char * | name, |
int | count, | ||
Eina_List * | nodes | ||
) |
Creates a new array node.
name | Name of the node. |
count | Number of nodes |
nodes | List of nodes. |
3.0
Eet_Node* eet_node_char_new | ( | const char * | name, |
char | c | ||
) |
Creates a new character node.
name | Name of the node. |
c | Character value. |
3.0
void eet_node_del | ( | Eet_Node * | n | ) |
Deletes the given node.
TODO FIX ME
n | The node. 3.0f(2.3.1) |
Eet_Node* eet_node_double_new | ( | const char * | name, |
double | d | ||
) |
Creates a new double node.
name | Name of the node. |
d | Double value. |
3.0
void eet_node_dump | ( | Eet_Node * | n, |
int | dumplevel, | ||
Eet_Dump_Callback | dumpfunc, | ||
void * | dumpdata | ||
) |
Dumps a node from an eet encoded data structure into ascii text.
TODO FIX ME
n | The node. |
dumplevel | The dump level. |
dumpfunc | dumpfunc The function to call passed a string when new data is converted to text. |
dumpdata | The data to pass to the dumpfunc callback. 3.0f(2.3.1) |
Eet_Node* eet_node_float_new | ( | const char * | name, |
float | f | ||
) |
Creates a new float node.
name | Name of the node. |
f | Float value. |
3.0
void eet_node_hash_add | ( | Eet_Node * | parent, |
const char * | name, | ||
const char * | key, | ||
Eet_Node * | child | ||
) |
Adds a hash node.
TODO FIX ME
parent | The parent node. |
name | Name of the node. |
key | Key of the node. |
child | The child node. 3.0f(2.3.1) |
Eet_Node* eet_node_hash_new | ( | const char * | name, |
const char * | key, | ||
Eet_Node * | node | ||
) |
Creates a new hash node.
TODO FIX ME
name | Name of the node. |
key | Key of the node. |
node | The node. |
3.0
Eet_Node* eet_node_inlined_string_new | ( | const char * | name, |
const char * | str | ||
) |
Creates a new inlined string node.
name | Name of the node. |
str | String value. |
3.0
Eet_Node* eet_node_int_new | ( | const char * | name, |
int | i | ||
) |
Creates a new integer node.
name | Name of the node. |
i | Integer value. |
3.0
void eet_node_list_append | ( | Eet_Node * | parent, |
const char * | name, | ||
Eet_Node * | child | ||
) |
Appends a "list" node TODO FIX ME.
parent | The parent node. |
name | The name of new node. |
child | The child node. |
3.0
Eet_Node* eet_node_list_new | ( | const char * | name, |
Eina_List * | nodes | ||
) |
Creates a new list node.
name | Name of the node. |
nodes | List of nodes. |
3.0
Eet_Node* eet_node_long_long_new | ( | const char * | name, |
long long | l | ||
) |
Creates a new long long integer node.
name | Name of the node. |
l | Long long integer value. |
3.0
Eet_Node* eet_node_null_new | ( | const char * | name | ) |
Creates a new empty node.
name | Name of the node. |
3.0
Eet_Node* eet_node_short_new | ( | const char * | name, |
short | s | ||
) |
Creates a new short node.
name | Name of the node. |
s | Short value. |
3.0
Eet_Node* eet_node_string_new | ( | const char * | name, |
const char * | str | ||
) |
Creates a new string node.
name | Name of the node. |
str | String value. |
3.0
void eet_node_struct_append | ( | Eet_Node * | parent, |
const char * | name, | ||
Eet_Node * | child | ||
) |
Appends a struct node.
TODO FIX ME
parent | The parent node. |
name | The name of new node. |
child | The child node. 3.0f(2.3.1) |
Eet_Node* eet_node_struct_child_new | ( | const char * | parent, |
Eet_Node * | child | ||
) |
Creates a new struct child node.
TODO FIX ME
parent | The name of parent node. |
child | The child node. |
3.0
Eet_Node* eet_node_struct_new | ( | const char * | name, |
Eina_List * | nodes | ||
) |
Creates a new struct node.
name | Name of the node. |
nodes | List of nodes. |
3.0
Eet_Node* eet_node_unsigned_char_new | ( | const char * | name, |
unsigned char | uc | ||
) |
Creates a new unsigned character node.
name | Name of the node. |
uc | Unsigned char value. |
3.0
Eet_Node* eet_node_unsigned_int_new | ( | const char * | name, |
unsigned int | ui | ||
) |
Creates a new unsigned integer node.
name | Name of the node. |
ui | Unsigned integer value. |
3.0
Eet_Node* eet_node_unsigned_long_long_new | ( | const char * | name, |
unsigned long long | l | ||
) |
Creates a new unsigned long long integer node.
name | Name of the node. |
l | Unsigned long long integer value. |
3.0
Eet_Node* eet_node_unsigned_short_new | ( | const char * | name, |
unsigned short | us | ||
) |
Creates a new unsigned short node.
name | Name of the node. |
us | Unsigned short value. |
3.0
Eet_Node* eet_node_var_array_new | ( | const char * | name, |
Eina_List * | nodes | ||
) |
Creates a new variable array node.
name | Name of the node. |
nodes | List of nodes. |
3.0