summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsfd.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:57 +0000
commitce95875445c67808caa5d4fb0e6f80dbdaef0cb7 (patch)
tree6da8cbc66ef15086c9d295e4abe733b24818551e /misc-utils/lsfd.h
parentAdding upstream version 2.40. (diff)
downloadutil-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.h15
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 {