From: Günther Deschner Date: Wed, 13 May 2009 14:16:33 +0000 (+0200) Subject: s3-netapi: add NetShutdownInit and NetShutdownAbort. X-Git-Tag: tdb-1.1.5~559 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e272acf4848b6c5944acc685b0738e520b3039fb;p=thirdparty%2Fsamba.git s3-netapi: add NetShutdownInit and NetShutdownAbort. I know, they don't exist as such calls on windows but having them in libnetapi.so would be very handy. Guenther --- diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 6be2171beef..54e1bff8abe 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -1849,4 +1849,25 @@ interface libnetapi [out] uint32 *total_entries, [in,out] uint32 *resume_handle ); + + /*******************************************/ + /* NetShutdownInit */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS NetShutdownInit( + [in] string server_name, + [in] string message, + [in] uint32 timeout, + [in] uint8 force_apps, + [in] uint8 do_reboot + ); + + /*******************************************/ + /* NetShutdownAbort */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS NetShutdownAbort( + [in] string server_name + ); + }