home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / cl5sr386.zip / GO32 / SYMS.H < prev    next >
C/C++ Source or Header  |  1992-04-13  |  1KB  |  34 lines

  1. /* This is file SYMS.H */
  2. /*
  3. ** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. **
  5. ** This file is distributed under the terms listed in the document
  6. ** "copying.dj", available from DJ Delorie at the address above.
  7. ** A copy of "copying.dj" should accompany this file; if not, a copy
  8. ** should be available from where this file was obtained.  This file
  9. ** may not be distributed without a verbatim copy of "copying.dj".
  10. **
  11. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. */
  14.  
  15. #ifndef _SYMS_H_
  16. #define _SYMS_H_
  17.  
  18. void syms_init(char *fname);
  19. void syms_list(int byval);
  20. word32 syms_name2val(char *name);
  21. char *syms_val2name(word32 val, word32 *delta);
  22. char *syms_val2line(word32 val, int *lineret, int exact);
  23.  
  24. extern int undefined_symbol;
  25.  
  26. #define N_INDR  0x0a
  27. #define    N_SETA    0x14        /* Absolute set element symbol */
  28. #define    N_SETT    0x16        /* Text set element symbol */
  29. #define    N_SETD    0x18        /* Data set element symbol */
  30. #define    N_SETB    0x1A        /* Bss set element symbol */
  31. #define N_SETV    0x1C        /* Pointer to set vector in data area.  */
  32.  
  33. #endif
  34.