Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2007 06:43:36 GMT
From:      dongmei <dongmei@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125657 for review
Message-ID:  <200708250643.l7P6has7008848@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125657

Change 125657 by dongmei@dongmei2007 on 2007/08/25 06:43:32

	tfile.h

Affected files ...

.. //depot/projects/soc2007/dongmei-auditanalyzer/tfile.h#3 edit

Differences ...

==== //depot/projects/soc2007/dongmei-auditanalyzer/tfile.h#3 (text+ko) ====

@@ -11,6 +11,11 @@
 	FILE_READ_DONE		/* Read completed */
 } file_state;
 
+typedef enum {
+	TAIL_FILE,
+	LIVE_FILE
+} file_type;
+
 typedef struct _record_data {
   struct _record_data *next; /* Next element in list */
   struct _record_data *prev; /* Previous element in list */
@@ -29,6 +34,7 @@
   gboolean     is_tempfile; /* Is trail file a temporary file? */
   gboolean     user_saved;/* If trail file is temporary, has it been saved by user yet? */
   gint64       f_datalen; /* Size of trail file data (uncompressed) */
+  file_type  type;
   int          count;     /* Total number of records */
   struct tsess        *ts;       /* tail file session */
   /* record data */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708250643.l7P6has7008848>