Comment plug-in error codes
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 13 May 2015 21:53:12 +0000 (17:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 16:54:30 +0000 (12:54 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/plugin/plugin.h

index 1080e2bb2f2b1e93ac2bce1877f348897dc1bf7d..8134074da909fc45b9062648a36df337c35bf8dc 100644 (file)
@@ -53,16 +53,21 @@ enum bt_plugin_type {
  * Status code. Errors are always negative.
  */
 enum bt_plugin_status {
+       /** Memory allocation failure. **/
        /* -12 for compatibility with -ENOMEM */
        BT_PLUGIN_STATUS_NOMEM =        -12,
 
+       /** Invalid arguments. **/
        /* -22 for compatibility with -EINVAL */
        BT_PLUGIN_STATUS_INVAL =        -22,
 
+       /** Unsupported plug-in feature. **/
        BT_PLUGIN_STATUS_UNSUPPORTED =  -2,
 
+       /** General error. **/
        BT_PLUGIN_STATUS_ERROR =        -1,
 
+       /** No error, okay. **/
        BT_PLUGIN_STATUS_OK =           0,
 }
 
This page took 0.025294 seconds and 4 git commands to generate.