2023-02-08 13:21:36 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2004-11-07 23:27:27 +01:00
|
|
|
/* @configure_input@
|
2002-12-13 21:15:29 +01:00
|
|
|
*
|
2004-11-07 23:27:27 +01:00
|
|
|
* Quagga version
|
|
|
|
* Copyright (C) 1997, 1999 Kunihiro Ishiguro
|
2002-12-13 21:15:29 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ZEBRA_VERSION_H
|
|
|
|
#define _ZEBRA_VERSION_H
|
|
|
|
|
2012-11-27 02:34:56 +01:00
|
|
|
#ifdef GIT_VERSION
|
2021-04-21 11:19:39 +02:00
|
|
|
#include "lib/gitversion.h"
|
2012-11-27 02:34:56 +01:00
|
|
|
#endif
|
|
|
|
|
2020-04-21 01:53:19 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-27 02:34:56 +01:00
|
|
|
#ifndef GIT_SUFFIX
|
|
|
|
#define GIT_SUFFIX ""
|
|
|
|
#endif
|
|
|
|
#ifndef GIT_INFO
|
|
|
|
#define GIT_INFO ""
|
|
|
|
#endif
|
|
|
|
|
2016-12-14 19:30:44 +01:00
|
|
|
#define FRR_PAM_NAME "@PACKAGE_NAME@"
|
|
|
|
#define FRR_SMUX_NAME "@PACKAGE_NAME@"
|
2016-12-20 18:10:30 +01:00
|
|
|
#define FRR_PTM_NAME "@PACKAGE_NAME@"
|
2016-12-14 19:30:44 +01:00
|
|
|
|
2017-03-30 20:22:35 +02:00
|
|
|
#define FRR_FULL_NAME "FRRouting"
|
2016-12-14 19:30:44 +01:00
|
|
|
#define FRR_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX
|
2017-03-09 19:00:19 +01:00
|
|
|
#define FRR_VER_SHORT "@PACKAGE_VERSION@"
|
2016-12-14 19:30:44 +01:00
|
|
|
#define FRR_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
|
|
|
|
#define FRR_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al."
|
|
|
|
#define FRR_CONFIG_ARGS "@CONFIG_ARGS@"
|
|
|
|
|
|
|
|
#define FRR_DEFAULT_MOTD \
|
2018-05-13 02:14:22 +02:00
|
|
|
"\n" \
|
|
|
|
"Hello, this is " FRR_FULL_NAME " (version " FRR_VERSION ").\n" \
|
|
|
|
FRR_COPYRIGHT "\n" \
|
|
|
|
GIT_INFO "\n"
|
2014-11-22 19:43:29 +01:00
|
|
|
|
2004-10-10 10:03:18 +02:00
|
|
|
pid_t pid_output (const char *);
|
2002-12-13 21:15:29 +01:00
|
|
|
|
2020-04-21 01:53:19 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2002-12-13 21:15:29 +01:00
|
|
|
#endif /* _ZEBRA_VERSION_H */
|