diff options
author | John Dennis <jdennis@redhat.com> | 2013-03-22 14:58:01 -0400 |
---|---|---|
committer | John Dennis <jdennis@redhat.com> | 2013-03-22 14:58:01 -0400 |
commit | 52a346870008e04518984a64d3b1bf44534f7f5e (patch) | |
tree | 8a1805a3b8fa329e2599451a403668a1aac58153 /rdcp_error.h | |
download | realmd-cim-52a346870008e04518984a64d3b1bf44534f7f5e.tar.gz realmd-cim-52a346870008e04518984a64d3b1bf44534f7f5e.tar.xz realmd-cim-52a346870008e04518984a64d3b1bf44534f7f5e.zip |
Initial commit for public repository
Diffstat (limited to 'rdcp_error.h')
-rw-r--r-- | rdcp_error.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rdcp_error.h b/rdcp_error.h new file mode 100644 index 0000000..5bb0721 --- /dev/null +++ b/rdcp_error.h @@ -0,0 +1,20 @@ +#ifndef __RDCP_ERROR_H__ +#define __RDCP_ERROR_H__ + +#include <glib.h> + +#define RDCP_ERROR (rdcp_error_quark ()) + +GQuark rdcp_error_quark (void) G_GNUC_CONST; + +typedef enum { + RDCP_ERROR_INTERNAL = 1, + RDCP_ERROR_INVALID_ARG, + RDCP_ERROR_INVALID_INSTANCE_ID, + RDCP_ERROR_DBUS, +} rdcp_error_codes; + +const char * +rdcp_error_code_to_string(rdcp_error_codes ec); + +#endif /* __RDCP_ERROR_H__ */ |