diff options
Diffstat (limited to '')
-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 { |