From 324fcc27f9e63b63e0c7403f1c100949952fb0b5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Mar 2006 16:51:56 +0000 Subject: r13964: make lp_* functions public metze (This used to be commit 2db081fd708ff2403082e31a777320a713e74756) --- source4/script/mkproto.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/script/mkproto.pl') diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl index 1fca294d97..e79bcfd9b6 100755 --- a/source4/script/mkproto.pl +++ b/source4/script/mkproto.pl @@ -89,7 +89,7 @@ sub handle_loadparm($$) { my ($file,$line) = @_; - if ($line =~ /^FN_(GLOBAL|LOCAL)_(CONST_STRING|STRING|BOOL|CHAR|INTEGER|LIST)\((\w+),.*\)/o) { + if ($line =~ /^_PUBLIC_ FN_(GLOBAL|LOCAL)_(CONST_STRING|STRING|BOOL|CHAR|INTEGER|LIST)\((\w+),.*\)/o) { my $scope = $1; my $type = $2; my $name = $3; @@ -133,6 +133,11 @@ sub process_file($$$) next if ($line =~ /^\/|[;]/); + if ($line =~ /^_PUBLIC_ FN_/) { + handle_loadparm($public_file, $line); + next; + } + if ($line =~ /^_PUBLIC_[\t ]/) { $target = $public_file; $is_public = 1; @@ -147,11 +152,6 @@ sub process_file($$$) next if ($line =~ /^int\s*main/); - if ($line =~ /^FN_/) { - handle_loadparm($public_file, $line); - next; - } - if ( $line =~ /\(.*\)\s*$/o ) { chomp $line; print $target "$line;\n"; -- cgit