add line.[ch]

git-svn: trunk@774
remotes/push_mirror/metadata
Tomasz Kojm 21 years ago
parent 7ff7301942
commit 1a83f3b964
  1. 4
      clamav-devel/ChangeLog
  2. 4
      clamav-devel/libclamav/Makefile.am
  3. 10
      clamav-devel/libclamav/Makefile.in
  4. 8
      clamav-devel/libclamav/line.h

@ -1,3 +1,7 @@
Fri Aug 20 21:05:04 CEST 2004 (tk)
----------------------------------
* libclamav/Makefile.am: add line.[ch]
Fri Aug 20 12:58:41 BST 2004 (njh)
----------------------------------
* libclamav: Added line.[ch]

@ -112,6 +112,8 @@ libclamav_la_SOURCES = \
petite.c \
petite.h \
fsg.c \
fsg.h
fsg.h \
line.c \
line.h
lib_LTLIBRARIES = libclamav.la

@ -79,7 +79,7 @@ am_libclamav_la_OBJECTS = matcher-ac.lo matcher-bm.lo matcher.lo \
blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo \
text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo \
cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo \
chmunpack.lo rebuildpe.lo petite.lo fsg.lo
chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo
libclamav_la_OBJECTS = $(am_libclamav_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
@ -88,7 +88,8 @@ am__depfiles_maybe = depfiles
@AMDEP_TRUE@ ./$(DEPDIR)/chmunpack.Plo ./$(DEPDIR)/cvd.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/dsig.Plo ./$(DEPDIR)/filetypes.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/fsg.Plo ./$(DEPDIR)/htmlnorm.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/lzxd.Plo ./$(DEPDIR)/matcher-ac.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/line.Plo ./$(DEPDIR)/lzxd.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/matcher-ac.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/matcher-bm.Plo ./$(DEPDIR)/matcher.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/mbox.Plo ./$(DEPDIR)/md5.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/message.Plo ./$(DEPDIR)/msexpand.Plo \
@ -321,7 +322,9 @@ libclamav_la_SOURCES = \
petite.c \
petite.h \
fsg.c \
fsg.h
fsg.h \
line.c \
line.h
lib_LTLIBRARIES = libclamav.la
all: all-am
@ -401,6 +404,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filetypes.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fsg.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/htmlnorm.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/line.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lzxd.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matcher-ac.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matcher-bm.Plo@am__quote@

@ -16,11 +16,17 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: line.h,v $
* Revision 1.2 2004/08/20 19:06:45 kojm
* add line.[ch]
*
* Revision 1.1 2004/08/20 11:58:20 nigelhorne
* First draft
*
*/
#ifndef __LINE_H
#define __LINE_H
typedef struct line {
char *l_data; /* the line's contents */
unsigned int l_refs; /* the number of references to the data */
@ -30,3 +36,5 @@ line_t *lineCreate(const char *data);
line_t *lineLink(line_t *line);
line_t *lineUnlink(line_t *line);
const char *lineGetData(const line_t *line);
#endif

Loading…
Cancel
Save