From d6c51bf64cd791d1bfeb9a2ff777b1caa1971eb4 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sat, 6 Mar 2004 17:42:28 +0000 Subject: [PATCH] Auto merged 2004/01/07 15:48:41+00:00 cantab.net!aia21 Auto merged 2003/11/02 23:22:27+00:00 flatcap.org!ntfs declare [EQV]printf 2003/10/29 18:13:30+00:00 flatcap.org!ntfs added dump_mem (Logical change 1.299) --- ntfsprogs/utils.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ntfsprogs/utils.h b/ntfsprogs/utils.h index 94a4bfb9..e605da63 100644 --- a/ntfsprogs/utils.h +++ b/ntfsprogs/utils.h @@ -46,6 +46,10 @@ extern const char *ntfs_gpl; # define REG_NOERROR 0 #endif +#define DEC_PRINTF(NAME) \ + int NAME (const char *format, ...) \ + __attribute__ ((format (printf, 1, 2))); + #define GEN_PRINTF(NAME, STREAM, CONTROL, TRIGGER) \ __attribute__ ((format (printf, 1, 2))) \ int NAME (const char *format, ...) \ @@ -82,6 +86,7 @@ int utils_cluster_in_use (ntfs_volume *vol, long long lcn); int utils_mftrec_in_use (ntfs_volume *vol, MFT_REF mref); int utils_is_metadata (ntfs_inode *inode); ntfs_inode * utils_pathname_to_inode (ntfs_volume *vol, ntfs_inode *parent, const char *pathname); +void utils_dump_mem (u8 *buf, int start, int length, int ascii); time_t ntfs2utc (s64 ntfs_time); s64 utc2ntfs (time_t utc_time);