Kindly thank you @recuperation for your interest ! I am glad to talk with you.
I have checked,
HAVE_LIBNTFS is not defined at all. But without this
HAVE_LIBNTFS, the function
ntfs_undelete_part from
ntfs_udl.cpp is not called at all.
The same situation was with
__CYGWIN__, without define this, I were not compiled a lot of functional code. That is why I had need to define
__CYGWIN__ in order to have needed code. I guess it will be the same for
HAVE_LIBNTFS ... but in this case, I need ntfs library. See a little code from
testdisk-7.1 code, from
github, file:
ntfs_inc.h
Code: Select all
#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
struct ntfs_dir_struct {
file_info_t* dir_list;
ntfs_volume* vol;
my_data_t *my_data;
dir_data_t* dir_data;
unsigned long int inode;
#ifdef HAVE_ICONV
iconv_t cd;
#endif
};
#endif
from this code I understand that without
HAVE_LIBNTFS defined I would not have
ntfs_dir_struct, and so
ntfs_volume*, and so on ...
But these defined values are somehow defined in
config.h.in file (from
testdisk-7.1 project, taken from github.)
Code: Select all
/* Define to 1 if you have the ntfs library (-lntfs). */
#undef HAVE_LIBNTFS
And please do not hide your voice, I am not hide anything ! I have downloaded source code from github,
testdisk-7.1, and inside
src folder, I have found all source code from where I am trying to figure out how to read deleted files from HDD as source code mechanism. I also read documentation from
https://www.ntfs.com/index.html, but there is no source code ... What else should I show or reveal ? I am not hiding anything ! Please tell me what I should show.