include/rpc_shutdown.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003    
00004    Copyright (C) Jim McDonough (jmcd@us.ibm.com)      2003.
00005    Copyright (C) Gerald (Jerry) Carter                2005.
00006    
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2 of the License, or
00010    (at your option) any later version.
00011    
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016    
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 */
00021 
00022 #ifndef _RPC_SHUTDOWN_H /* _RPC_SHUTDOWN_H */
00023 #define _RPC_SHUTDOWN_H 
00024 
00025 
00026 /* opnums */
00027 
00028 #define SHUTDOWN_INIT           0x00
00029 #define SHUTDOWN_ABORT          0x01
00030 #define SHUTDOWN_INIT_EX        0x02
00031 
00032 
00033 /***********************************************/
00034  
00035 typedef struct {
00036         uint16 *server;
00037         UNISTR4 *message;       
00038         uint32 timeout;         /* in seconds */
00039         uint8 force;            /* boolean: force shutdown */
00040         uint8 reboot;           /* boolean: reboot on shutdown */               
00041 } SHUTDOWN_Q_INIT;
00042 
00043 typedef struct {
00044         WERROR status;          /* return status */
00045 } SHUTDOWN_R_INIT;
00046 
00047 /***********************************************/
00048  
00049 typedef struct {
00050         uint16 *server;
00051         UNISTR4 *message;       
00052         uint32 timeout;         /* in seconds */
00053         uint8 force;            /* boolean: force shutdown */
00054         uint8 reboot;           /* boolean: reboot on shutdown */
00055         uint32 reason;          /* reason - must be defined code */
00056 } SHUTDOWN_Q_INIT_EX;
00057 
00058 typedef struct {
00059         WERROR status;
00060 } SHUTDOWN_R_INIT_EX;
00061 
00062 /***********************************************/
00063 
00064 typedef struct {
00065         uint16 *server;
00066 } SHUTDOWN_Q_ABORT;
00067 
00068 typedef struct { 
00069         WERROR status; 
00070 } SHUTDOWN_R_ABORT;
00071 
00072 
00073 
00074 #endif /* _RPC_SHUTDOWN_H */
00075 

Sambaに対してSat Aug 29 21:22:56 2009に生成されました。  doxygen 1.4.7