mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 11:28:13 +01:00
df4c66f85d
This is the result of running: $ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h in the test directory.
17 lines
291 B
C++
17 lines
291 B
C++
#include <iostream>
|
|
#include <cstdlib>
|
|
#include <xapian.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
|
|
if (argc < 2) {
|
|
std::cerr << "usage: ghost-report xapian-dir" << std::endl;
|
|
exit (1);
|
|
}
|
|
|
|
Xapian::Database db (argv[1]);
|
|
|
|
std::cout << db.get_termfreq ("Tghost") << std::endl;
|
|
}
|