mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3e1098bd03
commit
bd9f8ad7f8
5 changed files with 53 additions and 21 deletions
2
file.c
2
file.c
|
@ -14,7 +14,7 @@
|
|||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
static int readfile(const char *filename, struct memblock *mem)
|
||||
int readfile(const char *filename, struct memblock *mem)
|
||||
{
|
||||
int ret, fd;
|
||||
struct stat st;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue