/[grep]/grep/src/kwset.h
ViewVC logotype

Diff of /grep/src/kwset.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by alainm, Thu Feb 8 15:06:36 2001 UTC revision 1.3 by kasal, Wed Feb 9 13:15:32 2005 UTC
# Line 1  Line 1 
1  /* kwset.h - header declaring the keyword set library.  /* kwset.h - header declaring the keyword set library.
2     Copyright (C) 1989, 1998 Free Software Foundation, Inc.     Copyright (C) 1989, 1998, 2005 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 38  extern kwset_t kwsalloc PARAMS((char con Line 38  extern kwset_t kwsalloc PARAMS((char con
38  /* Incrementally extend the keyword set to include the given string.  /* Incrementally extend the keyword set to include the given string.
39     Return NULL for success, or an error message.  Remember an index     Return NULL for success, or an error message.  Remember an index
40     number for each keyword included in the set. */     number for each keyword included in the set. */
41  extern char *kwsincr PARAMS((kwset_t, char const *, size_t));  extern const char *kwsincr PARAMS((kwset_t, char const *, size_t));
42    
43  /* When the keyword set has been completely built, prepare it for  /* When the keyword set has been completely built, prepare it for
44     use.  Return NULL for success, or an error message. */     use.  Return NULL for success, or an error message. */
45  extern char *kwsprep PARAMS((kwset_t));  extern const char *kwsprep PARAMS((kwset_t));
46    
47  /* Search through the given buffer for a member of the keyword set.  /* Search through the given buffer for a member of the keyword set.
48     Return a pointer to the leftmost longest match found, or NULL if     Return a pointer to the leftmost longest match found, or NULL if

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26