38
39
int cli_bm_addpatt(struct cli_matcher *root, struct cli_bm_patt *pattern);
39
40
int cli_bm_init(struct cli_matcher *root);
40
int cli_bm_scanbuff(const unsigned char *buffer, uint32_t length, const char **virname, const struct cli_matcher *root, uint32_t offset, cli_file_t ftype, int fd);
41
int cli_bm_scanbuff(const unsigned char *buffer, uint32_t length, const char **virname, const struct cli_bm_patt **patt, const struct cli_matcher *root, uint32_t offset, cli_file_t ftype, int fd);
41
42
void cli_bm_free(struct cli_matcher *root);