home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_GEN / FSDB091A.ZIP / SYMS.H < prev    next >
C/C++ Source or Header  |  1994-02-26  |  1KB  |  41 lines

  1. /* This is file SYMS.H */
  2. /*
  3. ** Copyright (C) 1993 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. #ifdef FULLSCR
  24. void syms_listwild(char *pattern,
  25.            void (*handler)(word32, char, char *, char *, int));
  26. #else
  27. void syms_listwild(char *pattern);
  28. #endif
  29.  
  30.  
  31. extern int undefined_symbol;
  32.  
  33. #define N_INDR  0x0a
  34. #define    N_SETA    0x14        /* Absolute set element symbol */
  35. #define    N_SETT    0x16        /* Text set element symbol */
  36. #define    N_SETD    0x18        /* Data set element symbol */
  37. #define    N_SETB    0x1A        /* Bss set element symbol */
  38. #define N_SETV    0x1C        /* Pointer to set vector in data area.  */
  39.  
  40. #endif
  41.