sqlite3
*
init_db(
int db_flag
)
void
close_db(
sqlite3 *db
)
int
run_query(
sqlite3 *db
, const char *snippet_args[3]
, query_args *args
)
int
run_query_html(
sqlite3 *db
, query_args *args
)
int
run_query_pager(
sqlite3 *db
, query_args *args
)
apropos-utils.h
header file.
They operate on
/var/db/man.db
which is an Sqlite database containing a full text search index of the manual
pages.
The functions provide an easy to use interface to query the database and
develop applications on top of it.
|