summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2009-04-12 22:13:36 +0300
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2009-04-12 22:13:36 +0300
commit68c018b02a8eff826cd30480ce73202ce9cc9e48 (patch)
tree7300d43003a35e8228ecbffa214240149de2d90e
parent0ec50f8fb5ec477523571a9612cfb9f23a10de12 (diff)
Revert "Added dynamic translator tracking facilities"
This reverts commit 0ec50f8fb5ec477523571a9612cfb9f23a10de12.
-rwxr-xr-xbuild2
-rw-r--r--node.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/build b/build
index bfe91357a..2234dad6f 100755
--- a/build
+++ b/build
@@ -1 +1 @@
-gcc -DDEBUG -Wall -g -lnetfs -lfshelp -liohelp -lthreads -lports -lihash -lshouldbeinlibc -o nsmux nsmux.c node.c lnode.c ncache.c options.c lib.c magic.c trans.c 2>&1 | tee errors
+gcc -DDEBUG -Wall -g -lnetfs -lfshelp -liohelp -lthreads -lports -lihash -lshouldbeinlibc -o nsmux nsmux.c node.c lnode.c ncache.c options.c lib.c 2>&1 | tee errors
diff --git a/node.h b/node.h
index 72adcbebb..de0013086 100644
--- a/node.h
+++ b/node.h
@@ -59,6 +59,18 @@
/*---------------------------------------------------------------------------*/
/*--------Types--------------------------------------------------------------*/
+/*A list element containing a port*/
+struct port_el
+{
+ /*the port */
+ mach_port_t p;
+
+ /*the next element in the list */
+ struct port_el *next;
+}; /*struct port_el */
+/*---------------------------------------------------------------------------*/
+typedef struct port_el port_el_t;
+/*---------------------------------------------------------------------------*/
/*The user-defined node for libnetfs*/
struct netnode
{