1 | /* $Id: api.cpp,v 1.1 2001-01-20 15:47:33 bird Exp $
|
---|
2 | *
|
---|
3 | * API Overload Init and Helper Function.
|
---|
4 | *
|
---|
5 | * Copyright (c) 2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
|
---|
6 | *
|
---|
7 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 | /*******************************************************************************
|
---|
12 | * Defined Constants And Macros *
|
---|
13 | *******************************************************************************/
|
---|
14 | #define
|
---|
15 |
|
---|
16 |
|
---|
17 | /*******************************************************************************
|
---|
18 | * Header Files *
|
---|
19 | *******************************************************************************/
|
---|
20 | #include <os2.h>
|
---|
21 |
|
---|
22 | #include "api.h"
|
---|
23 |
|
---|
24 |
|
---|
25 | /*******************************************************************************
|
---|
26 | * Structures and Typedefs *
|
---|
27 | *******************************************************************************/
|
---|
28 | typedef struct _MaskArray
|
---|
29 | {
|
---|
30 | int cMasks;
|
---|
31 | PSZ * papszMasks;
|
---|
32 | } MASKARRAY, *PMASKARRAY;
|
---|
33 |
|
---|
34 | typedef struct _ApiDataEntry
|
---|
35 | {
|
---|
36 | MASKARRAY ProcessInc;
|
---|
37 | MASKARRAY ProcessExc;
|
---|
38 | MASKARRAY ModuleInc;
|
---|
39 | MASKARRAY ModuleExc;
|
---|
40 | } APIDATAENTRY, *PAPIDATAENTRY;
|
---|
41 |
|
---|
42 |
|
---|
43 | /*******************************************************************************
|
---|
44 | * Global Variables *
|
---|
45 | *******************************************************************************/
|
---|
46 | APIDATAENTRY aApiData[API_MAX];
|
---|
47 |
|
---|
48 |
|
---|
49 | /*******************************************************************************
|
---|
50 | * Internal Functions *
|
---|
51 | *******************************************************************************/
|
---|
52 | int apiReadIniFile(PSZ pszIniFile);
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 | int apiReadIniFile(PSZ pszIniFile)
|
---|
61 | {
|
---|
62 |
|
---|
63 | }
|
---|
64 |
|
---|
65 |
|
---|