summaryrefslogtreecommitdiff
path: root/PACE/pace/vxworks/mqueue.h
blob: 8e3b66e136a719ee2d6643efc33dc332baa812de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* $Id$

 * ============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/vxworks/mqueue.h
 *
 * = AUTHOR
 *    Joe Hoffert
 *
 * ============================================================================ */

#ifndef PACE_MQUEUE_H_VXWORKS
#define PACE_MQUEUE_H_VXWORKS

#if PACE_LINUX
# include "pace/emulation/mqueue.h"
#else
# include <mqueue.h>
#endif /* PACE_LINUX */

#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */

#ifndef PACE_MQD_T
#define PACE_MQD_T
  typedef mqd_t pace_mqd_t;
#endif /* PACE_MQD_T */

#ifndef PACE_MQ_ATTR
#define PACE_MQ_ATTR
  typedef struct mq_attr pace_mq_attr;
#endif /* PACE_MQ_ATTR */

#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */

#endif /* PACE_MQUEUE_H_VXWORKS */