summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/libnetapi.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-13 16:27:58 +0200
committerGünther Deschner <gd@samba.org>2009-05-14 14:18:26 +0200
commit8fd3c8902c5e953a0ddf184b08f9e37f954ee12e (patch)
treef43289ac577b6f62ad81ae1d44c8a6aba7869e94 /source3/lib/netapi/libnetapi.h
parent3a2c748cf4626266899103aa719ea6ac2eae3a9f (diff)
downloadsamba-8fd3c8902c5e953a0ddf184b08f9e37f954ee12e.tar.gz
samba-8fd3c8902c5e953a0ddf184b08f9e37f954ee12e.tar.xz
samba-8fd3c8902c5e953a0ddf184b08f9e37f954ee12e.zip
s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.
Guenther
Diffstat (limited to 'source3/lib/netapi/libnetapi.h')
-rw-r--r--source3/lib/netapi/libnetapi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/lib/netapi/libnetapi.h b/source3/lib/netapi/libnetapi.h
index 1b84b75f945..3eab6e61ab5 100644
--- a/source3/lib/netapi/libnetapi.h
+++ b/source3/lib/netapi/libnetapi.h
@@ -426,4 +426,18 @@ WERROR NetFileEnum_r(struct libnetapi_ctx *ctx,
struct NetFileEnum *r);
WERROR NetFileEnum_l(struct libnetapi_ctx *ctx,
struct NetFileEnum *r);
+NET_API_STATUS NetShutdownInit(const char * server_name /* [in] */,
+ const char * message /* [in] */,
+ uint32_t timeout /* [in] */,
+ uint8_t force_apps /* [in] */,
+ uint8_t do_reboot /* [in] */);
+WERROR NetShutdownInit_r(struct libnetapi_ctx *ctx,
+ struct NetShutdownInit *r);
+WERROR NetShutdownInit_l(struct libnetapi_ctx *ctx,
+ struct NetShutdownInit *r);
+NET_API_STATUS NetShutdownAbort(const char * server_name /* [in] */);
+WERROR NetShutdownAbort_r(struct libnetapi_ctx *ctx,
+ struct NetShutdownAbort *r);
+WERROR NetShutdownAbort_l(struct libnetapi_ctx *ctx,
+ struct NetShutdownAbort *r);
#endif /* __LIBNETAPI_LIBNETAPI__ */