pike.git / src / pike_search.h

version» Context lines:

pike.git/src/pike_search.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_search.h,v 1.7 2003/04/02 19:22:43 mast Exp $ + || $Id: pike_search.h,v 1.8 2004/03/07 22:55:49 nilsson Exp $   */      #ifndef PIKE_SEARCH_H   #define PIKE_SEARCH_H      #define MEMSEARCH_LINKS 512   #define BMLEN 768   #define CHARS 256   #define TUNAFISH    - #define generic_mem_searcher pike_mem_searcher -  +    struct hubbe_search_link   {    struct hubbe_search_link *next;    ptrdiff_t offset;    INT32 key;   };      struct hubbe_searcher   {    struct object *o; /* must be first */
pike.git/src/pike_search.h:89:    ptrdiff_t max_haystacklen);   PMOD_EXPORT SearchMojt compile_memsearcher(PCHARP needle,    ptrdiff_t needlelen,    int max_haystacklen,    struct pike_string *hashkey);   PMOD_EXPORT SearchMojt simple_compile_memsearcher(struct pike_string *str);   PMOD_EXPORT char *my_memmem(char *needle,    size_t needlelen,    char *haystack,    size_t haystacklen); - PMOD_EXPORT void init_generic_memsearcher(struct generic_mem_searcher *s, -  void *needle, -  size_t needlelen, -  int needle_shift, -  size_t estimated_haystack, -  int haystack_shift); - PMOD_EXPORT void *generic_memory_search(struct generic_mem_searcher *s, -  void *haystack, -  size_t haystacklen, -  int haystack_shift); +    void init_pike_searching(void);   void exit_pike_searching(void);   /* Prototypes end here */      #endif