mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +00:00
b368ecd5aa
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
25 lines
555 B
C
25 lines
555 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef WEBSERVICE_H
|
|
#define WEBSERVICE_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//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
|
|
}
|
|
#endif
|
|
#endif // WEBSERVICE_H
|