summaryrefslogtreecommitdiff
path: root/source/script
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-06-20 16:54:32 +0000
committerSimo Sorce <idra@samba.org>2001-06-20 16:54:32 +0000
commite1572f85d6247b760db10825b2fa688d7ed50bd3 (patch)
tree873a9381269e64ae6844f12af54d249e092b787b /source/script
parentd0b37d1a623acce2ae4509aebda85ad1280dc8ac (diff)
downloadsamba-e1572f85d6247b760db10825b2fa688d7ed50bd3.tar.gz
initial support for paramter type P_LIST
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign)
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkproto.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 5c3594f7c99..76a61193a27 100644
--- a/source/script/mkproto.awk
+++ b/source/script/mkproto.awk
@@ -60,6 +60,11 @@ END {
printf "BOOL %s(int );\n", a[2]
}
+/^FN_LOCAL_LIST/ {
+ split($0,a,"[,()]")
+ printf "char **%s(int );\n", a[2]
+}
+
/^FN_LOCAL_STRING/ {
split($0,a,"[,()]")
printf "char *%s(int );\n", a[2]
@@ -80,6 +85,11 @@ END {
printf "BOOL %s(void);\n", a[2]
}
+/^FN_GLOBAL_LIST/ {
+ split($0,a,"[,()]")
+ printf "char **%s(void);\n", a[2]
+}
+
/^FN_GLOBAL_STRING/ {
split($0,a,"[,()]")
printf "char *%s(void);\n", a[2]