summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d3d64a2edf..6c3d7488c3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -839,19 +839,23 @@ struct passdb_ops {
#endif
};
-/* this is used for smbstatus */
+/* key and data in the connections database - used in smbstatus and smbd */
+struct connections_key {
+ pid_t pid;
+ int cnum;
+ fstring name;
+};
-struct connect_record
-{
- int magic;
- pid_t pid;
- int cnum;
- uid_t uid;
- gid_t gid;
- char name[24];
- char addr[24];
- char machine[128];
- time_t start;
+struct connections_data {
+ int magic;
+ pid_t pid;
+ int cnum;
+ uid_t uid;
+ gid_t gid;
+ char name[24];
+ char addr[24];
+ char machine[128];
+ time_t start;
};
/* the following are used by loadparm for option lists */