OSAPI
0.29
Open System API
proc_type_library.h
1
// *****************************************************************************************
2
//
3
// File description:
4
//
5
// Author: Joao Costa
6
// Purpose: Proc module type library declarations
7
//
8
// *****************************************************************************************
9
10
#ifndef OSAPI_PROC_TYPE_LIBRARY_H_
11
#define OSAPI_PROC_TYPE_LIBRARY_H_
12
13
14
// *****************************************************************************************
15
//
16
// Section: Constants & macros
17
//
18
// *****************************************************************************************
19
20
// Maximum internal size of the name of a loaded library
21
// This value must be the superset of OS values
22
#define OSAPI_PROC_LIBRARY_MAX_NAME 20
23
24
// Wrapper macros to retrieve a library info above given a pointer X and index Y
25
#define proc_getLibraryName( x ) ((x).name)
26
#define proc_getLibraryVersion( x ) ((x).version)
27
28
29
// *****************************************************************************************
30
//
31
// Section: Import headers
32
//
33
// *****************************************************************************************
34
35
// Force baseline before system headers
36
37
// System includes
38
39
// Generic OSAPI includes
40
41
50
51
// *****************************************************************************************
52
//
53
// Section: Define process related types
54
//
55
// *****************************************************************************************
56
57
59
struct
osapi_proc_libinfo_S
60
{
61
char
name
[ OSAPI_PROC_LIBRARY_MAX_NAME + 1 ];
62
unsigned
int
version
;
63
};
64
66
typedef
struct
osapi_proc_libinfo_S
t_libinfo
;
67
68
71
72
73
#endif
/* OSAPI_PROC_TYPE_LIBRARY_H_ */
osapi_proc_libinfo_S::version
unsigned int version
Library version.
Definition:
proc_type_library.h:62
osapi_proc_libinfo_S::name
char name[OSAPI_PROC_LIBRARY_MAX_NAME+1]
Library Name.
Definition:
proc_type_library.h:61
osapi_proc_libinfo_S
The s_libinfo structure is a wrapper structure for the proc_library_getAllLoaded call to contain the ...
Definition:
proc_type_library.h:59
code
proc
type
proc_type_library.h
Generated by
1.8.17