Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/refer/re.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*
 * aho/corasick matching machine
 */

typedef struct re_ac re_ac;

re_ac	*re_acinit(void);
int	re_acadd(re_ac *, char *, char *);
int	re_accomp(re_ac *);
void	re_acexec(re_ac *, int (*rd)(char**, char **), int (*mt)(char**, char **, int));
void	re_acfree(re_ac *);
int	re_run(re_ac *, char *, int, int);

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.