From 82970b833cca505fcb5013c0264edde5a79cbd2e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 20 Jun 2001 16:54:32 +0000 Subject: 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) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3) --- source3/script/mkproto.awk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/script') diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk index 5c3594f7c9..76a61193a2 100644 --- a/source3/script/mkproto.awk +++ b/source3/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] -- cgit