12#include "lang/ytObject.h" 
   13#include "util/ytKeyValues.h" 
   22void ytNode_delete(
ytNode * 
this);
 
   23ytNode * ytNode_newName(
const char * name);
 
   25void ytNode_dump(
ytNode * 
this, FILE * fp);
 
   26void ytNode_setName(
ytNode * 
this, 
const char * name);
 
   27const char * ytNode_getName(
const ytNode * 
this);
 
   30size_t ytNode_numProperties(
const ytNode * 
this);
 
   31void ytNode_addProperty(
ytNode * 
this, 
const char * key, 
ytObject * value);
 
   32void ytNode_setProperty(
ytNode * 
this, 
const char * key, 
ytObject * value);
 
   33void ytNode_setPropertyInt(
ytNode * 
this, 
const char * key, 
int value);
 
   34void ytNode_setPropertyDouble(
ytNode * 
this, 
const char * key, 
double value);
 
   35void ytNode_setPropertyString(
ytNode * 
this, 
const char * key, 
const char * value);
 
   36ytObject * ytNode_getProperty(
const ytNode * 
this, 
const char * key);
 
   38int ytNode_getPropertyInt(
ytNode * 
this, 
const char * key, 
int defValue);
 
   39const char * ytNode_getPropertyString(
const ytNode * 
this, 
const char * key);
 
   41const char * ytNode_getPropertyKey(
const ytNode * 
this, 
size_t i);
 
   42ytType ytNode_getPropertyType(
const ytNode * 
this, 
size_t i );
 
   44size_t ytNode_size(
const ytNode * 
this);
 
   45ytByte * ytNode_serialize(
const ytNode * 
this, ytByte ** pptr);
 
   46ytNode * ytNode_deserialize(ytByte ** 
const pptr);
 
   47size_t ytNode_sizeI(
const ytObject * obj);
 
   48ytByte * ytNode_serializeI(
const ytObject * obj, ytByte ** pptr);
 
   49ytObject * ytNode_deserializeI(ytByte ** 
const pptr);
 
   52int ytNode_test(
int argc, 
char * argv[]);
 
ytType
Types supported by ytLib.
Definition ytType.h:14
Network node.
Definition ytNode.h:15