]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* Shut off hostname resolution when dealing with Unix domain sockets
[citadel.git] / citadel / server.h
index 10a6f853bd1f8f0064236f54ef22d567338d8b0c..9b105bf85db544ba70bd8254680c72cdc723ad83 100644 (file)
@@ -63,6 +63,7 @@ struct CitContext {
        int internal_pgm;       /* authenticated as internal program */
        char temp[32];          /* temp file name */
        int nologin;            /* not allowed to log in */
+       int is_local_socket;    /* set to 1 if client is on unix domain sock */
 
        char net_node[32];      /* Is the client another Citadel server? */
        int client_socket;
@@ -329,6 +330,7 @@ enum {
 struct ServiceFunctionHook {
        struct ServiceFunctionHook *next;
        int tcp_port;
+       char *sockpath;
        void (*h_greeting_function) (void) ;
        void (*h_command_function) (void) ;
        int msock;