2003-08-13 01:53:07 +00:00
/*
Unix SMB / CIFS implementation .
messages . c header
Copyright ( C ) Andrew Tridgell 2000
Copyright ( C ) 2001 , 2002 by Martin Pool
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-10 02:07:03 +00:00
the Free Software Foundation ; either version 3 of the License , or
2003-08-13 01:53:07 +00:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 02:07:03 +00:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2003-08-13 01:53:07 +00:00
*/
# ifndef _MESSAGES_H_
# define _MESSAGES_H_
2004-10-26 22:45:33 +00:00
struct messaging_context ;
2003-08-13 01:53:07 +00:00
/* general messages */
# define MSG_DEBUG 1
# define MSG_PING 2
# define MSG_PONG 3
2004-10-18 07:40:17 +00:00
# define MSG_BRL_RETRY 4
2004-11-03 10:09:48 +00:00
# define MSG_PVFS_RETRY_OPEN 5
2005-06-05 06:53:07 +00:00
# define MSG_IRPC 6
2006-03-21 11:47:24 +00:00
# define MSG_PVFS_NOTIFY 7
2006-04-12 04:42:40 +00:00
# define MSG_NTVFS_OPLOCK_BREAK 8
2010-01-06 16:45:34 +11:00
# define MSG_DREPL_ALLOCATE_RID 9
2003-08-13 01:53:07 +00:00
2006-04-12 06:08:24 +00:00
/* temporary messaging endpoints are allocated above this line */
# define MSG_TMP_BASE 1000
2009-09-18 18:05:55 -07:00
/* taskid for messaging of parent process */
# define SAMBA_PARENT_TASKID 0
2003-08-13 01:53:07 +00:00
# endif