fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912
[Samba/gebeck_regimport.git] / source3 / include / rpc_shutdown.h
blobb8e50b835f527fa9e9dd46a04b6481488c22c94a
1 /*
2 Unix SMB/CIFS implementation.
3 SMB parameters and setup
4 Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2003.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef _RPC_SHUTDOWN_H /* _RPC_SHUTDOWN_H */
22 #define _RPC_SHUTDOWN_H
25 /* Implemented */
26 #define SHUTDOWN_INIT 0x00
27 #define SHUTDOWN_ABORT 0x01
28 /* NOT IMPLEMENTED
29 #define SHUTDOWN_INIT_EX 0x02
32 /* SHUTDOWN_Q_INIT */
33 typedef struct q_shutodwn_init_info
35 uint32 ptr_server;
36 uint16 server;
37 uint32 ptr_msg;
38 UNIHDR hdr_msg; /* shutdown message */
39 UNISTR2 uni_msg; /* seconds */
40 uint32 timeout; /* seconds */
41 uint8 force; /* boolean: force shutdown */
42 uint8 reboot; /* boolean: reboot on shutdown */
44 } SHUTDOWN_Q_INIT;
46 /* SHUTDOWN_R_INIT */
47 typedef struct r_shutdown_init_info
49 NTSTATUS status; /* return status */
51 } SHUTDOWN_R_INIT;
53 /* SHUTDOWN_Q_ABORT */
54 typedef struct q_shutdown_abort_info
56 uint32 ptr_server;
57 uint16 server;
59 } SHUTDOWN_Q_ABORT;
61 /* SHUTDOWN_R_ABORT */
62 typedef struct r_shutdown_abort_info
64 NTSTATUS status; /* return status */
66 } SHUTDOWN_R_ABORT;
69 #endif /* _RPC_SHUTDOWN_H */