39#include "lang/ytObject.h" 
   40#include "util/ytKeyValues.h" 
   49void ytNode_delete(
ytNode * 
this);
 
   50ytNode * ytNode_newName(
const char * name);
 
   52void ytNode_dump(
ytNode * 
this, FILE * fp);
 
   53void ytNode_setName(
ytNode * 
this, 
const char * name);
 
   54const char * ytNode_getName(
const ytNode * 
this);
 
   57size_t ytNode_numProperties(
const ytNode * 
this);
 
   58void ytNode_addProperty(
ytNode * 
this, 
const char * key, 
ytObject * value);
 
   59void ytNode_setProperty(
ytNode * 
this, 
const char * key, 
ytObject * value);
 
   60void ytNode_setPropertyInt(
ytNode * 
this, 
const char * key, 
int value);
 
   61void ytNode_setPropertyDouble(
ytNode * 
this, 
const char * key, 
double value);
 
   62void ytNode_setPropertyString(
ytNode * 
this, 
const char * key, 
const char * value);
 
   63ytObject * ytNode_getProperty(
const ytNode * 
this, 
const char * key);
 
   65int ytNode_getPropertyInt(
ytNode * 
this, 
const char * key, 
int defValue);
 
   66const char * ytNode_getPropertyString(
const ytNode * 
this, 
const char * key);
 
   68const char * ytNode_getPropertyKey(
const ytNode * 
this, 
size_t i);
 
   69ytType ytNode_getPropertyType(
const ytNode * 
this, 
size_t i );
 
   71size_t ytNode_size(
const ytNode * 
this);
 
   72ytByte * ytNode_serialize(
const ytNode * 
this, ytByte ** pptr);
 
   73ytNode * ytNode_deserialize(ytByte ** 
const pptr);
 
   74size_t ytNode_sizeI(
const ytObject * obj);
 
   75ytByte * ytNode_serializeI(
const ytObject * obj, ytByte ** pptr);
 
   76ytObject * ytNode_deserializeI(ytByte ** 
const pptr);
 
   79int ytNode_test(
int argc, 
char * argv[]);
 
ytType
Types supported by ytLib.
Definition ytType.h:41
Network node.
Definition ytNode.h:42