summaryrefslogtreecommitdiff
path: root/source3/script/mkproto.awk
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-11 17:05:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:46 -0500
commitb6b84f98c0420f45c498b025d9edbeb7f830205a (patch)
tree458be5abc42d9fc7f67f9de0d4e604a910c70e36 /source3/script/mkproto.awk
parent5f3a692748e5927d195e02844e6cbb31540da965 (diff)
downloadsamba-b6b84f98c0420f45c498b025d9edbeb7f830205a.tar.gz
samba-b6b84f98c0420f45c498b025d9edbeb7f830205a.tar.bz2
samba-b6b84f98c0420f45c498b025d9edbeb7f830205a.zip
r19668: Convert the locking params to use struct share_param instead of snum
(This used to be commit 609dbec600048718b86cd1ecdc2ce49bbdeb803c)
Diffstat (limited to 'source3/script/mkproto.awk')
-rw-r--r--source3/script/mkproto.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index 97578b046f..65a10c856e 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -53,6 +53,11 @@ END {
printf "BOOL %s(const struct share_params *p );\n", a[2]
}
+/^FN_LOCAL_PARM_INTEGER/ {
+ split($0,a,"[,()]")
+ printf "int %s(const struct share_params *p );\n", a[2]
+}
+
/^FN_LOCAL_LIST/ {
split($0,a,"[,()]")
printf "const char **%s(int );\n", a[2]