diff options
author | Günther Deschner <gd@samba.org> | 2009-05-13 16:16:33 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-05-26 09:39:27 +0200 |
commit | 06b53d008065d85a315b3f2bab47478e350b70c9 (patch) | |
tree | ba1774ee9818c424cdd89dbcdc1831a5431063fa | |
parent | aab409f21aa8d768ab96ad0b862b5e290a67b578 (diff) | |
download | samba-06b53d008065d85a315b3f2bab47478e350b70c9.tar.gz |
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)
(cherry picked from commit 7f904f0b50dc59282f8804fcd87407d0ee3af918)
-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 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 + ); + } |