Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30562/include/ntfs
Modified Files:
version.h
Log Message:
- Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
static const string of the libntfs verion, i.e. at the moment this is
"8.0.0". This required moving the version specifications from
libntfs/Makefile.am to configure.ac. This should hopefully have the
sideeffect that I will remember to increment it when incrementing the
ntfsprogs version number when making a release given the two are
right under one another. (Anton)
- 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. (Anton)
Index: version.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/version.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- version.h 22 Sep 2005 16:41:43 -0000 1.1
+++ version.h 7 Oct 2005 14:10:57 -0000 1.2
@@ -1,6 +1,7 @@
/**
- * version.h - Info about the NTFS library. Part of the Linux-NTFS project.
+ * version.h - Info about the NTFS library. Part of the Linux-NTFS project.
*
+ * Copyright (c) 2005 Anton Altaparmakov
* Copyright (c) 2005 Richard Russon
*
* This program/include file is free software; you can redistribute it and/or
@@ -22,7 +23,7 @@
#ifndef _NTFS_VERSION_H_
#define _NTFS_VERSION_H_
-extern const char * ntfs_get_library_version (void);
+extern const char *ntfs_libntfs_version(void);
#endif /* _NTFS_VERSION_H_ */
|