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>
16 enum bt_property_availability avail
;
19 struct bt_property_uint
{
20 struct bt_property base
;
25 void bt_property_uint_set(struct bt_property_uint
*prop
, uint64_t value
)
28 prop
->base
.avail
= BT_PROPERTY_AVAILABILITY_AVAILABLE
;
33 void bt_property_uint_init(struct bt_property_uint
*prop
,
34 enum bt_property_availability avail
, uint64_t value
)
37 prop
->base
.avail
= avail
;
41 #endif /* BABELTRACE_PROPERTY_INTERNAL_H */