4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
37 #define TEST_CLI_STOPPED (0x0001)
38 #define DD_SERVICE_STOPPED (0x0002)
39 #define SCN_STOPPED (0x0004)
40 #define ESI_STOPPED (0x0008)
63 typedef struct msg_text
{
64 struct msg_text
*prev
;
65 struct msg_text
*next
;
70 typedef struct msg_queue
{
73 pthread_mutex_t q_mutex
;
77 /* function prototypes */
78 msg_queue_t
*queue_calloc();
79 int queue_msg_set(msg_queue_t
*, msg_id_t
, void *);
80 msg_text_t
*queue_msg_get(msg_queue_t
*);
81 void queue_msg_free(msg_text_t
*);
87 #endif /* _ISNS_MSGQ_H */