diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-12 23:09:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 20:59:33 +0200 |
commit | a781b78417b6d7b875230dd2edcb932445aa4197 (patch) | |
tree | af301f9afe7ea77524397c4d750ed775f5fb8a90 /source3/include/ntdomain.h | |
parent | ac126ea8186364bddfec340189a377978d52c7ae (diff) | |
download | samba-a781b78417b6d7b875230dd2edcb932445aa4197.tar.gz samba-a781b78417b6d7b875230dd2edcb932445aa4197.tar.xz samba-a781b78417b6d7b875230dd2edcb932445aa4197.zip |
Remove smb_np_struct
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r-- | source3/include/ntdomain.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 60bbf500bc9..e6c97c69dc2 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -287,64 +287,6 @@ typedef struct pipes_struct { } pipes_struct; -typedef struct smb_np_struct { - struct smb_np_struct *next, *prev; - int pnum; - connection_struct *conn; - uint16 vuid; /* points to the unauthenticated user that opened this pipe. */ - bool open; /* open connection */ - uint16 device_state; - uint16 priority; - char *name; - - /* When replying to an SMBtrans, this is the maximum amount of - data that can be sent in the initial reply. */ - int max_trans_reply; - - /* - * NamedPipe state information. - */ - struct pipes_struct *np_state; - - /* - * NamedPipe functions, to be called to perform - * Named Pipe transactions on request from an - * SMB client. - */ - - /* call to create a named pipe connection. - * returns: state information representing the connection. - * is stored in np_state, above. - */ - struct pipes_struct *(*namedpipe_create)( - TALLOC_CTX *mem_ctx, - const char *pipe_name, - const char *client_address, - struct auth_serversupplied_info *server_info, - uint16_t vuid); - - /* call to perform a write namedpipe operation - */ - ssize_t (*namedpipe_write)(struct pipes_struct *p, - char *data, size_t n); - - /* call to perform a read namedpipe operation. - * - * NOTE: the only reason that the pipe_outstanding - * argument is here is because samba does not use - * the namedpipe_transact function yet: instead, - * it performs the same as what namedpipe_transact - * does - a write, followed by a read. - * - * when samba is modified to use namedpipe_transact, - * the pipe_outstanding argument may be removed. - */ - ssize_t (*namedpipe_read)(struct pipes_struct *p, - char *data, size_t max_len, - bool *pipe_outstanding); - -} smb_np_struct; - struct api_struct { const char *name; uint8 opnum; |