nld and noft Manual
Sample nld and noft Session
nld and noft Manual—520384-003
A-2
Header Files
Subsections:
•
Header Files on page A-2
•
Source Module MAINC on page A-3
•
Source Module MODULE1C on page A-3
•
Source Module MODULE2C on page A-5
•
User Library UTILC on page A-6
Header Files
The source modules and the user library module use the following header files:
Module
Header File
GLOBALSH MODULE1H MODULE2H UTILH
MAINC X X X
MODULE1C X X X
MODULE2C X
UTILC X
Example A-1. Header File GLOBALSH With Edit Line Numbers
0
.001 #define BUS_STOP_CAPACITY 50
.002 #define BUS_CAPACITY 44
.003 #define MAXSTOPS 5
.004
.01
.1
1 extern long *bus_stop_array;
2 extern long passengers_on_bus;
Example A-2. Header File MODULE1H With Edit Line Numbers
0
1
2
5 void initialize(long);
6 void wrapup(long);
Example A-3. Header File MODULE2H With Edit Line Numbers
1
2
3 void add_passengers(long);
4 void delete_passengers(long);