File: levdist.h

package info (click to toggle)
whichman 2.4-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 324 kB
  • sloc: ansic: 1,033; makefile: 71
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