aboutsummaryrefslogtreecommitdiff
path: root/service_provider.h
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-06-28 21:14:57 -0400
committerFranklin Wei <me@fwei.tk>2018-06-28 21:14:57 -0400
commit03a354b8d0f2a8820db9571c639804648d804ac4 (patch)
treeb3328a16ee381badc89d9ae9613c0fb8658060eb /service_provider.h
parent2c2257bf23358ec71cbe6420a3b398ffd63849cd (diff)
downloadcsaa-03a354b8d0f2a8820db9571c639804648d804ac4.zip
csaa-03a354b8d0f2a8820db9571c639804648d804ac4.tar.gz
csaa-03a354b8d0f2a8820db9571c639804648d804ac4.tar.bz2
csaa-03a354b8d0f2a8820db9571c639804648d804ac4.tar.xz
Modify for testing init only
Diffstat (limited to 'service_provider.h')
-rw-r--r--service_provider.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/service_provider.h b/service_provider.h
index 79a2edf..fe7a4cd 100644
--- a/service_provider.h
+++ b/service_provider.h
@@ -65,7 +65,11 @@ struct user_request {
} __attribute__((packed));
#ifndef CLIENT
-struct service_provider *sp_new(const void *key, size_t keylen, int logleaves, const char *data_dir);
+struct service_provider *sp_new(const void *key,
+ size_t keylen,
+ int logleaves,
+ const char *data_dir,
+ const char *dbpath);
void sp_free(struct service_provider *sp);
/* see .c file for documentation */
@@ -125,7 +129,7 @@ void *sp_retrieve_file(struct service_provider *sp,
struct iomt **composefile,
size_t *len);
-int sp_main(int sockfd, int logleaves);
+int sp_main(int sockfd, int logleaves, const char *dbpath);
void sp_test(void);
#endif