]> jfr.im git - solanum.git/blobdiff - include/client.h
authd: wait until the ssl connection is "open" before reading
[solanum.git] / include / client.h
index 43d3dfe765dcdb51e66e89d1236cecca86ab7084..5e6da7ff6b69cbcd1a8a3092a4445ca061401af7 100644 (file)
@@ -294,6 +294,9 @@ struct LocalUser
        time_t sasl_next_retry;
 };
 
+#define AUTHC_F_DEFERRED 0x01
+#define AUTHC_F_COMPLETE 0x02
+
 struct AuthClient
 {
        uint32_t cid;   /* authd id */
@@ -302,6 +305,7 @@ struct AuthClient
        char cause;     /* rejection cause */
        char *data;     /* reason data */
        char *reason;   /* reason we were rejected */
+       int flags;
 };
 
 struct PreClient