summaryrefslogtreecommitdiffstats
path: root/server/.svn/text-base/fqm.h.svn-base
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-04-14 21:54:00 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-04-14 21:54:00 -0400
commit79d65188b1c1578a36403c0e5756c81dcc93d816 (patch)
tree2903ed400cd0ebd13350397d402c1d9d5b9f869d /server/.svn/text-base/fqm.h.svn-base
parent6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 (diff)
downloadnastd-79d65188b1c1578a36403c0e5756c81dcc93d816.tar.gz
nastd-79d65188b1c1578a36403c0e5756c81dcc93d816.zip
Remove svn files
Diffstat (limited to 'server/.svn/text-base/fqm.h.svn-base')
-rw-r--r--server/.svn/text-base/fqm.h.svn-base50
1 files changed, 0 insertions, 50 deletions
diff --git a/server/.svn/text-base/fqm.h.svn-base b/server/.svn/text-base/fqm.h.svn-base
deleted file mode 100644
index c3c27df..0000000
--- a/server/.svn/text-base/fqm.h.svn-base
+++ /dev/null
@@ -1,50 +0,0 @@
-/* $Id: fqm.h,v 1.9 2000/11/08 19:50:24 shmit Exp $ */
-
-#ifndef FQM_H
-#define FQM_H
-
-#include "thread.h"
-
-#define REQHANDLER(func) int func(struct _request_t *req, reqthread_t *self)
-
-enum _status_t { IDLE, BUSY, NOALLOC };
-typedef enum _status_t status_t;
-
-struct _reqthread_t {
- struct _fqm_t *fqm;
- thread_t *tid;
- void *arg;
- int dieflag;
- status_t status;
-};
-typedef struct _reqthread_t reqthread_t;
-
-struct _request_t {
- REQHANDLER((*req_handler));
- char *req;
- int sock;
- short reqid;
- struct _request_t *next;
-};
-typedef struct _request_t request_t;
-
-struct _fqm_t {
- cond_t *q_cond;
- cond_t *t_cond;
- request_t *sreq, *ereq;
- reqthread_t **tids;
- int maxitems;
- int nitems;
-};
-typedef struct _fqm_t fqm_t;
-
-request_t *req_new(int sock, short reqid, REQHANDLER((*req_handler)),
- const char *reqstr, int reqlen);
-void req_delete(request_t *req);
-
-fqm_t *fqm_new(int maxitems);
-void fqm_delete(fqm_t *fqm);
-int fqm_changemaxitems(fqm_t *fqm, int maxitems);
-int fqm_push(fqm_t *fqm, request_t *req);
-
-#endif