s3-netapi: add NetShutdownInit and NetShutdownAbort.
authorGünther Deschner <gd@samba.org>
Wed, 13 May 2009 14:16:33 +0000 (16:16 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 14 May 2009 12:18:26 +0000 (14:18 +0200)
I know, they don't exist as such calls on windows but having them in
libnetapi.so would be very handy.

Guenther

source3/librpc/idl/libnetapi.idl

index 6be2171beef2c3e1eda6bd5509885abf87e7cc4c..54e1bff8abeac3d7276107b61762bdf108a23365 100644 (file)
@@ -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
+       );
+
 }