From 7f904f0b50dc59282f8804fcd87407d0ee3af918 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 13 May 2009 16:16:33 +0200 Subject: [PATCH] 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 (cherry picked from commit e272acf4848b6c5944acc685b0738e520b3039fb) --- source3/librpc/idl/libnetapi.idl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 + ); + } -- 2.11.4.GIT