summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-12 03:59:09 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-12 03:59:09 +0000
commit16309de71d6c8de96e869aeaab0b879185991d87 (patch)
treed122fe6bd25cd87df5422b0af661c9e93db31ef8 /source4/include/smb.h
parentfcc4efd1ea637c810eed8444080b87d7f92c837a (diff)
downloadsamba-16309de71d6c8de96e869aeaab0b879185991d87.tar.gz
samba-16309de71d6c8de96e869aeaab0b879185991d87.tar.bz2
samba-16309de71d6c8de96e869aeaab0b879185991d87.zip
* the RPC-ECHO pipe now works in smbd, as long as the data sizes
don't cause fragmented pdus (I'll add fragments shortly) * change data_blob_talloc() to not zero memory when the 2nd argument is NULL. The zeroing just masks bugs, and can't even allow a DOS attack * modified pidl to ensure that [ref] arguments to the out side of functions are allocated when parsing the in side. This allows rpc backends to assume that [ref] variables are all setup. Doesn't work correctly for [ref] arrays yet * changed DLIST_ADD_END() to take the type instead of a tmp variable. This means you don't need to declare a silly tmp variable in the caller (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r--source4/include/smb.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index a0a190190b..9b8bc28614 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -421,10 +421,7 @@ struct vuid_cache {
#include "smb_acls.h"
#include "enums.h"
#include "events.h"
-#include "rpc_server/dcerpc_server.h"
-#include "context.h"
#include "smb_interfaces.h"
-#include "ntvfs.h"
typedef struct smb_vfs_handle_struct
{
@@ -435,34 +432,6 @@ typedef struct smb_vfs_handle_struct
} smb_vfs_handle_struct;
-struct tcon_context {
- struct tcon_context *next, *prev;
-
- /* the server context that this was created on */
- struct server_context *smb;
-
- /* a talloc context for all data in this structure */
- TALLOC_CTX *mem_ctx;
-
- /* a private structure used by the active NTVFS backend */
- void *ntvfs_private;
-
- uint16 cnum; /* an index passed over the wire (the TID) */
- int service;
- enum ntvfs_type type;
- BOOL read_only;
- BOOL admin_user;
-
- /* the NTVFS operations - see source/ntvfs/ and include/ntvfs.h for details */
- struct ntvfs_ops *ntvfs_ops;
-
- /* the reported filesystem type */
- char *fs_type;
-
- /* the reported device type */
- char *dev_type;
-};
-
struct current_user
{
struct tcon_context *conn;