2014-02-11 18:14:46 +00:00
|
|
|
#ifndef WEBSERVICE_H
|
|
|
|
#define WEBSERVICE_H
|
|
|
|
|
2013-04-01 10:51:49 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-06-06 14:31:55 +00:00
|
|
|
//extern void webservice_download_dialog(void);
|
|
|
|
//extern bool webservice_request_user_xml(const gchar *, gchar **, unsigned int *, unsigned int *);
|
2013-04-27 13:10:26 +00:00
|
|
|
extern int divelogde_upload(char *fn, char **error);
|
2013-06-06 14:31:55 +00:00
|
|
|
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,
|
|
|
|
};
|
|
|
|
|
2013-04-01 10:51:49 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2014-02-11 18:14:46 +00:00
|
|
|
#endif // WEBSERVICE_H
|