/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:speakervar.h 12.0$ */
/* $ACIS:speakervar.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/caio/RCS/speakervar.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidspeakervar = "$Header:speakervar.h 12.0$";
#endif

/* these are the software structure used by speaker.c */
/* queue of speaker notes */
struct spkq {
	struct spkq	*qp_next;	/* pointer to next queu */
	struct spk_blk	q_spkblk;	/* block of attributes	*/
};

/* speaker softc structure */
struct spk_softc {
	char	spkopen;		/* open flag */
	char	spkstate;		/* asleep/awake flag */
#define	SPKASLEEP	1
#define SPKAWAKE	0
	struct spkq	*spkhead;	/* head of speaker queue */
	struct spkq	*spktail;	/* tail of speaker queue */
};
#define	SPKPOOLSZ	5
#define	SPKPRI		(PZERO + 5)
