OpenDNSSEC-enforcer  1.3.4
/build/buildd/opendnssec-1.3.4/enforcer/ksm/ksm_version.c
Go to the documentation of this file.
00001 /*
00002  * $Id: ksm_version.c 736 2009-05-19 09:22:09Z sion $
00003  *
00004  * Copyright (c) 2008-2009 Nominet UK. All rights reserved.
00005  *
00006  * Redistribution and use in source and binary forms, with or without
00007  * modification, are permitted provided that the following conditions
00008  * are met:
00009  * 1. Redistributions of source code must retain the above copyright
00010  *    notice, this list of conditions and the following disclaimer.
00011  * 2. Redistributions in binary form must reproduce the above copyright
00012  *    notice, this list of conditions and the following disclaimer in the
00013  *    documentation and/or other materials provided with the distribution.
00014  *
00015  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
00016  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00017  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
00019  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00020  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
00021  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
00023  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00024  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
00025  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  *
00027  */
00028 
00029 /*+
00030  * ksm_version.ver (version.c) - Return Version
00031  *
00032  * Description:
00033  *              The file "ksm_version.c" is created at build time from this file,
00034  *              "ksm_version.ver".  It simply returns a string identifying the version
00035  *              of the library.
00036  *
00037  *              Typically this string is expected to include the date and time of the
00038  *              build.
00039  *
00040  *              In the string below, the "make" procedure will replace the following
00041  *              tags:
00042  *
00043  *              Wed Apr  1 16:25:02 BST 2009            The current date and time (from the "date" command).
00044  *
00045  * Arguments:
00046  *              None.
00047  *
00048  * Returns:
00049  *              const char *
00050  *                      Version of the build.
00051 -*/
00052 
00053 #include "ksm/ksm_version.h"
00054 
00055 static const char* LIBRARY_VERSION = "0.7"
00056 #ifndef NDEBUG
00057         "-DEBUG"
00058 #endif /* NDEBUG */
00059 " (built on Wed Apr  1 16:25:02 BST 2009)";
00060 
00061 const char* KsmVersion(void)
00062 {
00063         return LIBRARY_VERSION;
00064 }