Using concat_buf api highlights some problems with tgtadm return codes, this prepares a base for the fixes. Signed-off-by: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx> --- usr/tgtadm_error.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usr/tgtadm_error.h b/usr/tgtadm_error.h index 4cd8f81..a1f38b0 100644 --- a/usr/tgtadm_error.h +++ b/usr/tgtadm_error.h @@ -11,8 +11,10 @@ enum tgtadm_errno { TGTADM_NO_LUN, TGTADM_NO_SESSION, TGTADM_NO_CONNECTION, + TGTADM_NO_BINDING, TGTADM_TARGET_EXIST, TGTADM_LUN_EXIST, + TGTADM_BINDING_EXIST, TGTADM_ACL_EXIST, TGTADM_ACL_NOEXIST, @@ -28,4 +30,6 @@ enum tgtadm_errno { TGTADM_UNKNOWN_PARAM, }; +typedef enum tgtadm_errno tgtadm_err; + #endif -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html