@ -52,6 +52,7 @@ TR_CLASS(TR_Cbuf) {
size_t write;
size_t read;
};
TR_INSTANCE_INIT(TR_Cbuf);
ssize_t TR_cbufRead(TR_Cbuf, TR_Stream);
ssize_t TR_cbufWrite(TR_Cbuf, TR_Stream);
@ -33,6 +33,7 @@
TR_CLASS(TR_Hash) {
TR_Tree root;
TR_INSTANCE_INIT(TR_Hash);
void * TR_hashAdd(TR_Hash, void *);
void * TR_hashDelete(TR_Hash, const char *, size_t);
@ -36,6 +36,7 @@ TR_CLASS(TR_HashValue) {
size_t nkey;
size_t nvalue;
TR_INSTANCE_INIT(TR_HashValue);
#endif // __TR_HASH_VALUE_H__
@ -47,6 +47,7 @@ TR_CLASS(TR_Queue) {
TR_Queue last;
size_t nmsg;
TR_INSTANCE_INIT(TR_Queue);
void TR_queuePut(TR_Queue, void *);
void * TR_queueGet(TR_Queue);
@ -35,6 +35,7 @@ TR_CLASS(TR_Tree) {
TR_Tree left;
TR_Tree right;
TR_INSTANCE_INIT(TR_Tree);
typedef int (*TR_TreeComp)(const void *, const void *);
typedef void (*TR_TreeAction)(const void *, const int);