lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / version.h
index cae54cec71623049cdc98d3ced6daa859aed4799..33453f0b5debc4740f1fbe8d266ed31cb057185f 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
- * Copyright (c) 1991-1998 University of Maryland at College Park
+ * 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
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: version.h,v 1.4.4.1 1999/05/25 06:59:58 oliva Exp $
+ * $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 <major>.<minor>[.<patch>[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;
-
-/* versionsuffix returns an empty string or a string like -2.3.0.4b1.  */
-extern char *versionsuffix();
-
-/* version returns a string representing the version of Amanda.  */
-extern char *version();
+/* 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[];
 
 #endif