2 Unix SMB/CIFS implementation.
4 Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2003.
5 Copyright (C) Gerald (Jerry) Carter 2005.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _RPC_SHUTDOWN_H /* _RPC_SHUTDOWN_H */
23 #define _RPC_SHUTDOWN_H
28 #define SHUTDOWN_INIT 0x00
29 #define SHUTDOWN_ABORT 0x01
30 #define SHUTDOWN_INIT_EX 0x02
33 /***********************************************/
38 uint32 timeout
; /* in seconds */
39 uint8 force
; /* boolean: force shutdown */
40 uint8 reboot
; /* boolean: reboot on shutdown */
44 WERROR status
; /* return status */
47 /***********************************************/
52 uint32 timeout
; /* in seconds */
53 uint8 force
; /* boolean: force shutdown */
54 uint8 reboot
; /* boolean: reboot on shutdown */
55 uint32 reason
; /* reason - must be defined code */
62 /***********************************************/
74 #endif /* _RPC_SHUTDOWN_H */