summaryrefslogtreecommitdiff
path: root/netfs/xfers.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/xfers.h')
-rw-r--r--netfs/xfers.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/netfs/xfers.h b/netfs/xfers.h
deleted file mode 100644
index baf2eaa..0000000
--- a/netfs/xfers.h
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef XFERS_H
-#define XFERS_H
-
-#define Xfer1(id, Ptype, Pbase, v1) \
-MSGTYPE(id, Ptype) \
-void \
-Ptype::Send(FILE*f) const \
-{ \
- Pbase::Send(f); \
- *f << v1; \
-} \
-void \
-Ptype::Read(FILE*f) \
-{ \
- Pbase::Read(f); \
- *f >> v1; \
-}
-
-#define Xfer2(id, Ptype, Pbase, v1, v2) \
-MSGTYPE(id, Ptype) \
-void \
-Ptype::Send(FILE*f) const \
-{ \
- Pbase::Send(f); \
- *f << v1; \
- *f << v2; \
-} \
-void \
-Ptype::Read(FILE*f) \
-{ \
- Pbase::Read(f); \
- *f >> v1; \
- *f >> v2; \
-}
-
-#define Xfer3(id, Ptype, Pbase, v1, v2, v3) \
-MSGTYPE(id, Ptype) \
-void \
-Ptype::Send(FILE*f) const \
-{ \
- Pbase::Send(f); \
- *f << v1; \
- *f << v2; \
- *f << v3; \
-} \
-void \
-Ptype::Read(FILE*f) \
-{ \
- Pbase::Read(f); \
- *f >> v1; \
- *f >> v2; \
- *f >> v3; \
-}
-
-#endif
-