libfsext-python
Advanced tools
+12
-14
@@ -334,5 +334,2 @@ /* common/config.h. Generated from config.h.in by configure. */ | ||
| /* Define to 1 if you have the <memory.h> header file. */ | ||
| #define HAVE_MEMORY_H 1 | ||
| /* Define to 1 if you have the `memrchr' function. */ | ||
@@ -443,3 +440,3 @@ #define HAVE_MEMRCHR 1 | ||
| /* Define to 1 if you have the `strerror_r' function. */ | ||
| /* Define if you have `strerror_r'. */ | ||
| #define HAVE_STRERROR_R 1 | ||
@@ -495,2 +492,5 @@ | ||
| /* Define to 1 if you have the <sys/time.h> header file. */ | ||
| #define HAVE_SYS_TIME_H 1 | ||
| /* Define to 1 if you have the <sys/types.h> header file. */ | ||
@@ -596,3 +596,3 @@ #define HAVE_SYS_TYPES_H 1 | ||
| /* Define to the full name and version of this package. */ | ||
| #define PACKAGE_STRING "libfsext 20220319" | ||
| #define PACKAGE_STRING "libfsext 20220529" | ||
@@ -606,3 +606,3 @@ /* Define to the one symbol short name of this package. */ | ||
| /* Define to the version of this package. */ | ||
| #define PACKAGE_VERSION "20220319" | ||
| #define PACKAGE_VERSION "20220529" | ||
@@ -624,3 +624,5 @@ /* The size of `int', as computed by sizeof. */ | ||
| /* Define to 1 if you have the ANSI C header files. */ | ||
| /* Define to 1 if all of the C90 standard headers exist (not just the ones | ||
| required in a freestanding environment). This macro is provided for | ||
| backward compatibility; new code need not use it. */ | ||
| #define STDC_HEADERS 1 | ||
@@ -631,3 +633,4 @@ | ||
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ | ||
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This | ||
| macro is obsolete. */ | ||
| #define TIME_WITH_SYS_TIME 1 | ||
@@ -639,9 +642,4 @@ | ||
| /* Version number of package */ | ||
| #define VERSION "20220319" | ||
| #define VERSION "20220529" | ||
| /* Enable large inode numbers on Mac OS X 10.5. */ | ||
| #ifndef _DARWIN_USE_64_BIT_INODE | ||
| # define _DARWIN_USE_64_BIT_INODE 1 | ||
| #endif | ||
| /* Number of bits in a file offset, on hosts where this is settable. */ | ||
@@ -648,0 +646,0 @@ /* #undef _FILE_OFFSET_BITS */ |
+9
-11
@@ -333,5 +333,2 @@ /* common/config.h.in. Generated from configure.ac by autoheader. */ | ||
| /* Define to 1 if you have the <memory.h> header file. */ | ||
| #undef HAVE_MEMORY_H | ||
| /* Define to 1 if you have the `memrchr' function. */ | ||
@@ -442,3 +439,3 @@ #undef HAVE_MEMRCHR | ||
| /* Define to 1 if you have the `strerror_r' function. */ | ||
| /* Define if you have `strerror_r'. */ | ||
| #undef HAVE_STRERROR_R | ||
@@ -494,2 +491,5 @@ | ||
| /* Define to 1 if you have the <sys/time.h> header file. */ | ||
| #undef HAVE_SYS_TIME_H | ||
| /* Define to 1 if you have the <sys/types.h> header file. */ | ||
@@ -621,3 +621,5 @@ #undef HAVE_SYS_TYPES_H | ||
| /* Define to 1 if you have the ANSI C header files. */ | ||
| /* Define to 1 if all of the C90 standard headers exist (not just the ones | ||
| required in a freestanding environment). This macro is provided for | ||
| backward compatibility; new code need not use it. */ | ||
| #undef STDC_HEADERS | ||
@@ -628,3 +630,4 @@ | ||
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ | ||
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This | ||
| macro is obsolete. */ | ||
| #undef TIME_WITH_SYS_TIME | ||
@@ -638,7 +641,2 @@ | ||
| /* Enable large inode numbers on Mac OS X 10.5. */ | ||
| #ifndef _DARWIN_USE_64_BIT_INODE | ||
| # define _DARWIN_USE_64_BIT_INODE 1 | ||
| #endif | ||
| /* Number of bits in a file offset, on hosts where this is settable. */ | ||
@@ -645,0 +643,0 @@ #undef _FILE_OFFSET_BITS |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -156,4 +156,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | ||
@@ -176,2 +174,4 @@ $(srcdir)/types.h.in | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -192,2 +192,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -646,3 +647,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -649,0 +649,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -205,4 +205,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -224,2 +222,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -240,2 +240,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -861,3 +862,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -864,0 +864,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
+11
-0
@@ -572,2 +572,13 @@ /* | ||
| /* Retrieves the device number | ||
| * This value is retrieved from the inode | ||
| * Returns 1 if successful, 0 if not available or -1 on error | ||
| */ | ||
| LIBFSEXT_EXTERN \ | ||
| int libfsext_file_entry_get_device_number( | ||
| libfsext_file_entry_t *file_entry, | ||
| uint8_t *major_device_number, | ||
| uint8_t *minor_device_number, | ||
| libfsext_error_t **error ); | ||
| /* Retrieves the size of the UTF-8 encoded name | ||
@@ -574,0 +585,0 @@ * The returned size includes the end of string character |
@@ -572,2 +572,13 @@ /* | ||
| /* Retrieves the device number | ||
| * This value is retrieved from the inode | ||
| * Returns 1 if successful, 0 if not available or -1 on error | ||
| */ | ||
| LIBFSEXT_EXTERN \ | ||
| int libfsext_file_entry_get_device_number( | ||
| libfsext_file_entry_t *file_entry, | ||
| uint8_t *major_device_number, | ||
| uint8_t *minor_device_number, | ||
| libfsext_error_t **error ); | ||
| /* Retrieves the size of the UTF-8 encoded name | ||
@@ -574,0 +585,0 @@ * The returned size includes the end of string character |
@@ -27,7 +27,7 @@ /* | ||
| #define LIBFSEXT_VERSION 20220319 | ||
| #define LIBFSEXT_VERSION 20220529 | ||
| /* The version string | ||
| */ | ||
| #define LIBFSEXT_VERSION_STRING "20220319" | ||
| #define LIBFSEXT_VERSION_STRING "20220529" | ||
@@ -34,0 +34,0 @@ /* The file access |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -187,4 +187,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libfsext.h.in | ||
@@ -206,2 +204,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -222,2 +222,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -703,3 +704,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -706,0 +706,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
+3
-3
| Installation Instructions | ||
| ************************* | ||
| Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software | ||
| Foundation, Inc. | ||
| Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free | ||
| Software Foundation, Inc. | ||
@@ -228,3 +228,3 @@ Copying and distribution of this file, with or without modification, | ||
| HP-UX 'make' updates targets which have the same time stamps as their | ||
| HP-UX 'make' updates targets which have the same timestamps as their | ||
| prerequisites, which makes it generally unusable when shipped generated | ||
@@ -231,0 +231,0 @@ files such as 'configure' are involved. Use GNU 'make' instead. |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -222,4 +222,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -241,2 +239,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -257,2 +257,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -779,3 +780,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -782,0 +782,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -218,4 +218,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -237,2 +235,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -253,2 +253,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -760,3 +761,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -763,0 +763,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -197,4 +197,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -216,2 +214,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -232,2 +232,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -718,3 +719,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -721,0 +721,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -204,4 +204,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -223,2 +221,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -239,2 +239,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -739,3 +740,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -742,0 +742,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -201,4 +201,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -220,2 +218,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -236,2 +236,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -726,3 +727,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -729,0 +729,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -200,4 +200,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -219,2 +217,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -235,2 +235,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -724,3 +725,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -727,0 +727,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -198,4 +198,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -217,2 +215,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -233,2 +233,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -728,3 +729,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -731,0 +731,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -208,4 +208,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -227,2 +225,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -243,2 +243,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -737,3 +738,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -740,0 +740,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -222,4 +222,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -241,2 +239,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -257,2 +257,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -762,3 +763,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -765,0 +765,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -204,4 +204,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -223,2 +221,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -239,2 +239,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -735,3 +736,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -738,0 +738,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -224,4 +224,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -243,2 +241,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -259,2 +259,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -779,3 +780,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -782,0 +782,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -219,4 +219,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -238,2 +236,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -254,2 +254,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -756,3 +757,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -759,0 +759,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -197,4 +197,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -216,2 +214,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -232,2 +232,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -720,3 +721,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -723,0 +723,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
+1
-20
@@ -32,13 +32,2 @@ Name: libfsext | ||
| %package -n libfsext-python2 | ||
| Obsoletes: libfsext-python < %{version} | ||
| Provides: libfsext-python = %{version} | ||
| Summary: Python 2 bindings for libfsext | ||
| Group: System Environment/Libraries | ||
| Requires: libfsext = %{version}-%{release} python2 | ||
| BuildRequires: python2-devel | ||
| %description -n libfsext-python2 | ||
| Python 2 bindings for libfsext | ||
| %package -n libfsext-python3 | ||
@@ -66,3 +55,3 @@ Summary: Python 3 bindings for libfsext | ||
| %build | ||
| %configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python2 --enable-python3 | ||
| %configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python3 | ||
| make %{?_smp_mflags} | ||
@@ -103,10 +92,2 @@ | ||
| %files -n libfsext-python2 | ||
| %defattr(644,root,root,755) | ||
| %license COPYING COPYING.LESSER | ||
| %doc AUTHORS README | ||
| %{_libdir}/python2*/site-packages/*.a | ||
| %{_libdir}/python2*/site-packages/*.la | ||
| %{_libdir}/python2*/site-packages/*.so | ||
| %files -n libfsext-python3 | ||
@@ -113,0 +94,0 @@ %defattr(644,root,root,755) |
@@ -40,7 +40,7 @@ /* | ||
| #else | ||
| #define LIBFSEXT_VERSION 20220319 | ||
| #define LIBFSEXT_VERSION 20220529 | ||
| /* The version string | ||
| */ | ||
| #define LIBFSEXT_VERSION_STRING "20220319" | ||
| #define LIBFSEXT_VERSION_STRING "20220529" | ||
@@ -47,0 +47,0 @@ /* The file access |
@@ -197,2 +197,9 @@ /* | ||
| LIBFSEXT_EXTERN \ | ||
| int libfsext_file_entry_get_device_number( | ||
| libfsext_file_entry_t *file_entry, | ||
| uint8_t *major_device_number, | ||
| uint8_t *minor_device_number, | ||
| libcerror_error_t **error ); | ||
| LIBFSEXT_EXTERN \ | ||
| int libfsext_file_entry_get_utf8_name_size( | ||
@@ -199,0 +206,0 @@ libfsext_file_entry_t *file_entry, |
@@ -932,2 +932,15 @@ /* | ||
| } | ||
| else if( ( ( inode->file_mode & 0xf000 ) == 0x2000 ) | ||
| || ( ( inode->file_mode & 0xf000 ) == 0x6000 ) ) | ||
| { | ||
| libcnotify_printf( | ||
| "%s: minor device number\t\t\t\t: %" PRIu8 "\n", | ||
| function, | ||
| inode->data_reference[ 0 ] ); | ||
| libcnotify_printf( | ||
| "%s: major device number\t\t\t\t: %" PRIu8 "\n", | ||
| function, | ||
| inode->data_reference[ 1 ] ); | ||
| } | ||
| else if( ( ( inode->file_mode & 0xf000 ) == 0xa000 ) | ||
@@ -1120,3 +1133,5 @@ && ( inode->data_size < 60 ) ) | ||
| extended_inode_size ); | ||
| } | ||
| if( data_size == sizeof( fsext_inode_ext3_t ) ) | ||
| { | ||
| byte_stream_copy_to_uint16_little_endian( | ||
@@ -1670,2 +1685,7 @@ ( (fsext_inode_ext3_t *) data )->padding2, | ||
| } | ||
| else if( ( ( inode->file_mode & 0xf000 ) == 0x2000 ) | ||
| || ( ( inode->file_mode & 0xf000 ) == 0x6000 ) ) | ||
| { | ||
| /* The major and minor device numbers are stored in inode->data_reference */ | ||
| } | ||
| else if( ( ( inode->file_mode & 0xf000 ) == 0xa000 ) | ||
@@ -2162,2 +2182,57 @@ && ( inode->data_size < 60 ) ) | ||
| /* Retrieves the device number | ||
| * Returns 1 if successful, 0 if not available or -1 on error | ||
| */ | ||
| int libfsext_inode_get_device_number( | ||
| libfsext_inode_t *inode, | ||
| uint8_t *major_device_number, | ||
| uint8_t *minor_device_number, | ||
| libcerror_error_t **error ) | ||
| { | ||
| static char *function = "libfsext_inode_get_device_number"; | ||
| if( inode == NULL ) | ||
| { | ||
| libcerror_error_set( | ||
| error, | ||
| LIBCERROR_ERROR_DOMAIN_ARGUMENTS, | ||
| LIBCERROR_ARGUMENT_ERROR_INVALID_VALUE, | ||
| "%s: invalid inode.", | ||
| function ); | ||
| return( -1 ); | ||
| } | ||
| if( major_device_number == NULL ) | ||
| { | ||
| libcerror_error_set( | ||
| error, | ||
| LIBCERROR_ERROR_DOMAIN_ARGUMENTS, | ||
| LIBCERROR_ARGUMENT_ERROR_INVALID_VALUE, | ||
| "%s: invalid major device number.", | ||
| function ); | ||
| return( -1 ); | ||
| } | ||
| if( minor_device_number == NULL ) | ||
| { | ||
| libcerror_error_set( | ||
| error, | ||
| LIBCERROR_ERROR_DOMAIN_ARGUMENTS, | ||
| LIBCERROR_ARGUMENT_ERROR_INVALID_VALUE, | ||
| "%s: invalid minor device number.", | ||
| function ); | ||
| return( -1 ); | ||
| } | ||
| if( ( ( inode->file_mode & 0xf000 ) == 0x2000 ) | ||
| || ( ( inode->file_mode & 0xf000 ) == 0x6000 ) ) | ||
| { | ||
| *major_device_number = inode->data_reference[ 1 ]; | ||
| *minor_device_number = inode->data_reference[ 0 ]; | ||
| return( 1 ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Retrieves the number of extents | ||
@@ -2164,0 +2239,0 @@ * Returns 1 if successful or -1 on error |
@@ -226,2 +226,8 @@ /* | ||
| int libfsext_inode_get_device_number( | ||
| libfsext_inode_t *inode, | ||
| uint8_t *major_device_number, | ||
| uint8_t *minor_device_number, | ||
| libcerror_error_t **error ); | ||
| int libfsext_inode_get_number_of_extents( | ||
@@ -228,0 +234,0 @@ libfsext_inode_t *inode, |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -258,4 +258,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libfsext.rc.in \ | ||
@@ -278,2 +276,4 @@ $(srcdir)/libfsext_definitions.h.in $(top_srcdir)/depcomp | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -294,2 +294,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -916,3 +917,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -919,0 +919,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
| /* | ||
| * Byte stream functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * The internal definitions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -37,7 +37,7 @@ * Refer to AUTHORS for acknowledgements. | ||
| #else | ||
| #define LIBHMAC_VERSION 20200104 | ||
| #define LIBHMAC_VERSION 20220425 | ||
| /* The libhmac version string | ||
| */ | ||
| #define LIBHMAC_VERSION_STRING "20200104" | ||
| #define LIBHMAC_VERSION_STRING "20220425" | ||
@@ -44,0 +44,0 @@ /* The digest hash sizes |
| /* | ||
| * Error functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * Error functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * The internal extern definition | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,7 @@ * Refer to AUTHORS for acknowledgements. | ||
| #if defined( __CYGWIN__ ) || defined( __MINGW32__ ) | ||
| #define LIBHMAC_EXTERN_VARIABLE extern | ||
| #else | ||
| #define LIBHMAC_EXTERN_VARIABLE LIBHMAC_EXTERN | ||
| #endif | ||
@@ -36,0 +40,0 @@ #else |
| /* | ||
| * The libcerror header wrapper | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * MD5 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * MD5 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA1 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA1 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-224 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-224 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-256 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-256 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-512 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * SHA-512 functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -33,3 +33,2 @@ * Refer to AUTHORS for acknowledgements. | ||
| #include <openssl/evp.h> | ||
| #endif | ||
@@ -36,0 +35,0 @@ |
| /* | ||
| * Support functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * Support functions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * The internal type definitions | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
| /* | ||
| * Definitions to silence compiler warnings about unused function attributes/parameters. | ||
| * | ||
| * Copyright (C) 2011-2020, Joachim Metz <joachim.metz@gmail.com> | ||
| * Copyright (C) 2011-2022, Joachim Metz <joachim.metz@gmail.com> | ||
| * | ||
@@ -6,0 +6,0 @@ * Refer to AUTHORS for acknowledgements. |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -201,4 +201,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -220,2 +218,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -236,2 +236,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -566,3 +567,5 @@ FGREP = @FGREP@ | ||
| @HAVE_LOCAL_LIBHMAC_TRUE@ -I$(top_srcdir)/common \ | ||
| @HAVE_LOCAL_LIBHMAC_TRUE@ @LIBCERROR_CPPFLAGS@ | ||
| @HAVE_LOCAL_LIBHMAC_TRUE@ @LIBCERROR_CPPFLAGS@ \ | ||
| @HAVE_LOCAL_LIBHMAC_TRUE@ @LIBCRYPTO_CPPFLAGS@ \ | ||
| @HAVE_LOCAL_LIBHMAC_TRUE@ @PTHREAD_CPPFLAGS@ | ||
@@ -734,3 +737,2 @@ @HAVE_LOCAL_LIBHMAC_TRUE@noinst_LTLIBRARIES = libhmac.la | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -737,0 +739,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -376,4 +376,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -395,2 +393,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -411,2 +411,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -1019,3 +1020,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -1022,0 +1022,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
+8
-8
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -206,5 +206,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| CSCOPE = cscope | ||
| DIST_SUBDIRS = $(SUBDIRS) | ||
@@ -257,2 +254,4 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libfsext.pc.in \ | ||
| DIST_TARGETS = dist-gzip | ||
| # Exists only to be overridden by the user if desired. | ||
| AM_DISTCHECK_DVI_TARGET = dvi | ||
| distuninstallcheck_listfiles = find . -type f -print | ||
@@ -276,2 +275,4 @@ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -292,2 +293,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -658,3 +660,2 @@ FGREP = @FGREP@ | ||
| dpkg/libfsext-dev.install \ | ||
| dpkg/libfsext-python.install \ | ||
| dpkg/libfsext-python3.install \ | ||
@@ -876,3 +877,2 @@ dpkg/libfsext-tools.install \ | ||
| -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -1024,3 +1024,3 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am | ||
| && $(MAKE) $(AM_MAKEFLAGS) \ | ||
| && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
| && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ | ||
| && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
@@ -1027,0 +1027,0 @@ && $(MAKE) $(AM_MAKEFLAGS) install \ |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -187,2 +187,4 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -203,2 +205,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -673,3 +676,2 @@ FGREP = @FGREP@ | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -676,0 +678,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -155,2 +155,4 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -171,2 +173,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -596,3 +599,2 @@ FGREP = @FGREP@ | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -599,0 +601,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -222,4 +222,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -241,2 +239,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -257,2 +257,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -819,3 +820,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -822,0 +822,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: libfsext-python | ||
| Version: 20220319 | ||
| Version: 20220529 | ||
| Summary: Python bindings module for libfsext | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/libyal/libfsext/ |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -236,4 +236,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -255,2 +253,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -271,2 +271,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -898,3 +899,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -943,3 +943,4 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am | ||
| $(MAKE) $(AM_MAKEFLAGS) install-am | ||
| install-exec: install-exec-am | ||
| install-exec: $(BUILT_SOURCES) | ||
| $(MAKE) $(AM_MAKEFLAGS) install-exec-am | ||
| install-data: install-data-am | ||
@@ -1052,3 +1053,3 @@ uninstall: uninstall-am | ||
| .MAKE: all check install install-am install-strip | ||
| .MAKE: all check install install-am install-exec install-strip | ||
@@ -1055,0 +1056,0 @@ .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -236,4 +236,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -255,2 +253,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -271,2 +271,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -898,3 +899,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -943,3 +943,4 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am | ||
| $(MAKE) $(AM_MAKEFLAGS) install-am | ||
| install-exec: install-exec-am | ||
| install-exec: $(BUILT_SOURCES) | ||
| $(MAKE) $(AM_MAKEFLAGS) install-exec-am | ||
| install-data: install-data-am | ||
@@ -1052,3 +1053,3 @@ uninstall: uninstall-am | ||
| .MAKE: all check install install-am install-strip | ||
| .MAKE: all check install install-am install-exec install-strip | ||
@@ -1055,0 +1056,0 @@ .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ |
@@ -1,5 +0,5 @@ | ||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||
| # Makefile.in generated by automake 1.16.5 from Makefile.am. | ||
| # @configure_input@ | ||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||
| # Copyright (C) 1994-2021 Free Software Foundation, Inc. | ||
@@ -248,4 +248,2 @@ # This Makefile.in is free software; the Free Software Foundation | ||
| done | $(am__uniquify_input)` | ||
| ETAGS = etags | ||
| CTAGS = ctags | ||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
@@ -267,2 +265,4 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| CPPFLAGS = @CPPFLAGS@ | ||
| CSCOPE = @CSCOPE@ | ||
| CTAGS = @CTAGS@ | ||
| CXX = @CXX@ | ||
@@ -283,2 +283,3 @@ CXXCPP = @CXXCPP@ | ||
| EGREP = @EGREP@ | ||
| ETAGS = @ETAGS@ | ||
| EXEEXT = @EXEEXT@ | ||
@@ -900,3 +901,2 @@ FGREP = @FGREP@ | ||
| -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| distdir: $(BUILT_SOURCES) | ||
@@ -903,0 +903,0 @@ $(MAKE) $(AM_MAKEFLAGS) distdir-am |
@@ -129,2 +129,6 @@ /* | ||
| PyObject *pyfsext_file_entry_get_device_number( | ||
| pyfsext_file_entry_t *pyfsext_file_entry, | ||
| PyObject *arguments ); | ||
| PyObject *pyfsext_file_entry_get_name( | ||
@@ -131,0 +135,0 @@ pyfsext_file_entry_t *pyfsext_file_entry, |
+579
-91
@@ -1003,10 +1003,10 @@ /* | ||
| /* Tests the libfsext_inode_get_number_of_extents function | ||
| /* Tests the libfsext_inode_get_access_time function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_number_of_extents( | ||
| int fsext_test_inode_get_access_time( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int number_of_extents = 0; | ||
| int64_t posix_time = 0; | ||
| int result = 0; | ||
@@ -1016,5 +1016,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_number_of_extents( | ||
| result = libfsext_inode_get_access_time( | ||
| inode, | ||
| &number_of_extents, | ||
| &posix_time, | ||
| &error ); | ||
@@ -1033,5 +1033,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_number_of_extents( | ||
| result = libfsext_inode_get_access_time( | ||
| NULL, | ||
| &number_of_extents, | ||
| &posix_time, | ||
| &error ); | ||
@@ -1051,3 +1051,3 @@ | ||
| result = libfsext_inode_get_number_of_extents( | ||
| result = libfsext_inode_get_access_time( | ||
| inode, | ||
@@ -1080,23 +1080,100 @@ NULL, | ||
| /* Tests the libfsext_inode_get_extent_by_index function | ||
| /* Tests the libfsext_inode_get_creation_time function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_extent_by_index( | ||
| int fsext_test_inode_get_creation_time( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| libfsext_extent_t *extent = NULL; | ||
| int result = 0; | ||
| libcerror_error_t *error = NULL; | ||
| int64_t posix_time = 0; | ||
| int creation_time_is_set = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_extent_by_index( | ||
| result = libfsext_inode_get_creation_time( | ||
| inode, | ||
| 0, | ||
| &extent, | ||
| &posix_time, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_NOT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| creation_time_is_set = result; | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_creation_time( | ||
| NULL, | ||
| &posix_time, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| if( creation_time_is_set != 0 ) | ||
| { | ||
| result = libfsext_inode_get_creation_time( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Tests the libfsext_inode_get_inode_change_time function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_inode_change_time( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int64_t posix_time = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_inode_change_time( | ||
| inode, | ||
| &posix_time, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 1 ); | ||
@@ -1110,6 +1187,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_extent_by_index( | ||
| result = libfsext_inode_get_inode_change_time( | ||
| NULL, | ||
| 0, | ||
| &extent, | ||
| &posix_time, | ||
| &error ); | ||
@@ -1129,5 +1205,4 @@ | ||
| result = libfsext_inode_get_extent_by_index( | ||
| result = libfsext_inode_get_inode_change_time( | ||
| inode, | ||
| 0, | ||
| NULL, | ||
@@ -1159,6 +1234,6 @@ &error ); | ||
| /* Tests the libfsext_inode_get_access_time function | ||
| /* Tests the libfsext_inode_get_modification_time function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_access_time( | ||
| int fsext_test_inode_get_modification_time( | ||
| libfsext_inode_t *inode ) | ||
@@ -1172,3 +1247,3 @@ { | ||
| */ | ||
| result = libfsext_inode_get_access_time( | ||
| result = libfsext_inode_get_modification_time( | ||
| inode, | ||
@@ -1189,3 +1264,3 @@ &posix_time, | ||
| */ | ||
| result = libfsext_inode_get_access_time( | ||
| result = libfsext_inode_get_modification_time( | ||
| NULL, | ||
@@ -1207,3 +1282,3 @@ &posix_time, | ||
| result = libfsext_inode_get_access_time( | ||
| result = libfsext_inode_get_modification_time( | ||
| inode, | ||
@@ -1236,11 +1311,10 @@ NULL, | ||
| /* Tests the libfsext_inode_get_creation_time function | ||
| /* Tests the libfsext_inode_get_deletion_time function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_creation_time( | ||
| int fsext_test_inode_get_deletion_time( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int64_t posix_time = 0; | ||
| int creation_time_is_set = 0; | ||
| int32_t posix_time = 0; | ||
| int result = 0; | ||
@@ -1250,3 +1324,3 @@ | ||
| */ | ||
| result = libfsext_inode_get_creation_time( | ||
| result = libfsext_inode_get_deletion_time( | ||
| inode, | ||
@@ -1256,6 +1330,6 @@ &posix_time, | ||
| FSEXT_TEST_ASSERT_NOT_EQUAL_INT( | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| 1 ); | ||
@@ -1266,7 +1340,5 @@ FSEXT_TEST_ASSERT_IS_NULL( | ||
| creation_time_is_set = result; | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_creation_time( | ||
| result = libfsext_inode_get_deletion_time( | ||
| NULL, | ||
@@ -1288,21 +1360,92 @@ &posix_time, | ||
| if( creation_time_is_set != 0 ) | ||
| { | ||
| result = libfsext_inode_get_creation_time( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| result = libfsext_inode_get_deletion_time( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Tests the libfsext_inode_get_file_mode function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_file_mode( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| uint16_t file_mode = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_file_mode( | ||
| inode, | ||
| &file_mode, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 1 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_file_mode( | ||
| NULL, | ||
| &file_mode, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_file_mode( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
@@ -1319,10 +1462,10 @@ | ||
| /* Tests the libfsext_inode_get_inode_change_time function | ||
| /* Tests the libfsext_inode_get_number_of_links function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_inode_change_time( | ||
| int fsext_test_inode_get_number_of_links( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int64_t posix_time = 0; | ||
| uint16_t number_of_links = 0; | ||
| int result = 0; | ||
@@ -1332,5 +1475,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_inode_change_time( | ||
| result = libfsext_inode_get_number_of_links( | ||
| inode, | ||
| &posix_time, | ||
| &number_of_links, | ||
| &error ); | ||
@@ -1349,5 +1492,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_inode_change_time( | ||
| result = libfsext_inode_get_number_of_links( | ||
| NULL, | ||
| &posix_time, | ||
| &number_of_links, | ||
| &error ); | ||
@@ -1367,3 +1510,3 @@ | ||
| result = libfsext_inode_get_inode_change_time( | ||
| result = libfsext_inode_get_number_of_links( | ||
| inode, | ||
@@ -1396,17 +1539,17 @@ NULL, | ||
| /* Tests the libfsext_inode_get_modification_time function | ||
| /* Tests the libfsext_inode_get_owner_identifier function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_modification_time( | ||
| int fsext_test_inode_get_owner_identifier( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int64_t posix_time = 0; | ||
| int result = 0; | ||
| libcerror_error_t *error = NULL; | ||
| uint32_t owner_identifier = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_modification_time( | ||
| result = libfsext_inode_get_owner_identifier( | ||
| inode, | ||
| &posix_time, | ||
| &owner_identifier, | ||
| &error ); | ||
@@ -1425,5 +1568,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_modification_time( | ||
| result = libfsext_inode_get_owner_identifier( | ||
| NULL, | ||
| &posix_time, | ||
| &owner_identifier, | ||
| &error ); | ||
@@ -1443,3 +1586,3 @@ | ||
| result = libfsext_inode_get_modification_time( | ||
| result = libfsext_inode_get_owner_identifier( | ||
| inode, | ||
@@ -1472,10 +1615,251 @@ NULL, | ||
| /* Tests the libfsext_inode_get_deletion_time function | ||
| /* Tests the libfsext_inode_get_group_identifier function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_deletion_time( | ||
| int fsext_test_inode_get_group_identifier( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| uint32_t group_identifier = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_group_identifier( | ||
| inode, | ||
| &group_identifier, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 1 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_group_identifier( | ||
| NULL, | ||
| &group_identifier, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_group_identifier( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Tests the libfsext_inode_get_file_acl_block_number function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_file_acl_block_number( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| uint32_t file_acl_block_number = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_file_acl_block_number( | ||
| inode, | ||
| &file_acl_block_number, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 1 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_file_acl_block_number( | ||
| NULL, | ||
| &file_acl_block_number, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_file_acl_block_number( | ||
| inode, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Tests the libfsext_inode_get_device_number function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_device_number( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| uint8_t major_device_number = 0; | ||
| uint8_t minor_device_number = 0; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_device_number( | ||
| inode, | ||
| &major_device_number, | ||
| &minor_device_number, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 0 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_device_number( | ||
| NULL, | ||
| &major_device_number, | ||
| &minor_device_number, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_device_number( | ||
| inode, | ||
| NULL, | ||
| &minor_device_number, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_device_number( | ||
| inode, | ||
| &major_device_number, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| /* Tests the libfsext_inode_get_number_of_extents function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_number_of_extents( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| int32_t posix_time = 0; | ||
| int number_of_extents = 0; | ||
| int result = 0; | ||
@@ -1485,5 +1869,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_deletion_time( | ||
| result = libfsext_inode_get_number_of_extents( | ||
| inode, | ||
| &posix_time, | ||
| &number_of_extents, | ||
| &error ); | ||
@@ -1502,5 +1886,5 @@ | ||
| */ | ||
| result = libfsext_inode_get_deletion_time( | ||
| result = libfsext_inode_get_number_of_extents( | ||
| NULL, | ||
| &posix_time, | ||
| &number_of_extents, | ||
| &error ); | ||
@@ -1520,3 +1904,3 @@ | ||
| result = libfsext_inode_get_deletion_time( | ||
| result = libfsext_inode_get_number_of_extents( | ||
| inode, | ||
@@ -1549,2 +1933,78 @@ NULL, | ||
| /* Tests the libfsext_inode_get_extent_by_index function | ||
| * Returns 1 if successful or 0 if not | ||
| */ | ||
| int fsext_test_inode_get_extent_by_index( | ||
| libfsext_inode_t *inode ) | ||
| { | ||
| libcerror_error_t *error = NULL; | ||
| libfsext_extent_t *extent = NULL; | ||
| int result = 0; | ||
| /* Test regular cases | ||
| */ | ||
| result = libfsext_inode_get_extent_by_index( | ||
| inode, | ||
| 0, | ||
| &extent, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| 1 ); | ||
| FSEXT_TEST_ASSERT_IS_NULL( | ||
| "error", | ||
| error ); | ||
| /* Test error cases | ||
| */ | ||
| result = libfsext_inode_get_extent_by_index( | ||
| NULL, | ||
| 0, | ||
| &extent, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| result = libfsext_inode_get_extent_by_index( | ||
| inode, | ||
| 0, | ||
| NULL, | ||
| &error ); | ||
| FSEXT_TEST_ASSERT_EQUAL_INT( | ||
| "result", | ||
| result, | ||
| -1 ); | ||
| FSEXT_TEST_ASSERT_IS_NOT_NULL( | ||
| "error", | ||
| error ); | ||
| libcerror_error_free( | ||
| &error ); | ||
| return( 1 ); | ||
| on_error: | ||
| if( error != NULL ) | ||
| { | ||
| libcerror_error_free( | ||
| &error ); | ||
| } | ||
| return( 0 ); | ||
| } | ||
| #endif /* defined( __GNUC__ ) && !defined( LIBFSEXT_DLL_IMPORT ) */ | ||
@@ -1671,13 +2131,5 @@ | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_number_of_extents", | ||
| fsext_test_inode_get_number_of_extents, | ||
| inode ); | ||
| /* TODO add test for libfsext_inode_is_empty */ | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_extent_by_index", | ||
| fsext_test_inode_get_extent_by_index, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_access_time", | ||
@@ -1688,9 +2140,9 @@ fsext_test_inode_get_access_time, | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_access_time", | ||
| fsext_test_inode_get_access_time, | ||
| "libfsext_inode_get_creation_time", | ||
| fsext_test_inode_get_creation_time, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_creation_time", | ||
| fsext_test_inode_get_creation_time, | ||
| "libfsext_inode_get_inode_change_time", | ||
| fsext_test_inode_get_inode_change_time, | ||
| inode ); | ||
@@ -1708,8 +2160,44 @@ | ||
| /* TODO add test for libfsext_inode_get_file_mode */ | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_file_mode", | ||
| fsext_test_inode_get_file_mode, | ||
| inode ); | ||
| /* TODO add test for libfsext_inode_get_user_identifier */ | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_number_of_links", | ||
| fsext_test_inode_get_number_of_links, | ||
| inode ); | ||
| /* TODO add test for libfsext_inode_get_group_identifier */ | ||
| /* TODO add test for libfsext_inode_get_data_size */ | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_owner_identifier", | ||
| fsext_test_inode_get_owner_identifier, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_group_identifier", | ||
| fsext_test_inode_get_group_identifier, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_file_acl_block_number", | ||
| fsext_test_inode_get_file_acl_block_number, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_device_number", | ||
| fsext_test_inode_get_device_number, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_number_of_extents", | ||
| fsext_test_inode_get_number_of_extents, | ||
| inode ); | ||
| FSEXT_TEST_RUN_WITH_ARGS( | ||
| "libfsext_inode_get_extent_by_index", | ||
| fsext_test_inode_get_extent_by_index, | ||
| inode ); | ||
| /* TODO add test for libfsext_inode_read_element_data */ | ||
@@ -1716,0 +2204,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
12549697
0.56%826
-0.12%