subsurface/core/webservice.h
Berthold Stoeger 03b910ee7f core: remove __cplusplus ifdefs
Since all source files are now C++, this is redundant.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00

21 lines
503 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef WEBSERVICE_H
#define WEBSERVICE_H
extern "C" {
//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,
};
}
#endif // WEBSERVICE_H