aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/esoap_model/esoap_model_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/esoap_model/esoap_model_private.h')
-rw-r--r--src/lib/esoap_model/esoap_model_private.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/esoap_model/esoap_model_private.h b/src/lib/esoap_model/esoap_model_private.h
new file mode 100644
index 0000000000..98c6c65ebb
--- /dev/null
+++ b/src/lib/esoap_model/esoap_model_private.h
@@ -0,0 +1,35 @@
+#ifndef _ESOAP_MODEL_PRIVATE_H
+#define _ESOAP_MODEL_PRIVATE_H
+
+#include "Esoap_Model.h"
+
+#include <Eflat_Xml_Model.h>
+
+#include <stdbool.h>
+
+/* logging support */
+extern int _esoap_model_log_dom;
+
+#define CRI(...) EINA_LOG_DOM_CRIT(_esoap_model_log_dom, __VA_ARGS__)
+#define ERR(...) EINA_LOG_DOM_ERR(_esoap_model_log_dom, __VA_ARGS__)
+#define WRN(...) EINA_LOG_DOM_WARN(_esoap_model_log_dom, __VA_ARGS__)
+#define INF(...) EINA_LOG_DOM_INFO(_esoap_model_log_dom, __VA_ARGS__)
+#define DBG(...) EINA_LOG_DOM_DBG(_esoap_model_log_dom, __VA_ARGS__)
+
+typedef struct _Esoap_Model_Data Esoap_Model_Data;
+
+/**
+ * esoap_model
+ */
+struct _Esoap_Model_Data
+{
+ Eo *obj;
+ Efl_Model_Load load;
+ Eina_List *children_list;
+ Eflat_Xml_Model *xml;
+ char *url;
+ char *action;
+};
+
+#endif
+