From 8a715ec41c1a4220b5547a7e64bbdc5056f8a178 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 27 Apr 2021 19:49:04 +0100 Subject: [PATCH] xrt: Add new error return for IPC --- src/xrt/include/xrt/xrt_results.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/include/xrt/xrt_results.h b/src/xrt/include/xrt/xrt_results.h index ac16ce9ae..9ddfb68d2 100644 --- a/src/xrt/include/xrt/xrt_results.h +++ b/src/xrt/include/xrt/xrt_results.h @@ -66,4 +66,8 @@ typedef enum xrt_result * which is needed for the given command. */ XRT_ERROR_IPC_SESSION_NOT_CREATED = -15, + /*! + * The client has already created a session on this IPC connection. + */ + XRT_ERROR_IPC_SESSION_ALREADY_CREATED = -16, } xrt_result_t;