home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / misc / adoc / source / mactab.h < prev    next >
C/C++ Source or Header  |  1995-04-13  |  2KB  |  51 lines

  1. /*                                                               -*- C -*-
  2.  *  MACTAB.H
  3.  *
  4.  *  (c)Copyright 1995 by Tobias Ferber,  All Rights Reserved
  5.  *
  6.  *  This file is free software; you can redistribute it and/or modify
  7.  *  it under the terms of the GNU General Public License as published
  8.  *  by the Free Software Foundation; either version 1 of the License,
  9.  *  or (at your option) any later version.
  10.  *
  11.  *  This file is distributed in the hope that it will be useful,
  12.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *  GNU General Public License for more details.
  15.  *
  16.  *  You should have received a copy of the GNU General Public License
  17.  *  along with this program; see the file COPYING.  If not, write to
  18.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20.  
  21. /* $VER: $Id: mactab.h,v 1.3 1995/03/20 18:07:24 tf Exp $ */
  22.  
  23. #ifndef MACTAB_H
  24. #define MACTAB_H
  25.  
  26. /* prototypes */
  27.  
  28. #if defined(__cplusplus) || defined(cplusplus)
  29. extern "C" {
  30. #endif
  31.  
  32. /* see mactab.doc for further details */
  33.  
  34. extern int      mactab_new      (int num_macros);
  35. extern int      mactab_dispose  (int handle);
  36. extern int      mactab_add      (int handle, ...);
  37. extern int      mactab_remove   (int handle, ...);
  38. extern char *   mactab_get      (int handle, char *lhs);
  39. extern char **  mactab          (int handle);
  40.  
  41. #ifdef DEBUG
  42. #include <stdio.h>
  43. extern void     mactab_debug    (FILE *fp);
  44. #endif
  45.  
  46. #if defined(__cplusplus) || defined(cplusplus)
  47. }
  48. #endif /* C++ */
  49.  
  50. #endif /* !MACTAB_H */
  51.