summaryrefslogtreecommitdiffstats
path: root/src/indexer/indexer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/indexer/indexer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/indexer/indexer.h b/src/indexer/indexer.h
new file mode 100644
index 0000000..2234f2d
--- /dev/null
+++ b/src/indexer/indexer.h
@@ -0,0 +1,12 @@
+#ifndef INDEXER_H
+#define INDEXER_H
+
+struct indexer_request;
+
+/* percentage: -1 = failed, 0..99 = indexing in progress, 100 = done */
+typedef void
+indexer_status_callback_t(int percentage, struct indexer_request *request);
+
+void indexer_refresh_proctitle(void);
+
+#endif