From aa277e3e14eed052c03a02c51c3c3bc9e4e6bc8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 6 Aug 2015 15:05:07 -0400 Subject: [PATCH] Docs: Document Agent reply codes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/sessiond-comm/agent.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/sessiond-comm/agent.h b/src/common/sessiond-comm/agent.h index 55df5ed9f..b562b7402 100644 --- a/src/common/sessiond-comm/agent.h +++ b/src/common/sessiond-comm/agent.h @@ -37,8 +37,11 @@ enum lttcomm_agent_command { * Return codes from the agent. */ enum lttcomm_agent_ret_code { + /* Success, assumed to be the first entry */ AGENT_RET_CODE_SUCCESS = 1, + /* Invalid command */ AGENT_RET_CODE_INVALID = 2, + /* Unknown logger name */ AGENT_RET_CODE_UNKNOWN_NAME = 3, AGENT_RET_CODE_NR, }; -- 2.34.1