X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fproperty.h;h=1ede1425f0ea82302bc77d44b7fd642e97a939e9;hb=9669d69306665dc42352cf22b65d76cbf517ee11;hp=cc3906b449680c715f1384ec045335c9ee399b7c;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/property.h b/include/babeltrace2/property.h index cc3906b4..1ede1425 100644 --- a/include/babeltrace2/property.h +++ b/include/babeltrace2/property.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_PROPERTY_H -#define BABELTRACE_PROPERTY_H +#ifndef BABELTRACE2_PROPERTY_H +#define BABELTRACE2_PROPERTY_H /* - * Copyright (c) 2018 Philippe Proulx + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -23,17 +23,21 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #ifdef __cplusplus extern "C" { #endif typedef enum bt_property_availability { - BT_PROPERTY_AVAILABILITY_AVAILABLE, - BT_PROPERTY_AVAILABILITY_NOT_AVAILABLE, + BT_PROPERTY_AVAILABILITY_NOT_AVAILABLE = 0, + BT_PROPERTY_AVAILABILITY_AVAILABLE = 1, } bt_property_availability; #ifdef __cplusplus } #endif -#endif /* BABELTRACE_PROPERTY_H */ +#endif /* BABELTRACE2_PROPERTY_H */