home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / SOURCES / DUMP.H < prev    next >
C/C++ Source or Header  |  1992-05-27  |  3KB  |  79 lines

  1. /*##############################################################################
  2.  
  3. FUNNNELWEB COPYRIGHT
  4. ====================
  5. FunnelWeb is a literate-programming macro preprocessor.
  6.  
  7. Copyright (C) 1992 Ross N. Williams.
  8.  
  9.    Ross N. Williams
  10.    ross@spam.adelaide.edu.au
  11.    16 Lerwick Avenue, Hazelwood Park 5066, Australia.
  12.  
  13. This program is free software; you can redistribute it and/or modify
  14. it under the terms of Version 2 of the GNU General Public License as
  15. published by the Free Software Foundation.
  16.  
  17. This program is distributed WITHOUT ANY WARRANTY; without even the implied
  18. warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  19. See Version 2 of the GNU General Public License for more details.
  20.  
  21. You should have received a copy of Version 2 of the GNU General Public
  22. License along with this program. If not, you can FTP the license from
  23. prep.ai.mit.edu/pub/gnu/COPYING-2 or write to the Free Software
  24. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  25.  
  26. Section 2a of the license requires that all changes to this file be
  27. recorded prominently in this file. Please record all changes here.
  28.  
  29. Programmers:
  30.    RNW  Ross N. Williams  ross@spam.adelaide.edu.au
  31.  
  32. Changes:
  33.    07-May-1992  RNW  Program prepared for release under GNU GPL V2.
  34.  
  35. ##############################################################################*/
  36.  
  37.  
  38. /******************************************************************************/
  39. /*                                     DUMP.H                                 */
  40. /******************************************************************************/
  41. /*                                                                            */
  42. /* This package contains functions that dump text representations of          */
  43. /* FunnelWeb data structures. Each function accepts a wf stream on which it   */
  44. /* writes its text representation. These functions are used in testing and    */
  45. /* debugging only and are not used ordinarily in the program.                 */
  46. /*                                                                            */
  47. /******************************************************************************/
  48.  
  49. #include "style.h"
  50.  
  51. #include "clock.h"
  52. #include "writfile.h"
  53.  
  54. /******************************************************************************/
  55.  
  56. EXPORT void dm_mem P_((p_wf_t,char *,ulong));
  57. /* Writes a hex and ascii dump of the specified block of memory to the        */
  58. /* specified stream.                                                          */
  59.  
  60. EXPORT void dm_lnls P_((p_wf_t));
  61. /* Dumps a text representation of the global line list to the given stream.   */
  62.  
  63. EXPORT void dm_tkls P_((p_wf_t));
  64. /* Dumps a text representation of the global token list to the given stream.  */
  65.  
  66. EXPORT void dm_matb P_((p_wf_t));
  67. /* Dumps a text representation of the macro table to the given stream.        */
  68.  
  69. EXPORT void dm_dcls P_((p_wf_t));
  70. /* Dumps a text representation of the document list to the given stream.      */
  71.  
  72. EXPORT void dm_times P_((p_wf_t,p_ck_t,p_ck_t,p_ck_t,p_ck_t,
  73.                          p_ck_t,p_ck_t,p_ck_t,p_ck_t,p_ck_t));
  74. /* Dumps a text representation of the execution times to the given stream.    */
  75.  
  76. /******************************************************************************/
  77. /*                                 End of DUMP.H                              */
  78. /******************************************************************************/
  79.