1 /* 2 * BMG.H 3 * 4 * Written by Paul Edwards and released to the public domain 5 * 6 * Emulate Boyer-More-Gosper routines, without actually doing it, because 7 * Msged doesn't use the proper functionality, for unknown reasons. 8 */ 9 10 #ifndef __BMG_H__ 11 #define __BMG_H__ 12 13 void bmg_setsearch(char *pattern); 14 char *bmg_find(char *text, char *search); 15 char *bmg_search(char *text); 16 17 #endif 18