subsurface/file.h
Dirk Hohndel bd9f8ad7f8 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>
2013-03-13 20:37:38 -07:00

12 lines
247 B
C

#ifndef FILE_H
#define FILE_H
struct memblock {
void *buffer;
size_t size;
};
extern int try_to_open_cochran(const char *filename, struct memblock *mem, GError **error);
extern int readfile(const char *filename, struct memblock *mem);
#endif