From owner-p4-projects@FreeBSD.ORG Sat Aug 25 06:43:36 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CFADC16A41A; Sat, 25 Aug 2007 06:43:36 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94BDF16A417 for ; Sat, 25 Aug 2007 06:43:36 +0000 (UTC) (envelope-from dongmei@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 82EF213C457 for ; Sat, 25 Aug 2007 06:43:36 +0000 (UTC) (envelope-from dongmei@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7P6haIk008851 for ; Sat, 25 Aug 2007 06:43:36 GMT (envelope-from dongmei@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7P6has7008848 for perforce@freebsd.org; Sat, 25 Aug 2007 06:43:36 GMT (envelope-from dongmei@FreeBSD.org) Date: Sat, 25 Aug 2007 06:43:36 GMT Message-Id: <200708250643.l7P6has7008848@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to dongmei@FreeBSD.org using -f From: dongmei To: Perforce Change Reviews Cc: Subject: PERFORCE change 125657 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 06:43:37 -0000 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 */