From 05be1cc717b4b35e0a78806330a7deaee89663e3 Mon Sep 17 00:00:00 2001 From: Andrew Kroeger Date: Mon, 1 Jun 2009 04:36:50 -0500 Subject: s4:mkproto: Add NET_API_STATUS return type. The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type for some functions. The torture/libnetapi/proto.h private header that was being generated by mkproto.pl did not include a prototype for the test_netuseradd() function, as it did not know how to handle the NET_API_STATUS return type. --- source4/script/mkproto.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl index e1b790d41d..59307881c4 100755 --- a/source4/script/mkproto.pl +++ b/source4/script/mkproto.pl @@ -206,7 +206,7 @@ sub process_file($$$) void|bool|int|struct|char|const|\w+_[tT]\s|uint|unsigned|long|NTSTATUS| ADS_STATUS|enum\s.*\(|DATA_BLOB|WERROR|XFILE|FILE|DIR| double|TDB_CONTEXT|TDB_DATA|TALLOC_CTX|NTTIME|FN_|init_module| - GtkWidget|GType|smb_ucs2_t|krb5_error_code) + GtkWidget|GType|smb_ucs2_t|krb5_error_code|NET_API_STATUS) /xo); next if ($line =~ /^int\s*main/); -- cgit