summaryrefslogtreecommitdiff
path: root/source/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-21 04:54:30 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-21 04:54:30 +0000
commit4951755413c11d4c5b9af4699a6e622056d52433 (patch)
tree23ea1c61c45663b69a3fba77f4e6b967d5d18435 /source/script
parent7067aeecabaea8a35f7a27de4b44f1e11afd07b7 (diff)
downloadsamba-4951755413c11d4c5b9af4699a6e622056d52433.tar.gz
first cut at using the tdb code for the connections structure, the
SWAT status page and smbstatus. It made the code _much_ simpler, I wish we'd done a database module a long time ago!
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkproto.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 923624c3a26..fd0cbcd2f8f 100644
--- a/source/script/mkproto.awk
+++ b/source/script/mkproto.awk
@@ -98,6 +98,10 @@ END {
gotstart = 1;
}
+ if( $0 ~ /^TDB_CONTEXT|^TDB_DATA/ ) {
+ gotstart = 1;
+ }
+
if( $0 ~ /^long|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ ) {
gotstart = 1;
}