X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fversion.h;h=33453f0b5debc4740f1fbe8d266ed31cb057185f;hb=HEAD;hp=1ee7cf988f18d258b20770cf7e25200d7782388e;hpb=cdbbeef9cde260e429854dd313bc0bf7560e1e24;p=debian%2Famanda diff --git a/common-src/version.h b/common-src/version.h index 1ee7cf9..33453f0 100644 --- a/common-src/version.h +++ b/common-src/version.h @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1999 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -26,34 +27,15 @@ /* * $Id: version.h,v 1.6 2006/05/25 01:47:12 johnfranks Exp $ * - * interface to obtain the current amanda version - */ -/* - * The printed version string is .[.[comment]] - * - Changes in comments imply a non-standard version of Amanda. - * - Changes in patchlevel imply mostly bugfixes. - * - Changes in minor version number imply significant code or protocol - * changes or enhancements. - * - Changes in major version number imply major reworking or redesign. + * interface to obtain the current amanda version info */ #ifndef VERSION_H #define VERSION_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -extern const int VERSION_MAJOR; -extern const int VERSION_MINOR; -extern const int VERSION_PATCH; -extern const char * const VERSION_COMMENT; +/* version_info contains a bunch of compile-time settings for output in + * amadmin x version; its value is set in version.c, which is generated + * by genversion.c */ extern const char * const version_info[]; -/* versionsuffix returns an empty string or a string like -2.3.0.4b1. */ -extern const char *versionsuffix(void); - -/* version returns a string representing the version of Amanda. */ -extern const char *version(void); - #endif