~ubuntu-branches/ubuntu/dapper/linux-ntfs/dapper

« back to all changes in this revision

Viewing changes to libntfs/version.c

  • Committer: Bazaar Package Importer
  • Author(s): David Martínez Moreno
  • Date: 2005-11-08 20:20:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051108202023-dpn4lutm8o0div8g
Tags: 1.12.1-1
* New upstream release (closes: #332930):
  - Fixed lots of memory leaks in the tools.
  - ntfsmount now uses the new API, and it has several fixes.
  - Support journals which have been modified by chkdsk.
  - New API for creating hard links, index handling, high-level creation and
    deletion of files and directories.
  - New utility ntfscmp (make extra) which compares two NTFS volumes and
    tell the differences. It's used for development, debugging, testing, etc.
  - Added robustness to several tools.
  - ntfsclone: fix saving by sectors during --rescue.
  - ntfsmount: Add 'locale' option and change interface to 'ntfsmount device
    mount_point'.
  - Fixed problem with kernel 2.4 and mkntfs.
  - Change ALL utilities to display the libntfs version they are running on.
    This should make debugging easier in the case that people are running
    mismatched utilities/library.
* This new release fixes problems with libfuse 2.4.0 (closes: #336357).
* Fixed a lot of typos in the manpages, kindly submitted by A Costa. Thanks!
  (closes: #336143, #336144, #336145, #336147, #336148).
* Fixed a couple of typos by me.
* debian/control: The SONAME of libntfs was bumped. Created new package
  (libntfs8) and removed the old one.
* debian/copyright: Updated the FSF postal address.
* Added debian/ntfsprogs.links in order to ship mkfs.ntfs and
  mount.ntfs-fuse.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * version.c - Info about the NTFS library.  Part of the Linux-NTFS project.
 
3
 *
 
4
 * Copyright (c) 2005 Anton Altaparmakov
 
5
 * Copyright (c) 2005 Richard Russon
 
6
 *
 
7
 * This program/include file is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU General Public License as published
 
9
 * by the Free Software Foundation; either version 2 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * This program/include file is distributed in the hope that it will be
 
13
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 
14
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with this program (in the main directory of the Linux-NTFS
 
19
 * distribution in the file COPYING); if not, write to the Free Software
 
20
 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
21
 */
 
22
 
 
23
#ifdef HAVE_CONFIG_H
 
24
#include "config.h"
 
25
#endif
 
26
 
 
27
#include "version.h"
 
28
 
 
29
#ifdef LTVERSION_LIBNTFS
 
30
#define LIBNTFS_VERSION_STRING LTVERSION_LIBNTFS
 
31
#else
 
32
#define LIBNTFS_VERSION_STRING "unknown"
 
33
#endif
 
34
 
 
35
static const char *libntfs_version_string = LIBNTFS_VERSION_STRING;
 
36
 
 
37
/**
 
38
 * ntfs_libntfs_version - query version number of the ntfs library libntfs
 
39
 *
 
40
 * Returns pointer to a text string representing the version of libntfs.
 
41
 */
 
42
const char *ntfs_libntfs_version(void)
 
43
{
 
44
        return libntfs_version_string;
 
45
}