File: levdist.h

package info (click to toggle)
whichman 2.4-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 272 kB
  • sloc: ansic: 1,030; makefile: 62
file content (11 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#ifndef LEVDIST
#define LEVDIST 1
/*max search pattern length: */
#define MAXLEN 256 
#define MYVERSION "@(#)Version: 2.3" 

extern int levdist(const char *iword, const char *ipattern, int limit,int casesensitive);
extern int stdtolerance(const char *searchpat);
extern int lowercaseword(char *lowword,const char *word, int maxlen,int casesensitive);

#endif //LEVDIST