X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Ffield-class.h;h=e8be1c51e75d1394ff670e682599da2e3874365b;hp=79459a76587ee65501e03a584aee377791ba6560;hb=8bc207afcf9695b096a0a8e8405f06b6328f069b;hpb=b8ddb4f036272e30030202637201d11baf5f20a5 diff --git a/include/babeltrace2/trace-ir/field-class.h b/include/babeltrace2/trace-ir/field-class.h index 79459a76..e8be1c51 100644 --- a/include/babeltrace2/trace-ir/field-class.h +++ b/include/babeltrace2/trace-ir/field-class.h @@ -140,23 +140,23 @@ extern bt_field_class *bt_field_class_option_without_selector_create( bt_trace_class *trace_class, bt_field_class *content_field_class); -extern bt_field_class *bt_field_class_option_with_selector_bool_create( +extern bt_field_class *bt_field_class_option_with_selector_field_bool_create( bt_trace_class *trace_class, bt_field_class *content_field_class, bt_field_class *selector_field_class); -extern void bt_field_class_option_with_selector_bool_set_selector_is_reversed( +extern void bt_field_class_option_with_selector_field_bool_set_selector_is_reversed( bt_field_class *field_class, bt_bool selector_is_reversed); extern bt_field_class * -bt_field_class_option_with_selector_integer_unsigned_create( +bt_field_class_option_with_selector_field_integer_unsigned_create( bt_trace_class *trace_class, bt_field_class *content_field_class, bt_field_class *selector_field_class, const bt_integer_range_set_unsigned *range_set); extern bt_field_class * -bt_field_class_option_with_selector_integer_signed_create( +bt_field_class_option_with_selector_field_integer_signed_create( bt_trace_class *trace_class, bt_field_class *content_field_class, bt_field_class *selector_field_class, @@ -170,8 +170,8 @@ extern bt_field_class *bt_field_class_variant_create( bt_field_class *selector_field_class); typedef enum bt_field_class_variant_without_selector_append_option_status { - BT_FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_APPEND_OPTION_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, - BT_FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_APPEND_OPTION_STATUS_OK = __BT_FUNC_STATUS_OK, + BT_FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, + BT_FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK = __BT_FUNC_STATUS_OK, } bt_field_class_variant_without_selector_append_option_status; extern bt_field_class_variant_without_selector_append_option_status @@ -179,19 +179,19 @@ bt_field_class_variant_without_selector_append_option( bt_field_class *var_field_class, const char *name, bt_field_class *field_class); -typedef enum bt_field_class_variant_with_selector_integer_append_option_status { - BT_FIELD_CLASS_VARIANT_WITH_SELECTOR_APPEND_OPTION_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, - BT_FIELD_CLASS_VARIANT_WITH_SELECTOR_APPEND_OPTION_STATUS_OK = __BT_FUNC_STATUS_OK, -} bt_field_class_variant_with_selector_integer_append_option_status; +typedef enum bt_field_class_variant_with_selector_field_integer_append_option_status { + BT_FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, + BT_FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK = __BT_FUNC_STATUS_OK, +} bt_field_class_variant_with_selector_field_integer_append_option_status; -extern bt_field_class_variant_with_selector_integer_append_option_status -bt_field_class_variant_with_selector_integer_unsigned_append_option( +extern bt_field_class_variant_with_selector_field_integer_append_option_status +bt_field_class_variant_with_selector_field_integer_unsigned_append_option( bt_field_class *var_field_class, const char *name, bt_field_class *field_class, const bt_integer_range_set_unsigned *range_set); -extern bt_field_class_variant_with_selector_integer_append_option_status -bt_field_class_variant_with_selector_integer_signed_append_option( +extern bt_field_class_variant_with_selector_field_integer_append_option_status +bt_field_class_variant_with_selector_field_integer_signed_append_option( bt_field_class *var_field_class, const char *name, bt_field_class *field_class, const bt_integer_range_set_signed *range_set);