2013-07-23 22:10:26 +02:00
|
|
|
#ifndef __AC_BACKEND_HEADER__
|
|
|
|
#define __AC_BACKEND_HEADER__
|
|
|
|
|
2013-07-25 23:12:43 +02:00
|
|
|
/* */
|
|
|
|
#define SOAP_NAMESPACE_URI "http://smartcapwap/namespace"
|
|
|
|
|
2013-11-24 16:36:08 +01:00
|
|
|
/* SOAP event status*/
|
|
|
|
#define SOAP_EVENT_STATUS_GENERIC_ERROR -1
|
|
|
|
#define SOAP_EVENT_STATUS_RUNNING 0
|
|
|
|
#define SOAP_EVENT_STATUS_COMPLETE 1
|
|
|
|
|
2013-11-10 22:11:56 +01:00
|
|
|
/* Reset notification */
|
|
|
|
struct ac_notify_reset_t {
|
2013-11-21 22:03:05 +01:00
|
|
|
uint32_t vendor;
|
|
|
|
uint8_t name[0];
|
2013-11-10 22:11:56 +01:00
|
|
|
};
|
|
|
|
|
2013-07-23 22:10:26 +02:00
|
|
|
/* */
|
|
|
|
int ac_backend_start(void);
|
|
|
|
void ac_backend_stop(void);
|
|
|
|
|
|
|
|
/* */
|
|
|
|
int ac_backend_isconnect(void);
|
2013-11-24 16:36:08 +01:00
|
|
|
struct ac_http_soap_request* ac_backend_createrequest_with_session(char* method, char* uri);
|
2013-07-23 22:10:26 +02:00
|
|
|
|
|
|
|
#endif /* __AC_BACKEND_HEADER__ */
|