home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnurx.zip / rx / rxstr.h < prev    next >
C/C++ Source or Header  |  1995-12-31  |  2KB  |  67 lines

  1. /* classes: h_files */
  2.  
  3. #ifndef RXSTRH
  4. #define RXSTRH
  5. /***********************************************************
  6.  
  7. Copyright 1995 by Tom Lord
  8.  
  9.                         All Rights Reserved
  10.  
  11. Permission to use, copy, modify, and distribute this software and its 
  12. documentation for any purpose and without fee is hereby granted, 
  13. provided that the above copyright notice appear in all copies and that
  14. both that copyright notice and this permission notice appear in 
  15. supporting documentation, and that the name of the copyright holder not be
  16. used in advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.  
  18.  
  19. Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  20. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  21. EVENT SHALL TOM LORD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  22. CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  23. USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  24. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  25. PERFORMANCE OF THIS SOFTWARE.
  26.  
  27. ******************************************************************/
  28.  
  29.  
  30.  
  31.  
  32. #include "rxspencer.h"
  33. #include "rxcontext.h"
  34.  
  35.  
  36.  
  37.   
  38.  
  39. struct rx_str_closure
  40. {
  41.   struct rx_context_rules rules;
  42.   unsigned char * str;
  43.   int len;
  44. };
  45.  
  46.  
  47.  
  48. #ifdef __STDC__
  49. extern enum rx_answers rx_str_vmfn (void * closure,
  50.                     unsigned char ** burstp,
  51.                     int * lenp,
  52.                     int * offsetp,
  53.                     int start, int end, int need);
  54. extern enum rx_answers rx_str_contextfn (void * closure,
  55.                      int type, int start, int end,
  56.                      struct rx_registers * regs);
  57.  
  58. #else /* STDC */
  59. extern enum rx_answers rx_str_vmfn ();
  60. extern enum rx_answers rx_str_contextfn ();
  61.  
  62. #endif /* STDC */
  63.  
  64.  
  65.  
  66. #endif  /* RXSTRH */
  67.