---
name: "Eet.h"
section: "3"
platform: "linux"
package: "libeet-doc"
version: "1.3.2-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Eet.h"
---

# Eet.h(3)

The file that provides the eet functions.

## NAME

Eet.h -

The file that provides the eet functions.

## SYNOPSIS

### Data Structures

struct **\_Eet\_Data\_Descriptor\_Class**\
 *Instructs Eet about memory management for different needs under serialization and parse process.*  struct **\_Eet\_Node\_Data**\
 *Contains an union that can fit any kind of node.*  struct **\_Eet\_Node\_Walk**\
 *Describes how to walk trees of* **Eet\_Node***.*

### Defines

\#define **EET\_T\_UNKNOW**   0\
 *Unknown data encoding type.*  #define **EET\_T\_CHAR**   1\
 *Data type: char.*  #define **EET\_T\_SHORT**   2\
 *Data type: short.*  #define **EET\_T\_INT**   3\
 *Data type: int.*  #define **EET\_T\_LONG\_LONG**   4\
 *Data type: long long.*  #define **EET\_T\_FLOAT**   5\
 *Data type: float.*  #define **EET\_T\_DOUBLE**   6\
 *Data type: double.*  #define **EET\_T\_UCHAR**   7\
 *Data type: unsigned char.*  #define **EET\_T\_USHORT**   8\
 *Data type: unsigned short.*  #define **EET\_T\_UINT**   9\
 *Data type: unsigned int.*  #define **EET\_T\_ULONG\_LONG**   10\
 *Data type: unsigned long long.*  #define **EET\_T\_STRING**   11\
 *Data type: char \*.*  #define **EET\_T\_INLINED\_STRING**   12\
 *Data type: char \* (but compressed inside the resulting eet).*  #define **EET\_T\_NULL**   13\
 *Data type: (void \*) (only use it if you know why).*  #define **EET\_T\_F32P32**   14\
 *Data type: fixed point 32.32.*  #define **EET\_T\_F16P16**   15\
 *Data type: fixed point 16.16.*  #define **EET\_T\_F8P24**   16\
 *Data type: fixed point 8.24.*  #define **EET\_T\_LAST**   18\
 *Last data type.*  #define **EET\_G\_UNKNOWN**   100\
 *Unknown group data encoding type.*  #define **EET\_G\_ARRAY**   101\
 *Fixed size array group type.*  #define **EET\_G\_VAR\_ARRAY**   102\
 *Variable size array group type.*  #define **EET\_G\_LIST**   103\
 *Linked list group type.*  #define **EET\_G\_HASH**   104\
 *Hash table group type.*  #define **EET\_G\_UNION**   105\
 *Union group type.*  #define **EET\_G\_VARIANT**   106\
 *Selectable subtype group.*  #define **EET\_G\_LAST**   107\
 *Last group type.*  #define **EET\_I\_LIMIT**   128\
 *Other type exist but are reserved for internal purpose.*  #define **EET\_DATA\_DESCRIPTOR\_CLASS\_VERSION**   3\
 *The version of* **Eet\_Data\_Descriptor\_Class** *at the time of the distribution of the sources.*  #define **EET\_EINA\_STREAM\_DATA\_DESCRIPTOR\_CLASS\_SET**(Clas, Type)   (eet\_eina\_stream\_data\_descriptor\_class\_set(Clas, #Type , sizeof (Type)))\
 *This macro is an helper that set all the parameter of an Eet\_Data\_Descriptor\_Class correctly when you use Eina data type with stream.*  #define **EET\_EINA\_FILE\_DATA\_DESCRIPTOR\_CLASS\_SET**(Clas, Type)   (eet\_eina\_file\_data\_descriptor\_class\_set(Clas, #Type , sizeof (Type)))\
 *This macro is an helper that set all the parameter of an Eet\_Data\_Descriptor\_Class correctly when you use Eina data type with file.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_BASIC**(edd, struct\_type, name, member, type)\
 *Add a basic data element to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_SUB**(edd, struct\_type, name, member, subtype)\
 *Add a sub-element type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_LIST**(edd, struct\_type, name, member, subtype)\
 *Add a linked list type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_HASH**(edd, struct\_type, name, member, subtype)\
 *Add a hash type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_ARRAY**(edd, struct\_type, name, member, subtype)\
 *Add a fixed size array type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_VAR\_ARRAY**(edd, struct\_type, name, member, subtype)\
 *Add a variable size array type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_UNION**(edd, struct\_type, name, member, type\_member, unified\_type)\
 *Add an union type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_VARIANT**(edd, struct\_type, name, member, type\_member, unified\_type)\
 *Add a automatically selectable type to a data descriptor.*  #define **EET\_DATA\_DESCRIPTOR\_ADD\_MAPPING**(unified\_type, name, subtype)   eet\_data\_descriptor\_element\_add(unified\_type, name, EET\_T\_UNKNOW, EET\_G\_UNKNOWN, 0, 0, NULL, subtype);\
 *Add a mapping to a data descriptor that will be used by union, variant or inherited type.*

### Typedefs

typedef struct \_Eet\_Version **Eet\_Version**\
 *This is the Eet version information structure that can be used at runtiime to detect which version of eet is being used and adapt appropriately as follows for example:*  typedef enum **\_Eet\_Error** **Eet\_Error**\
 *Eet error identifiers.*  typedef enum **\_Eet\_File\_Mode** **Eet\_File\_Mode**\
 *Modes that a file can be opened.*  typedef struct \_Eet\_File **Eet\_File**\
 *Opaque handle that defines an Eet file (or memory).*  typedef struct \_Eet\_Dictionary **Eet\_Dictionary**\
 *Opaque handle that defines a file-backed (mmaped) dictionary of strings.*  typedef struct \_Eet\_Key **Eet\_Key**\
 *Opaque handle that defines an identity (also known as key) in Eet's cipher system.*  typedef int(\* **Eet\_Key\_Password\_Callback** )(char \*buffer, int size, int rwflag, void \*data)\
 *Callback used to request if needed the password of a private key.*  typedef struct \_Eet\_Data\_Descriptor **Eet\_Data\_Descriptor**\
 *Opaque handle that have information on a type members.*  typedef struct **\_Eet\_Data\_Descriptor\_Class** **Eet\_Data\_Descriptor\_Class**\
 *Instructs Eet about memory management for different needs under serialization and parse process.*  typedef struct \_Eet\_Node **Eet\_Node**\
 *Opaque handle to manage serialization node.*  typedef struct **\_Eet\_Node\_Data** **Eet\_Node\_Data**\
 *Contains an union that can fit any kind of node.*  typedef struct **\_Eet\_Node\_Walk** **Eet\_Node\_Walk**\
 *Describes how to walk trees of* **Eet\_Node***.*  typedef struct \_Eet\_Connection **Eet\_Connection**\
 *Opaque handle to track paquet for a specific connection.*  typedef Eina\_Bool **Eet\_Read\_Cb** (const void \*eet\_data, size\_t size, void \*user\_data)\
 *Called back when an* **Eet Data Serialization** *has been received completly and could be used.*  typedef Eina\_Bool **Eet\_Write\_Cb** (const void \*data, size\_t size, void \*user\_data)\
 *Called back when a packet containing* **Eet Data Serialization** *data is ready to be send.*

### Enumerations

enum **\_Eet\_Error** { **EET\_ERROR\_NONE**, **EET\_ERROR\_BAD\_OBJECT**, **EET\_ERROR\_EMPTY**, **EET\_ERROR\_NOT\_WRITABLE**, **EET\_ERROR\_OUT\_OF\_MEMORY**, **EET\_ERROR\_WRITE\_ERROR**, **EET\_ERROR\_WRITE\_ERROR\_FILE\_TOO\_BIG**, **EET\_ERROR\_WRITE\_ERROR\_IO\_ERROR**, **EET\_ERROR\_WRITE\_ERROR\_OUT\_OF\_SPACE**, **EET\_ERROR\_WRITE\_ERROR\_FILE\_CLOSED**, **EET\_ERROR\_MMAP\_FAILED**, **EET\_ERROR\_X509\_ENCODING\_FAILED**, **EET\_ERROR\_SIGNATURE\_FAILED**, **EET\_ERROR\_INVALID\_SIGNATURE**, **EET\_ERROR\_NOT\_SIGNED**, **EET\_ERROR\_NOT\_IMPLEMENTED**, **EET\_ERROR\_PRNG\_NOT\_SEEDED**, **EET\_ERROR\_ENCRYPT\_FAILED**, **EET\_ERROR\_DECRYPT\_FAILED** }\
 *All the error identifiers known by Eet.*  enum **\_Eet\_File\_Mode** { , **EET\_FILE\_MODE\_READ**, **EET\_FILE\_MODE\_WRITE**, **EET\_FILE\_MODE\_READ\_WRITE** }\
 *Modes that a file can be opened.*

### Functions

EAPI int **eet\_init** (void)\
 *Initialize the EET library.*  EAPI int **eet\_shutdown** (void)\
 *Shut down the EET library.*  EAPI void **eet\_clearcache** (void)\
 *Clear eet cache.*  EAPI **Eet\_File** \* **eet\_open** (const char \*file, **Eet\_File\_Mode** mode)\
 *Open an eet file on disk, and returns a handle to it.*  EAPI **Eet\_File** \* **eet\_memopen\_read** (const void \*data, size\_t size)\
 *Open an eet file directly from a memory location.*  EAPI **Eet\_File\_Mode** **eet\_mode\_get** (**Eet\_File** \*ef)\
 *Get the mode an Eet\_File was opened with.*  EAPI **Eet\_Error** **eet\_close** (**Eet\_File** \*ef)\
 *Close an eet file handle and flush and writes pending.*  EAPI **Eet\_Error** **eet\_sync** (**Eet\_File** \*ef)\
 *Sync content of an eet file handle, flushing pending writes.*  EAPI **Eet\_Dictionary** \* **eet\_dictionary\_get** (**Eet\_File** \*ef)\
 *Return a handle to the shared string dictionary of the Eet file.*  EAPI int **eet\_dictionary\_string\_check** (**Eet\_Dictionary** \*ed, const char \*string)\
 *Check if a given string comes from a given dictionary.*  EAPI void \* **eet\_read** (**Eet\_File** \*ef, const char \*name, int \*size\_ret)\
 *Read a specified entry from an eet file and return data.*  EAPI const void \* **eet\_read\_direct** (**Eet\_File** \*ef, const char \*name, int \*size\_ret)\
 *Read a specified entry from an eet file and return data.*  EAPI int **eet\_write** (**Eet\_File** \*ef, const char \*name, const void \*data, int size, int compress)\
 *Write a specified entry to an eet file handle.*  EAPI int **eet\_delete** (**Eet\_File** \*ef, const char \*name)\
 *Delete a specified entry from an Eet file being written or re-written.*  EAPI char \*\* **eet\_list** (**Eet\_File** \*ef, const char \*glob, int \*count\_ret)\
 *List all entries in eet file matching shell glob.*  EAPI int **eet\_num\_entries** (**Eet\_File** \*ef)\
 *Return the number of entries in the specified eet file.*  EAPI void \* **eet\_read\_cipher** (**Eet\_File** \*ef, const char \*name, int \*size\_ret, const char \*cipher\_key)\
 *Read a specified entry from an eet file and return data using a cipher.*  EAPI int **eet\_write\_cipher** (**Eet\_File** \*ef, const char \*name, const void \*data, int size, int compress, const char \*cipher\_key)\
 *Write a specified entry to an eet file handle using a cipher.*  EAPI int **eet\_data\_image\_header\_read** (**Eet\_File** \*ef, const char \*name, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read just the header data for an image and dont decode the pixels.*  EAPI void \* **eet\_data\_image\_read** (**Eet\_File** \*ef, const char \*name, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read image data from the named key in the eet file.*  EAPI int **eet\_data\_image\_read\_to\_surface** (**Eet\_File** \*ef, const char \*name, unsigned int src\_x, unsigned int src\_y, unsigned int \*d, unsigned int w, unsigned int h, unsigned int row\_stride, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read image data from the named key in the eet file.*  EAPI int **eet\_data\_image\_write** (**Eet\_File** \*ef, const char \*name, const void \*data, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy)\
 *Write image data to the named key in an eet file.*  EAPI int **eet\_data\_image\_header\_decode** (const void \*data, int size, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data header only to get information.*  EAPI void \* **eet\_data\_image\_decode** (const void \*data, int size, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data into pixel data.*  EAPI int **eet\_data\_image\_decode\_to\_surface** (const void \*data, int size, unsigned int src\_x, unsigned int src\_y, unsigned int \*d, unsigned int w, unsigned int h, unsigned int row\_stride, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data into pixel data.*  EAPI void \* **eet\_data\_image\_encode** (const void \*data, int \*size\_ret, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy)\
 *Encode image data for storage or transmission.*  EAPI int **eet\_data\_image\_header\_read\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read just the header data for an image and dont decode the pixels using a cipher.*  EAPI void \* **eet\_data\_image\_read\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read image data from the named key in the eet file using a cipher.*  EAPI int **eet\_data\_image\_read\_to\_surface\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, unsigned int src\_x, unsigned int src\_y, unsigned int \*d, unsigned int w, unsigned int h, unsigned int row\_stride, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Read image data from the named key in the eet file using a cipher.*  EAPI int **eet\_data\_image\_write\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, const void \*data, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy)\
 *Write image data to the named key in an eet file using a cipher.*  EAPI int **eet\_data\_image\_header\_decode\_cipher** (const void \*data, const char \*cipher\_key, int size, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data header only to get information using a cipher.*  EAPI void \* **eet\_data\_image\_decode\_cipher** (const void \*data, const char \*cipher\_key, int size, unsigned int \*w, unsigned int \*h, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data into pixel data using a cipher.*  EAPI int **eet\_data\_image\_decode\_to\_surface\_cipher** (const void \*data, const char \*cipher\_key, int size, unsigned int src\_x, unsigned int src\_y, unsigned int \*d, unsigned int w, unsigned int h, unsigned int row\_stride, int \*alpha, int \*compress, int \*quality, int \*lossy)\
 *Decode Image data into pixel data using a cipher.*  EAPI void \* **eet\_data\_image\_encode\_cipher** (const void \*data, const char \*cipher\_key, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy, int \*size\_ret)\
 *Encode image data for storage or transmission using a cipher.*  EAPI **Eet\_Key** \* **eet\_identity\_open** (const char \*certificate\_file, const char \*private\_key\_file, **Eet\_Key\_Password\_Callback** cb)\
 *Create an Eet\_Key needed for signing an eet file.*  EAPI void **eet\_identity\_close** (**Eet\_Key** \*key)\
 *Close and release all ressource used by an Eet\_Key.*  EAPI **Eet\_Error** **eet\_identity\_set** (**Eet\_File** \*ef, **Eet\_Key** \*key)\
 *Set a key to sign a file.*  EAPI void **eet\_identity\_print** (**Eet\_Key** \*key, FILE \*out)\
 *Display both private and public key of an Eet\_Key.*  EAPI const void \* **eet\_identity\_x509** (**Eet\_File** \*ef, int \*der\_length)\
 *Get the x509 der certificate associated with an Eet\_File.*  EAPI const void \* **eet\_identity\_signature** (**Eet\_File** \*ef, int \*signature\_length)\
 *Get the raw signature associated with an Eet\_File.*  EAPI const void \* **eet\_identity\_sha1** (**Eet\_File** \*ef, int \*sha1\_length)\
 *Get the SHA1 associated with a file.*  EAPI void **eet\_identity\_certificate\_print** (const unsigned char \*certificate, int der\_length, FILE \*out)\
 *Display the x509 der certificate to out.*  EINA\_DEPRECATED EAPI **Eet\_Data\_Descriptor** \* **eet\_data\_descriptor\_new** (const char \*name, int size, void \*(\*func\_list\_next)(void \*l), void \*(\*func\_list\_append)(void \*l, void \*d), void \*(\*func\_list\_data)(void \*l), void \*(\*func\_list\_free)(void \*l), void(\*func\_hash\_foreach)(void \*h, int(\*func)(void \*h, const char \*k, void \*dt, void \*fdt), void \*fdt), void \*(\*func\_hash\_add)(void \*h, const char \*k, void \*d), void(\*func\_hash\_free)(void \*h))\
 *Create a new empty data structure descriptor.*  EAPI **Eet\_Data\_Descriptor** \* **eet\_data\_descriptor\_stream\_new** (const **Eet\_Data\_Descriptor\_Class** \*eddc)\
 *This function creates a new data descriptore and returns a handle to the new data descriptor.*  EAPI **Eet\_Data\_Descriptor** \* **eet\_data\_descriptor\_file\_new** (const **Eet\_Data\_Descriptor\_Class** \*eddc)\
 *This function creates a new data descriptore and returns a handle to the new data descriptor.*  EAPI Eina\_Bool **eet\_eina\_stream\_data\_descriptor\_class\_set** (**Eet\_Data\_Descriptor\_Class** \*eddc, const char \*name, int size)\
 *This function is an helper that set all the parameter of an Eet\_Data\_Descriptor\_Class correctly when you use Eina data type with a stream.*  EAPI Eina\_Bool **eet\_eina\_file\_data\_descriptor\_class\_set** (**Eet\_Data\_Descriptor\_Class** \*eddc, const char \*name, int size)\
 *This function is an helper that set all the parameter of an Eet\_Data\_Descriptor\_Class correctly when you use Eina data type with a file.*  EAPI void **eet\_data\_descriptor\_free** (**Eet\_Data\_Descriptor** \*edd)\
 *This function frees a data descriptor when it is not needed anymore.*  EAPI void **eet\_data\_descriptor\_element\_add** (**Eet\_Data\_Descriptor** \*edd, const char \*name, int type, int group\_type, int offset, int count, const char \*counter\_name, **Eet\_Data\_Descriptor** \*subtype)\
 *This function is an internal used by macros.*  EAPI void \* **eet\_data\_read** (**Eet\_File** \*ef, **Eet\_Data\_Descriptor** \*edd, const char \*name)\
 *Read a data structure from an eet file and decodes it.*  EAPI int **eet\_data\_write** (**Eet\_File** \*ef, **Eet\_Data\_Descriptor** \*edd, const char \*name, const void \*data, int compress)\
 *Write a data structure from memory and store in an eet file.*  EAPI int **eet\_data\_text\_dump** (const void \*data\_in, int size\_in, void(\*dumpfunc)(void \*data, const char \*str), void \*dumpdata)\
 *Dump an eet encoded data structure into ascii text.*  EAPI void \* **eet\_data\_text\_undump** (const char \*text, int textlen, int \*size\_ret)\
 *Take an ascii encoding from* **eet\_data\_text\_dump()** *and re-encode in binary.*  EAPI int **eet\_data\_dump** (**Eet\_File** \*ef, const char \*name, void(\*dumpfunc)(void \*data, const char \*str), void \*dumpdata)\
 *Dump an eet encoded data structure from an eet file into ascii text.*  EAPI int **eet\_data\_undump** (**Eet\_File** \*ef, const char \*name, const char \*text, int textlen, int compress)\
 *Take an ascii encoding from* **eet\_data\_dump()** *and re-encode in binary.*  EAPI void \* **eet\_data\_descriptor\_decode** (**Eet\_Data\_Descriptor** \*edd, const void \*data\_in, int size\_in)\
 *Decode a data structure from an arbitary location in memory.*  EAPI void \* **eet\_data\_descriptor\_encode** (**Eet\_Data\_Descriptor** \*edd, const void \*data\_in, int \*size\_ret)\
 *Encode a dsata struct to memory and return that encoded data.*  EAPI void \* **eet\_data\_read\_cipher** (**Eet\_File** \*ef, **Eet\_Data\_Descriptor** \*edd, const char \*name, const char \*cipher\_key)\
 *Read a data structure from an eet file and decodes it using a cipher.*  EAPI int **eet\_data\_write\_cipher** (**Eet\_File** \*ef, **Eet\_Data\_Descriptor** \*edd, const char \*name, const char \*cipher\_key, const void \*data, int compress)\
 *Write a data structure from memory and store in an eet file using a cipher.*  EAPI int **eet\_data\_text\_dump\_cipher** (const void \*data\_in, const char \*cipher\_key, int size\_in, void(\*dumpfunc)(void \*data, const char \*str), void \*dumpdata)\
 *Dump an eet encoded data structure into ascii text using a cipher.*  EAPI void \* **eet\_data\_text\_undump\_cipher** (const char \*text, const char \*cipher\_key, int textlen, int \*size\_ret)\
 *Take an ascii encoding from* **eet\_data\_text\_dump()** *and re-encode in binary using a cipher.*  EAPI int **eet\_data\_dump\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, void(\*dumpfunc)(void \*data, const char \*str), void \*dumpdata)\
 *Dump an eet encoded data structure from an eet file into ascii text using a cipher.*  EAPI int **eet\_data\_undump\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, const char \*text, int textlen, int compress)\
 *Take an ascii encoding from* **eet\_data\_dump()** *and re-encode in binary using a cipher.*  EAPI void \* **eet\_data\_descriptor\_decode\_cipher** (**Eet\_Data\_Descriptor** \*edd, const void \*data\_in, const char \*cipher\_key, int size\_in)\
 *Decode a data structure from an arbitary location in memory using a cipher.*  EAPI void \* **eet\_data\_descriptor\_encode\_cipher** (**Eet\_Data\_Descriptor** \*edd, const void \*data\_in, const char \*cipher\_key, int \*size\_ret)\
 *Encode a data struct to memory and return that encoded data using a cipher.*  EAPI **Eet\_Node** \* **eet\_node\_char\_new** (const char \*name, char c)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_short\_new** (const char \*name, short s)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_int\_new** (const char \*name, int i)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_long\_long\_new** (const char \*name, long long l)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_float\_new** (const char \*name, float f)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_double\_new** (const char \*name, double d)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_unsigned\_char\_new** (const char \*name, unsigned char uc)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_unsigned\_short\_new** (const char \*name, unsigned short us)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_unsigned\_int\_new** (const char \*name, unsigned int ui)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_unsigned\_long\_long\_new** (const char \*name, unsigned long long l)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_string\_new** (const char \*name, const char \*str)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_inlined\_string\_new** (const char \*name, const char \*str)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_null\_new** (const char \*name)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_list\_new** (const char \*name, Eina\_List \*nodes)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_array\_new** (const char \*name, int count, Eina\_List \*nodes)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_var\_array\_new** (const char \*name, Eina\_List \*nodes)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_hash\_new** (const char \*name, const char \*key, **Eet\_Node** \*node)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_struct\_new** (const char \*name, Eina\_List \*nodes)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_node\_struct\_child\_new** (const char \*parent, **Eet\_Node** \*child)\
 *TODO FIX ME.*  EAPI void **eet\_node\_list\_append** (**Eet\_Node** \*parent, const char \*name, **Eet\_Node** \*child)\
 *TODO FIX ME.*  EAPI void **eet\_node\_struct\_append** (**Eet\_Node** \*parent, const char \*name, **Eet\_Node** \*child)\
 *TODO FIX ME.*  EAPI void **eet\_node\_hash\_add** (**Eet\_Node** \*parent, const char \*name, const char \*key, **Eet\_Node** \*child)\
 *TODO FIX ME.*  EAPI void **eet\_node\_dump** (**Eet\_Node** \*n, int dumplevel, void(\*dumpfunc)(void \*data, const char \*str), void \*dumpdata)\
 *TODO FIX ME.*  EAPI void **eet\_node\_del** (**Eet\_Node** \*n)\
 *TODO FIX ME.*  EAPI void \* **eet\_data\_node\_encode\_cipher** (**Eet\_Node** \*node, const char \*cipher\_key, int \*size\_ret)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_data\_node\_decode\_cipher** (const void \*data\_in, const char \*cipher\_key, int size\_in)\
 *TODO FIX ME.*  EAPI **Eet\_Node** \* **eet\_data\_node\_read\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key)\
 *TODO FIX ME.*  EAPI int **eet\_data\_node\_write\_cipher** (**Eet\_File** \*ef, const char \*name, const char \*cipher\_key, **Eet\_Node** \*node, int compress)\
 *TODO FIX ME.*  EAPI **Eet\_Connection** \* **eet\_connection\_new** (**Eet\_Read\_Cb** \*eet\_read\_cb, **Eet\_Write\_Cb** \*eet\_write\_cb, const void \*user\_data)\
 *Instanciate a new connection to track.*  EAPI int **eet\_connection\_received** (**Eet\_Connection** \*conn, const void \*data, size\_t size)\
 *Process a raw packet received over the link  conn Connection handler to track.*  EAPI Eina\_Bool **eet\_connection\_send** (**Eet\_Connection** \*conn, **Eet\_Data\_Descriptor** \*edd, const void \*data\_in, const char \*cipher\_key)\
 *Convert a complex structure and prepare it to be send.*  EAPI Eina\_Bool **eet\_connection\_node\_send** (**Eet\_Connection** \*conn, **Eet\_Node** \*node, const char \*cipher\_key)\
 *Convert a Eet\_Node tree and prepare it to be send.*  EAPI void \* **eet\_connection\_close** (**Eet\_Connection** \*conn, Eina\_Bool \*on\_going)\
 *Close a connection and lost its track.*

## Detailed Description

The file that provides the eet functions.

This header provides the Eet management functions.

## Typedef Documentation

### Eet\_Version

This is the Eet version information structure that can be used at runtiime to detect which version of eet is being used and adapt appropriately as follows for example: .PP

```
 #if defined(EET_VERSION_MAJOR) && (EET_VERSION_MAJOR >= 1) && defined(EET_VERSION_MINOR) && (EET_VERSION_MINOR > 2)
 printf('Eet version: %i.%i.%i0,
        eet_version->major,
        eet_version->minor,
        eet_version->micro);
 if (eet_version->revision > 0)
   {
     printf('  Built from SVN revision # %i0, eet_version->revision);
   }
 #endif
```

Note the if check can be dropped if your program refuses to compile or work with an Eet version less than 1.3.0.

## Author

Generated automatically by Doxygen for Eet from the source code.
