mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 14:40:28 +00:00
bd9f8ad7f8
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>
12 lines
247 B
C
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
|