tail.h

Go to the documentation of this file.
00001 /*----------------------------------------------------------------------------
00002  secwatch - Copyright (C) 2006 Nic Stevens -- See COPYING for license details
00003 ------------------------------------------------------------------------------
00004  tail.h --  Prototype and macro declarations for the tail  functions
00005   Tail Functions:
00006         These are functions which manipulate and maintain tail_t objects. Each
00007         object is associated with a system log file name, open descriptor, and
00008         current offset. This allows for a simple function call to retrieve the
00009         next available log file line along with the log file name. 
00010 -----------------------------------------------------------------------------*/
00011 #ifndef _TAIL_H 
00012 #define _TAIL_H
00013 
00014 int addtailsource(char *filename);
00015 int taildata(char **filename, char *buf, size_t bufsz);
00016 void tailsleep(unsigned long sleep);
00017 #endif

Generated on Tue Oct 31 10:17:23 2006 for secwatch by  doxygen 1.4.6