summaryrefslogtreecommitdiff
path: root/source3/lib/conn_tdb.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-09-03 11:13:16 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:15:02 +0200
commit0ccbf89bda71cdbe8d216bab0aa6aacd98cf95df (patch)
tree5bc328d934fa702e4d6d5e97164f230f195f1f3f /source3/lib/conn_tdb.h
parentf76436c6ea7867fb60d6ac6b65cffc502a018467 (diff)
downloadsamba-0ccbf89bda71cdbe8d216bab0aa6aacd98cf95df.tar.gz
samba-0ccbf89bda71cdbe8d216bab0aa6aacd98cf95df.tar.bz2
samba-0ccbf89bda71cdbe8d216bab0aa6aacd98cf95df.zip
s3:lib/conn_tdb: implement connections_forall_read() based on smbXsrv_*_global_traverse()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/conn_tdb.h')
-rw-r--r--source3/lib/conn_tdb.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/lib/conn_tdb.h b/source3/lib/conn_tdb.h
index 180a5e23fd..2f45281a81 100644
--- a/source3/lib/conn_tdb.h
+++ b/source3/lib/conn_tdb.h
@@ -25,21 +25,14 @@ struct connections_key {
};
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 addr[FSTRING_LEN];
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;
};
/* The following definitions come from lib/conn_tdb.c */