s3:include: change cli->protocol to enum protocol_types
[samba.git] / source3 / include / client.h
index 34d99d4c085b4cbfa7c399b46b5b09f527bd3ddd..a4d43218e6f58c610e568749354eb38d73c6b037 100644 (file)
@@ -51,7 +51,7 @@ struct cli_state {
         * A list of subsidiary connections for DFS.
         */
         struct cli_state *prev, *next;
-       int protocol;
+       enum protocol_types protocol;
        int sec_mode;
        int rap_error;
        NTSTATUS raw_status; /* maybe via NT_STATUS_DOS() */
@@ -124,6 +124,7 @@ struct cli_state {
                struct sockaddr_storage local_ss;
                struct sockaddr_storage remote_ss;
                const char *remote_name;
+               struct tevent_req *read_smb_req;
                struct tevent_queue *outgoing;
                struct tevent_req **pending;
        } conn;