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