mbgtools-lx
4.2.8
rsrc.h
Go to the documentation of this file.
1
2
/**************************************************************************
3
*
4
* $Id: rsrc.h 1.7 2018/06/12 16:02:19 martin REL_M $
5
*
6
* Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
7
*
8
* Description:
9
* Definitions used to access resource manager functions under
10
* different operating systems.
11
*
12
* -----------------------------------------------------------------------
13
* $Log: rsrc.h $
14
* Revision 1.7 2018/06/12 16:02:19 martin
15
* Conditional DEBUG_RSRC.
16
* Revision 1.6 2017/05/10 15:26:10 martin
17
* Tiny cleanup.
18
* Revision 1.5 2012/10/12 11:25:14 martin
19
* Support *BSD.
20
* Revision 1.4 2001/02/28 15:45:11 MARTIN
21
* Modified preprocessor syntax.
22
* Revision 1.3 2001/02/05 10:22:24 MARTIN
23
* Linux support.
24
* Revision 1.2 2000/09/20 08:15:34 MARTIN
25
* Initial revision
26
*
27
**************************************************************************/
28
29
#ifndef _RSRC_H
30
#define _RSRC_H
31
32
33
/* Other headers to be included */
34
35
#include <
mbg_tgt.h
>
36
37
#if !defined( DEBUG_RSRC )
38
#define DEBUG_RSRC 0
39
#endif
40
41
#if defined( MBG_TGT_OS2 )
42
#include <rsrc_os2.h>
// resource manager functions for OS/2
43
#elif defined( MBG_TGT_WIN32 )
44
#include <rsrc_nt.h>
// resource manager functions for Win NT
45
#elif defined( MBG_TGT_LINUX )
46
#include <
rsrc_lx.h
>
// resource manager functions for Linux
47
#elif defined( MBG_TGT_BSD )
48
#include <rsrc_bsd.h>
// resource manager functions for *BSD
49
#endif
50
51
52
53
#ifdef _RSRC
54
#define _ext
55
#else
56
#define _ext extern
57
#endif
58
59
60
/* Start of header body */
61
62
#ifdef __cplusplus
63
extern
"C"
{
64
#endif
65
66
enum
67
{
68
RSRC_BUS_ISA
,
69
RSRC_BUS_EISA
,
70
RSRC_BUS_MCA
,
71
RSRC_BUS_PCI
72
};
73
74
75
/* ----- function prototypes begin ----- */
76
77
/* This section was generated automatically */
78
/* by MAKEHDR, do not remove the comments. */
79
80
/* (no header definitions found) */
81
82
/* ----- function prototypes end ----- */
83
84
#ifdef __cplusplus
85
}
86
#endif
87
88
89
/* End of header body */
90
91
#undef _ext
92
93
#endif
/* _RSRC_H */
94
RSRC_BUS_PCI
Definition:
rsrc.h:71
rsrc_lx.h
RSRC_BUS_ISA
Definition:
rsrc.h:68
RSRC_BUS_EISA
Definition:
rsrc.h:69
RSRC_BUS_MCA
Definition:
rsrc.h:70
mbg_tgt.h
mbglib
common
rsrc.h
Generated by
1.8.13