home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / trn_12.zip / src / only.h < prev    next >
C/C++ Source or Header  |  1991-12-04  |  1KB  |  44 lines

  1. /* $Id: only.h,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  2.  *
  3.  * $Log: only.h,v $
  4.  * Revision 4.4  1991/09/09  20:23:31  sob
  5.  * release 4.4
  6.  *
  7.  *
  8.  * 
  9.  */
  10. /* This software is Copyright 1991 by Stan Barber. 
  11.  *
  12.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  13.  * use this software as long as: there is no monetary profit gained
  14.  * specifically from the use or reproduction of this software, it is not
  15.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  16.  * included prominently in any copy made. 
  17.  *
  18.  * The author make no claims as to the fitness or correctness of this software
  19.  * for any use whatsoever, and it is provided as is. Any use of this software
  20.  * is at the user's own risk. 
  21.  */
  22.  
  23. #ifndef NBRA
  24. #include "search.h"
  25. #endif
  26.  
  27. #ifdef ONLY
  28.     EXT char *ngtodo[NGMAX];        /* restrictions in effect */
  29. #   ifdef SPEEDOVERMEM
  30.     EXT COMPEX *compextodo[NGMAX];    /* restrictions in compiled form */
  31. #   endif
  32. #endif
  33.  
  34. EXT int maxngtodo INIT(0);            /*  0 => no restrictions */
  35.                     /* >0 => # of entries in ngtodo */
  36.  
  37. void    only_init ANSI((void));
  38. bool    inlist ANSI((char *));    /* return TRUE if ngname is in command line list */
  39.             /* or if there was no list */
  40. void    setngtodo ANSI((char *));
  41. #ifdef ONLY
  42.     void    end_only ANSI((void));
  43. #endif
  44.