diff options
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 23a18331fe..55d2408248 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -2,6 +2,8 @@ #include <stdint.h> +#include "libcli/util/ntstatus.h" + #define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x)) #ifndef MAXSUBAUTHS #define MAXSUBAUTHS 15 /* max sub authorities in a SID */ @@ -2069,4 +2071,32 @@ struct NetFileEnum { }; + +struct NetShutdownInit { + struct { + const char * server_name; + const char * message; + uint32_t timeout; + uint8_t force_apps; + uint8_t do_reboot; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + + +struct NetShutdownAbort { + struct { + const char * server_name; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + #endif /* _HEADER_libnetapi */ |