summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-25 16:00:37 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-25 16:00:37 +0100
commite982d9fe320cb8fe3726af061fec178ba03e5252 (patch)
tree388fb658a0eca5c1a2a3e66564aac12cce2cefb6 /src/include
parentcbd5fbd796b18916ea032021661397369fbcbd22 (diff)
downloadsync-e982d9fe320cb8fe3726af061fec178ba03e5252.tar.gz
sync-e982d9fe320cb8fe3726af061fec178ba03e5252.tar.bz2
sync-e982d9fe320cb8fe3726af061fec178ba03e5252.zip
add sync-dbinit tool
Diffstat (limited to 'src/include')
-rw-r--r--src/include/Makefile.am4
-rw-r--r--src/include/sync_util.h33
2 files changed, 36 insertions, 1 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index abcbfe9..21c4d5d 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -5,6 +5,8 @@ EXTRA_DIST = \
talerincludedir = $(includedir)/taler
talerinclude_HEADERS = \
+ sync_database_lib.h \
sync_database_plugin.h \
sync_service.h \
- sync_database_lib.h
+ sync_util.h
+
diff --git a/src/include/sync_util.h b/src/include/sync_util.h
new file mode 100644
index 0000000..86e4fe4
--- /dev/null
+++ b/src/include/sync_util.h
@@ -0,0 +1,33 @@
+/*
+ This file is part of SYNC
+ Copyright (C) 2014, 2015 GNUnet e.V.
+
+ SYNC is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ SYNC is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ SYNC; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+*/
+/**
+ * @file include/sync_util.h
+ * @brief Interface for common utility functions
+ * @author Christian Grothoff
+ */
+#ifndef SYNC_UTIL_H
+#define SYNC_UTIL_H
+
+#include <gnunet/gnunet_util_lib.h>
+
+/**
+ * Return default project data used by Sync.
+ */
+const struct GNUNET_OS_ProjectData *
+SYNC_project_data_default (void);
+
+
+#endif