]> git.proxmox.com Git - mirror_frr.git/blob - lib/version.h.in
doc: Add `show ipv6 rpf X:X::X:X` command to docs
[mirror_frr.git] / lib / version.h.in
1 /* @configure_input@
2 *
3 * Quagga version
4 * Copyright (C) 1997, 1999 Kunihiro Ishiguro
5 *
6 * This file is part of GNU Zebra.
7 *
8 * GNU Zebra is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
11 * later version.
12 *
13 * GNU Zebra is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with GNU Zebra; see the file COPYING. If not, write to the Free
20 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 * 02111-1307, USA.
22 */
23
24 #ifndef _ZEBRA_VERSION_H
25 #define _ZEBRA_VERSION_H
26
27 #ifdef GIT_VERSION
28 #include "lib/gitversion.h"
29 #endif
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35 #ifndef GIT_SUFFIX
36 #define GIT_SUFFIX ""
37 #endif
38 #ifndef GIT_INFO
39 #define GIT_INFO ""
40 #endif
41
42 #define FRR_PAM_NAME "@PACKAGE_NAME@"
43 #define FRR_SMUX_NAME "@PACKAGE_NAME@"
44 #define FRR_PTM_NAME "@PACKAGE_NAME@"
45
46 #define FRR_FULL_NAME "FRRouting"
47 #define FRR_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX
48 #define FRR_VER_SHORT "@PACKAGE_VERSION@"
49 #define FRR_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
50 #define FRR_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al."
51 #define FRR_CONFIG_ARGS "@CONFIG_ARGS@"
52
53 #define FRR_DEFAULT_MOTD \
54 "\n" \
55 "Hello, this is " FRR_FULL_NAME " (version " FRR_VERSION ").\n" \
56 FRR_COPYRIGHT "\n" \
57 GIT_INFO "\n"
58
59 pid_t pid_output (const char *);
60
61 #ifdef __cplusplus
62 }
63 #endif
64
65 #endif /* _ZEBRA_VERSION_H */