Commit | Line | Data |
---|---|---|
dd3b648e RP |
1 | /* xdr_ld.h - xdr for additional dbxWorks structures */ |
2 | ||
3 | /* | |
4 | modification history | |
5 | -------------------- | |
6 | 01a,05jun90,llk extracted from xdr_dbx.h. | |
7 | */ | |
8 | ||
9 | #ifndef INCxdrldh | |
10 | #define INCxdrldh | |
11 | ||
12 | #define MAXSTRLEN 256 | |
13 | #define MAXTBLSZ 100 | |
14 | ||
15 | /* | |
16 | * structure used to pass back the information for a single file | |
17 | * loaded in VxWorks | |
18 | */ | |
19 | struct ldfile { | |
20 | char *name; | |
21 | int txt_addr; | |
22 | int data_addr; | |
23 | int bss_addr; | |
24 | }; | |
25 | typedef struct ldfile ldfile; | |
26 | ||
27 | /* | |
28 | * structure used to return a list of all files loaded over to | |
29 | * VxWorks. (VX_STATE_INQ return) | |
30 | */ | |
31 | struct ldtabl { | |
32 | u_int tbl_size; | |
33 | ldfile *tbl_ent; | |
34 | }; | |
35 | typedef struct ldtabl ldtabl; | |
36 | ||
37 | ||
38 | bool_t xdr_ldfile(); | |
39 | bool_t xdr_ldtabl(); | |
40 | ||
41 | #endif INCxdrldh |