diff options
author | Dan Williams <dcbw@redhat.com> | 2011-10-04 11:16:00 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-10-04 11:16:39 -0500 |
commit | c61423f2cfb201a610a5708a7ea19175a2e20750 (patch) | |
tree | caafde7f8dd52f9e4397554936fafa2f151eb4ce /libwmc/src/errors.h | |
parent | a7637ddf8786e54bd1bb7f667896abd168ceba08 (diff) |
wmc: add initial command parsing and response handling
Diffstat (limited to 'libwmc/src/errors.h')
-rw-r--r-- | libwmc/src/errors.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libwmc/src/errors.h b/libwmc/src/errors.h index f9346df9..5ad22c1a 100644 --- a/libwmc/src/errors.h +++ b/libwmc/src/errors.h @@ -33,7 +33,11 @@ enum { enum { WMC_SUCCESS = 0, - WMC_ERROR_SERIAL_CONFIG_FAILED = 1, + WMC_ERROR_INVALID_ARGUMENTS = 1, + WMC_ERROR_SERIAL_CONFIG_FAILED = 2, + WMC_ERROR_VALUE_NOT_FOUND = 3, + WMC_ERROR_RESPONSE_UNEXPECTED = 4, + WMC_ERROR_RESPONSE_BAD_LENGTH = 5, }; #define wmc_assert assert |