.\" This file is in the public domain. .Dd Octomer 22, 2001 .Dt LIBCTREE 3 .Os NetBSD 1.4T .Sh NAME .Nm tree_match_parse , .Nm tree_match , .Nm tree_match_err_at , .Nm tree_match_flags , .Nm tree_match_input_stream , .Nm tree_match_set_get_routine , .Nm tree_match_set_put_routine .Nd Ctree matcher .Sh SYNOPSIS .Fd #include .br .Nm cc .Op Ar arguments .Fl lCtree .br .Ft void * .Fn tree_match_parse "const char *" "..." .Ft void .Fn tree_match "void *" "const char *" "char *" .Ft const char * .Fn tree_match_err_at "void" .Ft unsigned int * .Fn tree_match_flags "void" .Ft FILE * .Fn tree_match_input_stream "void" .Ft void .Fn tree_match_set_get_routine "int (*)(FILE *)" .Ft void .Fn tree_match_set_put_routine "void (*)(char)" .Sh DESCRIPTION These functions are the C interface to the keytree matcher. .Pp .Fn tree_match_parse parses a tree and returns an opaque handle on it. .Fn tree_match then takes this handle, a prompt string, and a result buffer, and performs the matching operation, returning the matched command in the result buffer. .Pp There is comparatively little documentation. There are coders' and users' documents, but not in manpage format; this manpage is limited to little more than documentation of API signatures. .Sh AUTHOR der Mouse, .Aq mouse@rodents.montreal.qc.ca .