Revision: 14330
Author: adrian.chadd
Date: Mon Oct 19 00:17:47 2009
Log: Add flag, remove EOL as it isn't applicable here now


http://code.google.com/p/lusca-cache/source/detail?r=14330

Modified:
  /branches/LUSCA_HEAD/libloghelper/loghelper.h

=======================================
--- /branches/LUSCA_HEAD/libloghelper/loghelper.h       Sun Oct 18 10:13:12 2009
+++ /branches/LUSCA_HEAD/libloghelper/loghelper.h       Mon Oct 19 00:17:47 2009
@@ -12,12 +12,15 @@

  struct _loghelper_instance {
        int rfd, wfd;                   /* read/write FDs to IPC helper */
-       char eol;                       /* whether we are currently at the "end 
of packet" */
        pid_t pid;                      /* pid of helper */
        int flush_pending;              /* whether a flush command is pending */
        dlink_list bufs;                /* buffers to write */
        int nbufs;                      /* number of buffers to write */
        int last_warned;
+       struct {
+               int closing:1;          /* whether we are closing - and further
+                                          queued messages should be rejected */
+       } flags;
  };
  typedef struct _loghelper_instance loghelper_instance_t;


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to