1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
/*
* The Sleuth Kit
*
* Brian Carrier [carrier <at> sleuthkit [dot] org]
* Copyright (c) 2007-2011 Brian Carrier. All rights reserved
*
* This software is distributed under the Common Public License 1.0
*/
/** \file tsk_version.c
* Contains functions to print and obtain the library version.
*/
#include "tsk_base_i.h"
/**
* \ingroup baselib
* Print the library name and version to a handle (such as "The Sleuth Kit ver 1.00").
* @param hFile Handle to print to
*/
void
tsk_version_print(FILE * hFile)
{
tsk_fprintf(hFile, "The Sleuth Kit ver %s\n", TSK_VERSION_STR);
return;
}
/**
* \ingroup baselib
* Return the library version as a string.
* @returns String version of version (1.00 for example)
*/
const char *
tsk_version_get_str()
{
return TSK_VERSION_STR;
}
|