diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 19 | ||||
-rw-r--r-- | source3/include/smb.h | 25 |
2 files changed, 0 insertions, 44 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b8a2409ab5..b5a66b52b4 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -87,25 +87,6 @@ size_t align_string(const void *base_ptr, const char *p, int flags); size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate); int rpcstr_push_talloc(TALLOC_CTX *ctx, smb_ucs2_t **dest, const char *src); -/* The following definitions come from lib/conn_tdb.c */ - -struct db_record *connections_fetch_entry(TALLOC_CTX *mem_ctx, - connection_struct *conn, - const char *name); -int connections_traverse(int (*fn)(struct db_record *rec, - void *private_data), - void *private_data); -int connections_forall(int (*fn)(struct db_record *rec, - const struct connections_key *key, - const struct connections_data *data, - void *private_data), - void *private_data); -int connections_forall_read(int (*fn)(const struct connections_key *key, - const struct connections_data *data, - void *private_data), - void *private_data); -bool connections_init(bool rw); - /* The following definitions come from lib/dmallocmsg.c */ void register_dmalloc_msgs(struct messaging_context *msg_ctx); diff --git a/source3/include/smb.h b/source3/include/smb.h index 245ff7be11..9a63d8252f 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -564,31 +564,6 @@ Offset Data length. #define NT_HASH_LEN 16 #define LM_HASH_LEN 16 -/* key and data in the connections database - used in smbstatus and smbd */ -struct connections_key { - struct server_id pid; - int cnum; - fstring name; -}; - -struct connections_data { - int magic; - struct server_id pid; - int cnum; - uid_t uid; - gid_t gid; - char servicename[FSTRING_LEN]; - char addr[24]; - char machine[FSTRING_LEN]; - time_t start; - - /* - * This field used to hold the msg_flags. For compatibility reasons, - * keep the data structure in the tdb file the same. - */ - uint32 unused_compatitibility_field; -}; - /* offsets into message for common items */ #define smb_com (NBT_HDR_SIZE+HDR_COM) #define smb_rcls (NBT_HDR_SIZE+HDR_RCLS) |