X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fproperty.h;h=1ede1425f0ea82302bc77d44b7fd642e97a939e9;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=91d088a74f07a90180ae21afe3b6c8a7596a7147;hpb=924dc299c8a893e92fcd985fa05c245b591ef314;p=babeltrace.git diff --git a/include/babeltrace2/property.h b/include/babeltrace2/property.h index 91d088a7..1ede1425 100644 --- a/include/babeltrace2/property.h +++ b/include/babeltrace2/property.h @@ -2,7 +2,7 @@ #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,13 +23,17 @@ * 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