s3:libsmb: remove unused cli->privileges
[metze/samba/wip.git] / source3 / include / client.h
index 2f8a572202ffd1a6d464c20c885ef1cd8b83e05e..b5b9bfc53e60dc77c074d7bf93373c74b5d832ae 100644 (file)
@@ -51,10 +51,7 @@ struct cli_state {
         * A list of subsidiary connections for DFS.
         */
         struct cli_state *prev, *next;
-       int port;
        int fd;
-       /* Last read or write error. */
-       enum smb_read_errors smb_rw_error;
        uint16 cnum;
        uint16 pid;
        uint16 mid;
@@ -62,7 +59,7 @@ struct cli_state {
        int protocol;
        int sec_mode;
        int rap_error;
-       int privileges;
+       NTSTATUS raw_status; /* maybe via NT_STATUS_DOS() */
 
        char *desthost;
 
@@ -83,6 +80,7 @@ struct cli_state {
        char *share;
        char *dev;
        struct nmb_name called;
+       struct sockaddr_storage src_ss;
        struct nmb_name calling;
        struct sockaddr_storage dest_ss;
 
@@ -95,8 +93,6 @@ struct cli_state {
        int timeout; /* in milliseconds. */
        size_t max_xmit;
        size_t max_mux;
-       char *inbuf;
-       unsigned int bufsize;
        int initialised;
        int win95;
        bool is_samba;