summaryrefslogtreecommitdiffstats
path: root/rdcp_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'rdcp_error.h')
-rw-r--r--rdcp_error.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/rdcp_error.h b/rdcp_error.h
index 5bb0721..ff60d5b 100644
--- a/rdcp_error.h
+++ b/rdcp_error.h
@@ -17,4 +17,22 @@ typedef enum {
const char *
rdcp_error_code_to_string(rdcp_error_codes ec);
+#define LMI_REALMD_RESULT_SUCCESS 0
+#define LMI_REALMD_RESULT_FAILED 1
+#define LMI_REALMD_RESULT_NO_SUCH_DOMAIN 2
+#define LMI_REALMD_RESULT_DOMAIN_DOES_NOT_SUPPORT_PROVIDED_CREDENTIALS 3
+#define LMI_REALMD_RESULT_DOMAIN_DOES_NOT_SUPPORT_JOINING 4
+
+#define DEFAULT_STATUS_MSG_SIZE 128
+
+CMPIStatus
+handle_g_error(GError **g_error, const CMPIBroker* cb, CMPIStatus* status, CMPIrc rc,
+ const gchar *format, ...)
+ __attribute__ ((format (printf, 5, 6)));
+
+CMPIStatus
+SetCMPIStatus(const CMPIBroker* mb, CMPIStatus* st, CMPIrc rc,
+ const gchar *format, ...)
+ __attribute__ ((format (printf, 4, 5)));
+
#endif /* __RDCP_ERROR_H__ */