src/inc/apacheLog.h 1.4
1.4 2009/09/14 18:14:12 kent
Adding functions involving timestamps to apacheLog.
Index: src/inc/apacheLog.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/apacheLog.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/inc/apacheLog.h 29 Aug 2009 02:34:52 -0000 1.3
+++ src/inc/apacheLog.h 14 Sep 2009 18:14:12 -0000 1.4
@@ -33,5 +32,12 @@
void apacheAccessLogFree(struct apacheAccessLog **pLl);
/* Free up apacheAccessLog. */
+time_t apacheAccessLogTimeToTick(char *timeStamp);
+/* Convert something like 27/Aug/2009:09:25:32 to Unix timestamp (seconds since 1970).
+ * On error returns zero. */
+
+int apacheAccessLogCmpTick(const void *va, const void *vb);
+/* Compare items to sort by tick (which tracks timestamp) */
+
#endif /* APACHELOG_H */