X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Futils.h;fp=include%2Fbabeltrace%2Fctf-ir%2Futils.h;h=0000000000000000000000000000000000000000;hp=c93b0d8442c8b2fdef4a799a5facc516e389f3d5;hb=44c440bc5fe8219cc17d1b786d91fd83c4c9860a;hpb=c800eb3790218d2f33df01e77ec38cbd43cc02a1 diff --git a/include/babeltrace/ctf-ir/utils.h b/include/babeltrace/ctf-ir/utils.h deleted file mode 100644 index c93b0d84..00000000 --- a/include/babeltrace/ctf-ir/utils.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef BABELTRACE_CTF_IR_UTILS_H -#define BABELTRACE_CTF_IR_UTILS_H - -/* - * BabelTrace - CTF IR: Utilities - * - * Copyright 2015 Jérémie Galarneau - * - * Author: Jérémie Galarneau - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * The Common Trace Format (CTF) Specification is available at - * http://www.efficios.com/ctf - */ - -/* For bt_bool */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** -@defgroup ctfirutils CTF IR utilities -@ingroup ctfir -@brief CTF IR utilities. - -@code -#include -@endcode - -@file -@brief CTF IR utilities functions. -@sa ctfirutils - -@addtogroup ctfirutils -@{ -*/ - -/** -@brief Returns whether or not the string \p identifier is a valid - identifier according to CTF. - -This function returns a negative value if \p identifier is a CTF keyword -or if it does not meet any other imposed requirement. - -@param[in] identifier String to test. -@returns #BT_TRUE if \p identifier is a valid CTF - identifier, or #BT_FALSE otherwise. - -@prenotnull{identifier} -*/ -extern bt_bool bt_identifier_is_valid(const char *identifier); - -/** @} */ - -#ifdef __cplusplus -} -#endif - -#endif /* BABELTRACE_CTF_IR_UTILS_H */