diff options
Diffstat (limited to 'net/dgd/files/patch-comp.c')
-rw-r--r-- | net/dgd/files/patch-comp.c | 75 |
1 files changed, 10 insertions, 65 deletions
diff --git a/net/dgd/files/patch-comp.c b/net/dgd/files/patch-comp.c index cb23188eb861..42e2c320c7db 100644 --- a/net/dgd/files/patch-comp.c +++ b/net/dgd/files/patch-comp.c @@ -1,74 +1,19 @@ ---- src/comp/comp.c.orig Tue Sep 2 10:58:56 2003 -+++ src/comp/comp.c Tue Sep 2 11:14:29 2003 -@@ -558,6 +558,20 @@ - return TRUE; +$FreeBSD$ + +--- src/comp/comp.c.orig 2009-07-03 21:10:25.000000000 -0700 ++++ src/comp/comp.c 2009-07-03 21:12:26.000000000 -0700 +@@ -699,6 +699,14 @@ + return (string *) NULL; } +#ifdef NETWORK_PACKAGE -+/* -+ * NAME: comm->openport() -+ * DESCRIPTION: pretend to open a port -+ */ -+void comm_openport(f, obj, protocol, portnr) -+frame *f; ++bool comm_is_connection(obj) +object *obj; -+unsigned char protocol; -+unsigned short portnr; +{ ++ return FALSE; +} +#endif + /* - * NAME: comm->finish() - * DESCRIPTION: pretend to terminate connections -@@ -585,6 +599,35 @@ - return 0; - } - -+#ifdef NETWORK_PACKAGE -+/* -+ * NAME: comm->connect() -+ * DESCRIPTION: pretend to open a connection to a port -+ */ -+void -+comm_connect(f, obj, addr, protocol, port) -+frame *f; -+object *obj; -+char *addr; -+unsigned char protocol; -+unsigned short port; -+{ -+} -+ -+/* -+ * NAME: comm->senddatagram() -+ * DESCRIPTION: pretend to send a UDP datagram -+ */ -+int comm_senddatagram(obj, str, ip, port) -+object * obj; -+string * str; -+string * ip; -+int port; -+{ -+ return 0; -+} -+#endif -+ - /* - * NAME: comm->udpsend() - * DESCRIPTION: pretend to send a message on the UDP channel of a connection -@@ -668,8 +711,14 @@ - * NAME: comm->users() - * DESCRIPTION: pretend to return an array with all user objects - */ -+#ifdef NETWORK_PACKAGE -+array *comm_users(data, ports) -+dataspace *data; -+bool ports; -+#else - array *comm_users(data) - dataspace *data; -+#endif - { - return (array *) NULL; - } + * NAME: comm->close() + * DESCRIPTION: pretend to remove a user |