Deleted Added
full compact
msg.h (7430) msg.h (9759)
1/* $Id: msg.h,v 1.2 1994/09/17 13:24:27 davidg Exp $ */
1/* $Id: msg.h,v 1.3 1995/03/28 07:57:34 bde Exp $ */
2/* $NetBSD: msg.h,v 1.4 1994/06/29 06:44:43 cgd Exp $ */
3
4/*
5 * SVID compatible msg.h file
6 *
7 * Author: Daniel Boulet
8 *
9 * Copyright 1993 Daniel Boulet and RTMX Inc.

--- 120 unchanged lines hidden (view full) ---

130 * Stuff allocated in machdep.h
131 */
132struct msgmap {
133 short next; /* next segment in buffer */
134 /* -1 -> available */
135 /* 0..(MSGSEG-1) -> index of next segment */
136};
137
2/* $NetBSD: msg.h,v 1.4 1994/06/29 06:44:43 cgd Exp $ */
3
4/*
5 * SVID compatible msg.h file
6 *
7 * Author: Daniel Boulet
8 *
9 * Copyright 1993 Daniel Boulet and RTMX Inc.

--- 120 unchanged lines hidden (view full) ---

130 * Stuff allocated in machdep.h
131 */
132struct msgmap {
133 short next; /* next segment in buffer */
134 /* -1 -> available */
135 /* 0..(MSGSEG-1) -> index of next segment */
136};
137
138char *msgpool; /* MSGMAX byte long msg buffer pool */
139struct msgmap *msgmaps; /* MSGSEG msgmap structures */
140struct msg *msghdrs; /* MSGTQL msg headers */
141struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */
138extern char *msgpool; /* MSGMAX byte long msg buffer pool */
139extern struct msgmap *msgmaps; /* MSGSEG msgmap structures */
140extern struct msg *msghdrs; /* MSGTQL msg headers */
141extern struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */
142
143#define MSG_LOCKED 01000 /* Is this msqid_ds locked? */
144
145void msginit __P((void));
146
147#endif /* KERNEL */
148
149#ifndef KERNEL

--- 12 unchanged lines hidden ---
142
143#define MSG_LOCKED 01000 /* Is this msqid_ds locked? */
144
145void msginit __P((void));
146
147#endif /* KERNEL */
148
149#ifndef KERNEL

--- 12 unchanged lines hidden ---