Browse code

add line.[ch]

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@774 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/08/21 04:06:45
Showing 4 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Aug 20 21:05:04 CEST 2004 (tk)
2
+----------------------------------
3
+  * libclamav/Makefile.am: add line.[ch]
4
+
1 5
 Fri Aug 20 12:58:41 BST 2004 (njh)
2 6
 ----------------------------------
3 7
   * libclamav:		Added line.[ch]
... ...
@@ -112,6 +112,8 @@ libclamav_la_SOURCES = \
112 112
 	petite.c \
113 113
 	petite.h \
114 114
 	fsg.c \
115
-	fsg.h
115
+	fsg.h \
116
+	line.c \
117
+	line.h
116 118
 
117 119
 lib_LTLIBRARIES = libclamav.la
... ...
@@ -79,7 +79,7 @@ am_libclamav_la_OBJECTS = matcher-ac.lo matcher-bm.lo matcher.lo \
79 79
 	blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo \
80 80
 	text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo \
81 81
 	cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo \
82
-	chmunpack.lo rebuildpe.lo petite.lo fsg.lo
82
+	chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo
83 83
 libclamav_la_OBJECTS = $(am_libclamav_la_OBJECTS)
84 84
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
85 85
 depcomp = $(SHELL) $(top_srcdir)/depcomp
... ...
@@ -88,7 +88,8 @@ am__depfiles_maybe = depfiles
88 88
 @AMDEP_TRUE@	./$(DEPDIR)/chmunpack.Plo ./$(DEPDIR)/cvd.Plo \
89 89
 @AMDEP_TRUE@	./$(DEPDIR)/dsig.Plo ./$(DEPDIR)/filetypes.Plo \
90 90
 @AMDEP_TRUE@	./$(DEPDIR)/fsg.Plo ./$(DEPDIR)/htmlnorm.Plo \
91
-@AMDEP_TRUE@	./$(DEPDIR)/lzxd.Plo ./$(DEPDIR)/matcher-ac.Plo \
91
+@AMDEP_TRUE@	./$(DEPDIR)/line.Plo ./$(DEPDIR)/lzxd.Plo \
92
+@AMDEP_TRUE@	./$(DEPDIR)/matcher-ac.Plo \
92 93
 @AMDEP_TRUE@	./$(DEPDIR)/matcher-bm.Plo ./$(DEPDIR)/matcher.Plo \
93 94
 @AMDEP_TRUE@	./$(DEPDIR)/mbox.Plo ./$(DEPDIR)/md5.Plo \
94 95
 @AMDEP_TRUE@	./$(DEPDIR)/message.Plo ./$(DEPDIR)/msexpand.Plo \
... ...
@@ -321,7 +322,9 @@ libclamav_la_SOURCES = \
321 321
 	petite.c \
322 322
 	petite.h \
323 323
 	fsg.c \
324
-	fsg.h
324
+	fsg.h \
325
+	line.c \
326
+	line.h
325 327
 
326 328
 lib_LTLIBRARIES = libclamav.la
327 329
 all: all-am
... ...
@@ -401,6 +404,7 @@ distclean-compile:
401 401
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filetypes.Plo@am__quote@
402 402
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fsg.Plo@am__quote@
403 403
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/htmlnorm.Plo@am__quote@
404
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/line.Plo@am__quote@
404 405
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lzxd.Plo@am__quote@
405 406
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matcher-ac.Plo@am__quote@
406 407
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matcher-bm.Plo@am__quote@
... ...
@@ -16,11 +16,17 @@
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  *
18 18
  * $Log: line.h,v $
19
+ * Revision 1.2  2004/08/20 19:06:45  kojm
20
+ * add line.[ch]
21
+ *
19 22
  * Revision 1.1  2004/08/20 11:58:20  nigelhorne
20 23
  * First draft
21 24
  *
22 25
  */
23 26
 
27
+#ifndef __LINE_H
28
+#define __LINE_H
29
+
24 30
 typedef struct line {
25 31
 	char	*l_data;	/* the line's contents */
26 32
 	unsigned int	l_refs;	/* the number of references to the data */
... ...
@@ -30,3 +36,5 @@ line_t	*lineCreate(const char *data);
30 30
 line_t	*lineLink(line_t *line);
31 31
 line_t	*lineUnlink(line_t *line);
32 32
 const	char	*lineGetData(const line_t *line);
33
+
34
+#endif