File: tsk_version.c

package info (click to toggle)
sleuthkit 4.11.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,388 kB
  • sloc: ansic: 143,074; cpp: 33,286; java: 32,933; sh: 4,342; xml: 2,197; makefile: 436; python: 270
file content (37 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (8)
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;
}