--- deliantra/server/include/traits.h 2007/08/27 06:29:17 1.18 +++ deliantra/server/include/traits.h 2007/09/04 05:43:21 1.19 @@ -38,6 +38,11 @@ const int sint32_digits = 11; // number of digits an sint32 uses max. const int sint64_digits = 20; +typedef char *octet_string; +typedef char *utf8_string; +typedef const char *const_octet_string; +typedef const char *const_utf8_string; + struct client_container; struct client; struct player; @@ -52,6 +57,9 @@ struct faceinfo; struct mapxy; +typedef object object_ornull; +typedef maptile maptile_ornull; + // could have used templates, but a more traditional C api // uses more explicit typing which is ok for this purpose. enum data_type