aboutsummaryrefslogtreecommitdiffstats
path: root/webservice.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-07 13:31:42 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-07 13:31:42 +0900
commitc774bab6e62a112dd186142a7a55a4776388eaba (patch)
tree0fcd269255f70fed4bed097c2a7b6e0d96967c3b /webservice.h
parent6f7e13ac70499ccc74ecf9d03aea65883f530b5c (diff)
parent2d05f4227e5538f3e8976a8244b54a5247ec833c (diff)
downloadsubsurface-c774bab6e62a112dd186142a7a55a4776388eaba.tar.gz
Merge branch '112_webservices' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'webservice.h')
-rw-r--r--webservice.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/webservice.h b/webservice.h
index c1951acd1..739f1057e 100644
--- a/webservice.h
+++ b/webservice.h
@@ -2,9 +2,18 @@
extern "C" {
#endif
-extern void webservice_download_dialog(void);
-extern gboolean webservice_request_user_xml(const gchar *, gchar **, guint *, guint *);
+//extern void webservice_download_dialog(void);
+//extern bool webservice_request_user_xml(const gchar *, gchar **, unsigned int *, unsigned int *);
extern int divelogde_upload(char *fn, char **error);
+extern unsigned int download_dialog_parse_response(char *xmldata, unsigned int len);
+
+enum {
+ DD_STATUS_OK,
+ DD_STATUS_ERROR_CONNECT,
+ DD_STATUS_ERROR_ID,
+ DD_STATUS_ERROR_PARSE,
+};
+
#ifdef __cplusplus
}