include/messages.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003    messages.c header
00004    Copyright (C) Andrew Tridgell 2000
00005    Copyright (C) 2001, 2002 by Martin Pool
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 _MESSAGES_H_
00023 #define _MESSAGES_H_
00024 
00025 /* general messages */
00026 #define MSG_DEBUG               1
00027 #define MSG_PING                2
00028 #define MSG_PONG                3
00029 #define MSG_PROFILE             4
00030 #define MSG_REQ_DEBUGLEVEL      5
00031 #define MSG_DEBUGLEVEL          6
00032 #define MSG_REQ_PROFILELEVEL    7
00033 #define MSG_PROFILELEVEL        8
00034 #define MSG_REQ_POOL_USAGE      9
00035 #define MSG_POOL_USAGE          10
00036 
00037 /* If dmalloc is included, set a steady-state mark */
00038 #define MSG_REQ_DMALLOC_MARK    11
00039 
00040 /* If dmalloc is included, dump to the dmalloc log a description of
00041  * what has changed since the last MARK */
00042 #define MSG_REQ_DMALLOC_LOG_CHANGED     12
00043 
00044 #define MSG_SHUTDOWN            13
00045 
00046 /* nmbd messages */
00047 #define MSG_FORCE_ELECTION 1001
00048 #define MSG_WINS_NEW_ENTRY 1002
00049 #define MSG_SEND_PACKET    1003
00050 
00051 /* printing messages */
00052 /* #define MSG_PRINTER_NOTIFY  2001*/ /* Obsolete */
00053 #define MSG_PRINTER_NOTIFY2             2002
00054 
00055 #define MSG_PRINTER_DRVUPGRADE          2101
00056 #define MSG_PRINTERDATA_INIT_RESET      2102
00057 #define MSG_PRINTER_UPDATE              2103
00058 #define MSG_PRINTER_MOD                 2104
00059 
00060 /* smbd messages */
00061 #define MSG_SMB_CONF_UPDATED 3001
00062 #define MSG_SMB_FORCE_TDIS   3002
00063 #define MSG_SMB_SAM_SYNC     3003
00064 #define MSG_SMB_SAM_REPL     3004
00065 #define MSG_SMB_UNLOCK       3005
00066 #define MSG_SMB_BREAK_REQUEST 3006
00067 #define MSG_SMB_BREAK_RESPONSE 3007
00068 #define MSG_SMB_ASYNC_LEVEL2_BREAK 3008
00069 #define MSG_SMB_OPEN_RETRY   3009
00070 #define MSG_SMB_KERNEL_BREAK 3010
00071 #define MSG_SMB_FILE_RENAME  3011
00072 #define MSG_SMB_INJECT_FAULT 3012
00073 #define MSG_SMB_BLOCKING_LOCK_CANCEL 3013
00074 #define MSG_SMB_NOTIFY       3014
00075 #define MSG_SMB_STAT_CACHE_DELETE 3015
00076 /*
00077  * Samba4 compatibility
00078  */
00079 #define MSG_PVFS_NOTIFY       3016
00080 
00081 /* winbind messages */
00082 #define MSG_WINBIND_FINISHED     4001
00083 #define MSG_WINBIND_FORGET_STATE 4002
00084 #define MSG_WINBIND_ONLINE       4003
00085 #define MSG_WINBIND_OFFLINE      4004
00086 #define MSG_WINBIND_ONLINESTATUS 4005
00087 #define MSG_WINBIND_TRY_TO_GO_ONLINE 4006
00088 #define MSG_WINBIND_FAILED_TO_GO_ONLINE 4007
00089 
00090 /* Flags to classify messages - used in message_send_all() */
00091 /* Sender will filter by flag. */
00092 
00093 #define FLAG_MSG_GENERAL        0x0001
00094 #define FLAG_MSG_SMBD           0x0002
00095 #define FLAG_MSG_NMBD           0x0004
00096 #define FLAG_MSG_PRINT_NOTIFY   0x0008
00097 #define FLAG_MSG_PRINT_GENERAL  0x0010
00098 
00099 struct process_id {
00100         pid_t pid;
00101 };
00102 
00103 /*
00104  * Samba4 API compatibility layer
00105  */
00106 
00107 struct server_id {
00108         struct process_id id;
00109 };
00110 
00111 #endif

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