summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-13 20:37:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-13 20:37:38 -0700
commitbd9f8ad7f84208f087e3209c35a5263f45879ce9 (patch)
tree48b42b2655b4bc88f95dfccb70a73eaefd77f89c /file.h
parent3e1098bd038a8568fd3a216b59b753dac59f45fa (diff)
downloadsubsurface-bd9f8ad7f84208f087e3209c35a5263f45879ce9.tar.gz
First simplistic implementation of a divelogs.de upload
This has no user interface and hardcodes a testing username / password. But it can successfully create a DLD file (thanks to Miika and Lubomir) and then uses libsoup to upload that to the server. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.h')
-rw-r--r--file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.h b/file.h
index df7e5eaf9..38f7b496e 100644
--- a/file.h
+++ b/file.h
@@ -7,5 +7,6 @@ struct memblock {
};
extern int try_to_open_cochran(const char *filename, struct memblock *mem, GError **error);
+extern int readfile(const char *filename, struct memblock *mem);
#endif