summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-07-26 21:30:40 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 14:17:46 -0300
commita8cb2d302ea20d7ba1be184973fef29d7cab9407 (patch)
treee20fab4f8494921b9ae6feb47cff7c3a909e2e42 /error.h
parentab878ddfeee722db8e7f78a9c6e9882864c2fd66 (diff)
downloadqemu-a8cb2d302ea20d7ba1be184973fef29d7cab9407.tar.gz
qemu-a8cb2d302ea20d7ba1be184973fef29d7cab9407.tar.bz2
qemu-a8cb2d302ea20d7ba1be184973fef29d7cab9407.zip
error: drop unused functions
Besides being unused, they operate on the current error format, which is going to be replaced soon. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'error.h')
-rw-r--r--error.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/error.h b/error.h
index 114e24b34b..5336fc58b2 100644
--- a/error.h
+++ b/error.h
@@ -51,16 +51,6 @@ Error *error_copy(const Error *err);
const char *error_get_pretty(Error *err);
/**
- * Get an individual named error field.
- */
-const char *error_get_field(Error *err, const char *field);
-
-/**
- * Get an individual named error field.
- */
-void error_set_field(Error *err, const char *field, const char *value);
-
-/**
* Propagate an error to an indirect pointer to an error. This function will
* always transfer ownership of the error reference and handles the case where
* dst_err is NULL correctly. Errors after the first are discarded.
@@ -72,10 +62,4 @@ void error_propagate(Error **dst_err, Error *local_err);
*/
void error_free(Error *err);
-/**
- * Determine if an error is of a speific type (based on the qerror format).
- * Non-QEMU users should get the `class' field to identify the error type.
- */
-bool error_is_type(Error *err, ErrorClass err_class, const char *fmt);
-
#endif