aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/simple-pwquery.h')
-rw-r--r--common/simple-pwquery.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/simple-pwquery.h b/common/simple-pwquery.h
index 5947c42b5..c7ebf9401 100644
--- a/common/simple-pwquery.h
+++ b/common/simple-pwquery.h
@@ -57,6 +57,9 @@ char *simple_pwquery (const char *cacheid,
const char *description,
int *errorcode);
+/* Perform the simple query QUERY (which must be new-line and 0
+ terminated) and return the error code. */
+int simple_query (const char *query);
#define SPWQ_OUT_OF_CORE 1
#define SPWQ_IO_ERROR 2