Merge pull request #814 from mrdeep1/build_version

versioning: Make current git describe available
This commit is contained in:
obgm authored and GitHub committed 2022-02-07 14:38:34 +01:00
commit 1fceff7cc3
11 files changed
+82 -34

No files matched your search

+8 -1
View File
@@ -1,7 +1,7 @@
/*
* coap_debug.h -- debug utilities
*
* Copyright (C) 2010-2011,2014 Olaf Bergmann <bergmann@tzi.org>
* Copyright (C) 2010-2011,2014-2022 Olaf Bergmann <bergmann@tzi.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*
@@ -129,6 +129,13 @@ const char *coap_package_name(void);
*/
const char *coap_package_version(void);
/**
* Get the library package build.
*
* @return Zero-terminated string with the library build.
*/
const char *coap_package_build(void);
/**
* Writes the given text to @c COAP_ERR_FD (for @p level <= @c LOG_CRIT) or @c
* COAP_DEBUG_FD (for @p level >= @c LOG_ERR). The text is output only when