diff options
author | Günther Deschner <gd@samba.org> | 2009-05-13 16:16:33 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-14 14:18:26 +0200 |
commit | e272acf4848b6c5944acc685b0738e520b3039fb (patch) | |
tree | b615aefc2177a483279b3e7faabd0d33d7dd62d4 | |
parent | 0a5d99ae7ddc6531895a8c34a922d17515f609bc (diff) | |
download | samba-e272acf4848b6c5944acc685b0738e520b3039fb.tar.gz samba-e272acf4848b6c5944acc685b0738e520b3039fb.tar.bz2 samba-e272acf4848b6c5944acc685b0738e520b3039fb.zip |
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
-rw-r--r-- | source3/librpc/idl/libnetapi.idl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 6be2171bee..54e1bff8ab 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 + ); + } |