NAME

apropos-utils - support functions for querying the man page index

SYNOPSIS



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)

DESCRIPTION

These functions all live in the 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.

SEE ALSO

close_db(3), init_db(3), run_query(3), run_query_html(3), run_query_pager(3)

AUTHORS

Abhinav Upadhyay

Get NetBSD Summer of Code projects at SourceForge.net. Fast, secure and Free Open Source software downloads
Abhinav Upadhyay <er.abhinav.upadhyay at gmail dot com>
$Id: apropos-utils.html3,v 1.2 2011/08/25 06:52:59 abhinavupadhyay Exp $