From: Jérémie Galarneau Date: Thu, 6 Aug 2015 19:05:07 +0000 (-0400) Subject: Docs: Document Agent reply codes X-Git-Tag: v2.8.0-rc1~510 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=aa277e3e14eed052c03a02c51c3c3bc9e4e6bc8d Docs: Document Agent reply codes Signed-off-by: Jérémie Galarneau --- 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, };