aboutsummaryrefslogtreecommitdiff
path: root/service_provider.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--service_provider.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/service_provider.h b/service_provider.h
index fe7a4cd..fdc7bc0 100644
--- a/service_provider.h
+++ b/service_provider.h
@@ -69,7 +69,8 @@ struct service_provider *sp_new(const void *key,
size_t keylen,
int logleaves,
const char *data_dir,
- const char *dbpath);
+ const char *dbpath,
+ bool overwrite);
void sp_free(struct service_provider *sp);
/* see .c file for documentation */
@@ -129,9 +130,11 @@ void *sp_retrieve_file(struct service_provider *sp,
struct iomt **composefile,
size_t *len);
-int sp_main(int sockfd, int logleaves, const char *dbpath);
-
void sp_test(void);
#endif
+#if defined(DUMMY) || !defined(CLIENT)
+int sp_main(int sockfd, int logleaves, const char *dbpath, bool overwrite);
+#endif
+
#endif