diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:22:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:22:57 +0000 |
commit | ce95875445c67808caa5d4fb0e6f80dbdaef0cb7 (patch) | |
tree | 6da8cbc66ef15086c9d295e4abe733b24818551e /misc-utils/lsfd.h | |
parent | Adding upstream version 2.40. (diff) | |
download | util-linux-ce95875445c67808caa5d4fb0e6f80dbdaef0cb7.tar.xz util-linux-ce95875445c67808caa5d4fb0e6f80dbdaef0cb7.zip |
Adding upstream version 2.40.1.upstream/2.40.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc-utils/lsfd.h')
-rw-r--r-- | misc-utils/lsfd.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/misc-utils/lsfd.h b/misc-utils/lsfd.h index 1859dc7..e646758 100644 --- a/misc-utils/lsfd.h +++ b/misc-utils/lsfd.h @@ -28,7 +28,11 @@ #include <sys/stat.h> #include <dirent.h> #include <inttypes.h> +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include "debug.h" #include "libsmartcols.h" #include "list.h" #include "nls.h" @@ -37,6 +41,17 @@ #include "xalloc.h" /* + * debug + */ +UL_DEBUG_DECLARE_MASK(lsfd); + +#define LSFD_DEBUG_INIT (1 << 1) +#define LSFD_DEBUG_ENDPOINTS (1 << 2) +#define LSFD_DEBUG_ALL 0xFFFF + +#define DBG(m, x) __UL_DBG(lsfd, LSFD_DEBUG_, m, x) + +/* * column IDs */ enum { |