2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2018 Philippe Proulx <pproulx@efficios.com>
7 #ifndef BABELTRACE_PROPERTY_INTERNAL_H
8 #define BABELTRACE_PROPERTY_INTERNAL_H
10 #include "common/assert.h"
11 #include <babeltrace2/babeltrace.h>
17 enum bt_property_availability avail
;
20 struct bt_property_uint
{
21 struct bt_property base
;
26 void bt_property_uint_set(struct bt_property_uint
*prop
, uint64_t value
)
29 prop
->base
.avail
= BT_PROPERTY_AVAILABILITY_AVAILABLE
;
34 void bt_property_uint_init(struct bt_property_uint
*prop
,
35 enum bt_property_availability avail
, uint64_t value
)
38 prop
->base
.avail
= avail
;
42 #endif /* BABELTRACE_PROPERTY_INTERNAL_H */