1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

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.
This commit is contained in:
Andrew Kroeger 2009-06-01 04:36:50 -05:00 committed by Andrew Bartlett
parent a0edb50552
commit 05be1cc717

View File

@ -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/);