Docs: Document Agent reply codes
[lttng-tools.git] / src / common / sessiond-comm / agent.h
index eced35185034bdc6fb7332e34303c5781b486e05..b562b7402baaf6c9d5ec88ce50544e73b7514524 100644 (file)
@@ -34,11 +34,14 @@ enum lttcomm_agent_command {
 };
 
 /*
- * Return code from the Java agent.
+ * 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,
 };
@@ -69,7 +72,7 @@ struct lttcomm_agent_disable {
 } LTTNG_PACKED;
 
 /*
- * Generic reply coming from the Java Agent.
+ * Generic reply coming from the agent.
  */
 struct lttcomm_agent_generic_reply {
        uint32_t ret_code;
@@ -84,7 +87,7 @@ struct lttcomm_agent_list_reply_hdr {
 } LTTNG_PACKED;
 
 /*
- * List command reply payload coming from the Java Agent.
+ * List command reply payload coming from the agent.
  */
 struct lttcomm_agent_list_reply {
        uint32_t nb_event;
This page took 0.023281 seconds and 4 git commands to generate.