[ds6-devel] nc6/src circ_buf.c,1.6,1.7 connection.c,1.4,1.5 filter.c,1.8,1.9 io_stream.c,1.2,1.3 main.c,1.5,1.6 misc.c,1.6,1.7 misc.h,1.8,1.9 network.c,1.13,1.14 parser.c,1.10,1.11 readwrite.c,1.13,1.14

chris@deepspace6.net chris@deepspace6.net
Tue Dec 24 14:54:02 2002


Update of /cvs/nc6/src

Modified Files:
	circ_buf.c connection.c filter.c io_stream.c main.c misc.c 
	misc.h network.c parser.c readwrite.c 
Log Message:
Added RCSID and vi tabstop hints


Index: circ_buf.c
===================================================================
RCS file: /cvs/nc6/src/circ_buf.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- circ_buf.c	15 Dec 2002 17:27:08 -0000	1.6
+++ circ_buf.c	24 Dec 2002 14:54:00 -0000	1.7
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  circ_buf.c - circular buffer module - implementation
  *  
  *  nc6 - an advanced netcat clone
@@ -27,6 +28,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/uio.h>
+
+RCSID("@(#) $Header$");
 
 
 
Index: connection.c
===================================================================
RCS file: /cvs/nc6/src/connection.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- connection.c	20 Dec 2002 00:31:47 -0000	1.4
+++ connection.c	24 Dec 2002 14:54:00 -0000	1.5
@@ -1,5 +1,6 @@
-/*
- *  connection.h - connection description structures and functions - header
+/* vi:ts=4 sw=4
+ *
+ *  connection.c - connection description structures and functions - implementation
  * 
  *  nc6 - an advanced netcat clone
  *  Copyright (C) 2001-2002 Mauro Tortonesi <mauro _at_ ferrara.linux.it>
@@ -26,6 +27,8 @@
 #include <string.h>
 #include <assert.h>
 #include <netinet/in.h>
+
+RCSID("@(#) $Header$");
 
 
 void connection_attributes_init(connection_attributes *attrs)
Index: filter.c
===================================================================
RCS file: /cvs/nc6/src/filter.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- filter.c	20 Dec 2002 00:32:30 -0000	1.8
+++ filter.c	24 Dec 2002 14:54:00 -0000	1.9
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  filter.c - incoming traffic validator module - implementation
  * 
  *  nc6 - an advanced netcat clone
@@ -30,6 +31,8 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+
+RCSID("@(#) $Header$");
 
 
 
Index: io_stream.c
===================================================================
RCS file: /cvs/nc6/src/io_stream.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- io_stream.c	15 Dec 2002 17:27:08 -0000	1.2
+++ io_stream.c	24 Dec 2002 14:54:00 -0000	1.3
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  io_stream.c - stream i/o wrapper - implementation 
  * 
  *  nc6 - an advanced netcat clone
@@ -29,6 +30,8 @@
 #include <sys/socket.h>
 #include <unistd.h>
 #include <fcntl.h>
+
+RCSID("@(#) $Header$");
 
 
 /* static void nonblock(int fd); */
Index: main.c
===================================================================
RCS file: /cvs/nc6/src/main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- main.c	20 Dec 2002 23:05:56 -0000	1.5
+++ main.c	24 Dec 2002 14:54:00 -0000	1.6
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  main.c - main module
  * 
  *  nc6 - an advanced netcat clone
@@ -26,6 +27,8 @@
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
+
+RCSID("@(#) $Header$");
 
 /* program name */
 static char *program_name  = NULL;
Index: misc.c
===================================================================
RCS file: /cvs/nc6/src/misc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- misc.c	20 Dec 2002 00:22:21 -0000	1.6
+++ misc.c	24 Dec 2002 14:54:00 -0000	1.7
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  misc.c - miscellaneous funcions module - implementation 
  * 
  *  nc6 - an advanced netcat clone
@@ -29,6 +30,8 @@
 #include <errno.h>
 #include <limits.h>
 #endif
+
+RCSID("@(#) $Header$");
 
 
 
Index: misc.h
===================================================================
RCS file: /cvs/nc6/src/misc.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- misc.h	20 Dec 2002 13:09:31 -0000	1.8
+++ misc.h	24 Dec 2002 14:54:00 -0000	1.9
@@ -47,4 +47,10 @@
 #define safe_atoi atoi
 #endif
 
+#ifndef lint
+#define RCSID(X) static const char rcsid[] = X
+#else
+#define RCSID(X)
+#endif
+
 #endif /* MISC_H */
Index: network.c
===================================================================
RCS file: /cvs/nc6/src/network.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- network.c	20 Dec 2002 00:31:47 -0000	1.13
+++ network.c	24 Dec 2002 14:54:00 -0000	1.14
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  network.c - common networking functions module - implementation
  * 
  *  nc6 - an advanced netcat clone
@@ -29,6 +30,8 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <assert.h>
+
+RCSID("@(#) $Header$");
 
 
 /* Some systems (eg. linux) will bind to both ipv6 AND ipv4 when
Index: parser.c
===================================================================
RCS file: /cvs/nc6/src/parser.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- parser.c	20 Dec 2002 23:05:56 -0000	1.10
+++ parser.c	24 Dec 2002 14:54:00 -0000	1.11
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  parser.c - argument parser & dispatcher module - implementation 
  * 
  *  nc6 - an advanced netcat clone
@@ -30,6 +31,8 @@
 #include <sys/socket.h>
 #include <unistd.h>
 #include <netdb.h>
+
+RCSID("@(#) $Header$");
 
 
 static unsigned long flags_mask;
Index: readwrite.c
===================================================================
RCS file: /cvs/nc6/src/readwrite.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- readwrite.c	20 Dec 2002 23:05:56 -0000	1.13
+++ readwrite.c	24 Dec 2002 14:54:00 -0000	1.14
@@ -1,4 +1,5 @@
-/*
+/* vi:ts=4 sw=4
+ *
  *  readwrite.c - stream i/o reading/writing loop - implementation 
  * 
  *  nc6 - an advanced netcat clone
@@ -33,6 +34,8 @@
 #include <netinet/in.h>
 #include <unistd.h>
 #include <fcntl.h>
+
+RCSID("@(#) $Header$");
 
 /* buffer size is 8kb */
 static const size_t BUFFER_SIZE = 8192;



More information about the ds6-devel mailing list