Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

logparse.h

Go to the documentation of this file.
00001 #ifndef LOG_PARSE_H
00002 #define LOG_PARSE_H
00003 
00004 // Parsing NLANR root cache traces
00005 
00006 #include <stdlib.h>
00007 #include "config.h"
00008 
00009 struct lf_entry {
00010         double rt;              /* request arrival time */
00011         u_int32_t cid;          /* client address */
00012         char *sid;
00013         u_int32_t size;         /* page size */
00014         char* url;              /* url. NEED to be freed by caller */
00015 };
00016 
00017 const int MAXBUF = 4096;
00018 
00019 int lf_get_next_entry(FILE *fp, lf_entry &ne);
00020 
00021 #endif // LOG_PARSE_H

Generated on Tue Apr 20 12:14:22 2004 for NS2.26SourcesOriginal by doxygen 1.3.3