Support and use G-line lastmod timestamp.
[srvx.git] / ChangeLog
index 8d2827e9b2613d53c9eb8ebf8befab1501fa814b..ff3f60910ac698f876388603c693be90af90fa86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,46 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
 #
 
+2006-09-11 01:03:14 GMT        Michael Poole <mdpoole@troilus.org>     patch-32
+
+    Summary:
+      Support and use G-line lastmod timestamp.
+    Revision:
+      srvx--devo--1.3--patch-32
+
+    src/gline.c (KEY_LASTMOD): New key string.
+      (gline_add): Use new parameter to set lastmod.
+      (gline_add_record): Look for KEY_LASTMOD values.
+      (gline_write_entry): Set KEY_LASTMOD if lastmod is set.
+      (gline_discrim_create): Allow specification of lastmod criteria.
+      (gline_discrim_match): Check lastmod if appropriate.
+    
+    src/gline.h (struct gline): Add lastmod field.
+      (struct gline_discrim): Add lastmod fields.
+      (gline_add): New parameter.
+    
+    src/mod-sockcheck.c (sockcheck_issue_gline): Set lastmod.
+    
+    src/opserv.c (OSMSG_NO_GLINE): New format string.
+      (opserv_block): Set lastmod.
+      (cmd_gline): Set lastmod.
+      (cmd_stats_glines): Allow searching for a particular G-line (just like
+        gtrace).
+      (opserv_new_user_check): Set lastmod.
+      (gtrace_print_func): Use intervals rather than fixed dates and show
+        lastmod.
+    
+    src/opserv.help (GTRACE CRITERIA): Mention lastmod criteria.
+    
+    src/proto-p10.c (irc_gline): Send lastmod if it is set.
+      (cmd_num_gline): Parse out lastmod if it is set.
+      (cmd_gline): Parse out lastmod if it is set.
+
+    modified files:
+     ChangeLog src/gline.c src/gline.h src/mod-sockcheck.c
+     src/opserv.c src/opserv.help src/proto-p10.c
+
+
 2006-09-09 21:37:28 GMT        Michael Poole <mdpoole@troilus.org>     patch-31
 
     Summary: