]> mj.ucw.cz Git - moe.git/blobdiff - submit/submitd.h
Use setproctitle() to display status.
[moe.git] / submit / submitd.h
index 7e0d4345378b656efc1cdbccb5f7c5d167b67b52..c780f53a058d7f1bf1c0a7adaf1db15ce619c9a3 100644 (file)
@@ -26,11 +26,12 @@ struct conn {
   // Set up by the master process
   cnode n;
   u32 ip;
   // Set up by the master process
   cnode n;
   u32 ip;
+  byte *ip_string;                     // (xmalloced)
   pid_t pid;
   uns id;
   struct access_rule *rule;            // Rule matched by this connection
   int sk;                              // Client socket
   pid_t pid;
   uns id;
   struct access_rule *rule;            // Rule matched by this connection
   int sk;                              // Client socket
-  byte *cert_name;                     // Client name from the certificate (NULL if no TLS)
+  byte *cert_name;                     // Client name from the certificate (NULL if no TLS) (xmalloced)
 
   // Used by the child process
   gnutls_session_t tls;                        // TLS session
 
   // Used by the child process
   gnutls_session_t tls;                        // TLS session