/**	 @(#)conmsg.h	13.1 (RC Computer) 91/02/02	 */

/*
 * This file contains the definitions for the console message device
 * (/dev/console_message). 
 */

#ifndef __CONMSG
#define __CONMSG

/***************************************\
 * Constants...			       *
\***************************************/

/*
 * CONMSG_FD 
 *
 * I am the number of the file-descriptor to use for console messages. 
 */

#define CONMSG_FD		2

/***************************************\
 * Macroes...			       *
\***************************************/

/*
 * Define NIL if not already defined. 
 */
#ifndef NIL
#define NIL(type)		((type (*))0)
#endif NIL

/***************************************\
 * External definitions...	       *
\***************************************/

extern int		 conmsg_open();
extern int		 conmsg_read();
extern int		 conmsg_write();
extern int		 conmsg_ioctl();
extern int		 conmsg_select_scan();
extern int		 conmsg_close();
extern int		 conmsg_select_mark();

#endif __CONMSG
