Updated all includes in the basic ntfsprogs utilities for libntfs-3g.
parent
237b937a65
commit
1860eff1da
|
@ -33,9 +33,10 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "cluster.h"
|
||||
#include "utils.h"
|
||||
#include "logging.h"
|
||||
|
||||
/**
|
||||
* cluster_find
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#ifndef _CLUSTER_H_
|
||||
#define _CLUSTER_H_
|
||||
|
||||
#include "types.h"
|
||||
#include "volume.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
|
||||
typedef struct {
|
||||
int x;
|
||||
|
|
|
@ -128,24 +128,25 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#include "security.h"
|
||||
#include "types.h"
|
||||
#include "attrib.h"
|
||||
#include "bitmap.h"
|
||||
#include "bootsect.h"
|
||||
#include "device.h"
|
||||
#include "dir.h"
|
||||
#include "mft.h"
|
||||
#include "mst.h"
|
||||
#include "runlist.h"
|
||||
#include <ntfs-3g/security.h>
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/bitmap.h>
|
||||
#include <ntfs-3g/bootsect.h>
|
||||
#include <ntfs-3g/device.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/mst.h>
|
||||
#include <ntfs-3g/runlist.h>
|
||||
#include <ntfs-3g/ntfstime.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "ntfstime.h"
|
||||
#include "sd.h"
|
||||
#include "upcase.h"
|
||||
#include "boot.h"
|
||||
#include "attrdef.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
|
||||
#error "No default device io operations! Cannot build mkntfs. \
|
||||
|
|
|
@ -38,12 +38,12 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "attrib.h"
|
||||
#include "utils.h"
|
||||
#include "volume.h"
|
||||
#include "debug.h"
|
||||
#include "dir.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
|
||||
#include "ntfscat.h"
|
||||
#include "version.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef _NTFSCAT_H_
|
||||
#define _NTFSCAT_H_
|
||||
|
||||
#include "types.h"
|
||||
#include "layout.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
|
||||
struct options {
|
||||
char *device; /* Device/File to work with */
|
||||
|
|
|
@ -55,22 +55,23 @@
|
|||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#include "debug.h"
|
||||
#include "types.h"
|
||||
#include "support.h"
|
||||
#include "endians.h"
|
||||
#include "bootsect.h"
|
||||
#include "device.h"
|
||||
#include "attrib.h"
|
||||
#include "mst.h"
|
||||
#include "volume.h"
|
||||
#include "mft.h"
|
||||
#include "bitmap.h"
|
||||
#include "inode.h"
|
||||
#include "index.h"
|
||||
#include "dir.h"
|
||||
#include "runlist.h"
|
||||
#include "ntfstime.h"
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/support.h>
|
||||
#include <ntfs-3g/endians.h>
|
||||
#include <ntfs-3g/bootsect.h>
|
||||
#include <ntfs-3g/device.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/mst.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/bitmap.h>
|
||||
#include <ntfs-3g/inode.h>
|
||||
#include <ntfs-3g/index.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/runlist.h>
|
||||
#include <ntfs-3g/ntfstime.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "version.h"
|
||||
|
||||
|
|
|
@ -41,16 +41,17 @@
|
|||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "ntfscluster.h"
|
||||
#include "types.h"
|
||||
#include "attrib.h"
|
||||
#include "utils.h"
|
||||
#include "volume.h"
|
||||
#include "debug.h"
|
||||
#include "dir.h"
|
||||
#include "cluster.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfscluster";
|
||||
static struct options opts;
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#ifndef _NTFSCLUSTER_H_
|
||||
#define _NTFSCLUSTER_H_
|
||||
|
||||
#include "types.h"
|
||||
#include "layout.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
|
||||
enum action {
|
||||
act_none,
|
||||
|
|
|
@ -44,14 +44,15 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "attrib.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "volume.h"
|
||||
#include "dir.h"
|
||||
#include "debug.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
struct options {
|
||||
char *device; /* Device/File to work with */
|
||||
|
|
|
@ -64,14 +64,15 @@
|
|||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "attrib.h"
|
||||
#include "mft.h"
|
||||
#include "device.h"
|
||||
#include "logfile.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/device.h>
|
||||
#include <ntfs-3g/logfile.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
|
||||
# error "No default device io operations! Cannot build ntfsfix. \
|
||||
|
|
|
@ -66,17 +66,18 @@
|
|||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "mft.h"
|
||||
#include "attrib.h"
|
||||
#include "layout.h"
|
||||
#include "inode.h"
|
||||
#include "index.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
#include <ntfs-3g/inode.h>
|
||||
#include <ntfs-3g/index.h>
|
||||
#include <ntfs-3g/security.h>
|
||||
#include <ntfs-3g/mst.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/ntfstime.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "security.h"
|
||||
#include "mst.h"
|
||||
#include "dir.h"
|
||||
#include "ntfstime.h"
|
||||
#include "version.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsinfo";
|
||||
|
|
|
@ -44,11 +44,12 @@
|
|||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#include "debug.h"
|
||||
#include "mft.h"
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfslabel";
|
||||
|
||||
|
|
|
@ -42,17 +42,18 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "mft.h"
|
||||
#include "attrib.h"
|
||||
#include "layout.h"
|
||||
#include "inode.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
#include <ntfs-3g/inode.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/ntfstime.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "dir.h"
|
||||
#include "list.h"
|
||||
#include "ntfstime.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsls";
|
||||
|
||||
|
|
|
@ -51,18 +51,19 @@
|
|||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#include "debug.h"
|
||||
#include "types.h"
|
||||
#include "support.h"
|
||||
#include "endians.h"
|
||||
#include "bootsect.h"
|
||||
#include "device.h"
|
||||
#include "attrib.h"
|
||||
#include "volume.h"
|
||||
#include "mft.h"
|
||||
#include "bitmap.h"
|
||||
#include "inode.h"
|
||||
#include "runlist.h"
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/support.h>
|
||||
#include <ntfs-3g/endians.h>
|
||||
#include <ntfs-3g/bootsect.h>
|
||||
#include <ntfs-3g/device.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/bitmap.h>
|
||||
#include <ntfs-3g/inode.h>
|
||||
#include <ntfs-3g/runlist.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "version.h"
|
||||
|
||||
|
|
|
@ -73,18 +73,19 @@
|
|||
#define REG_NOERROR 0
|
||||
#endif
|
||||
|
||||
#include <ntfs-3g/bootsect.h>
|
||||
#include <ntfs-3g/mft.h>
|
||||
#include <ntfs-3g/attrib.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
#include <ntfs-3g/inode.h>
|
||||
#include <ntfs-3g/device.h>
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/ntfstime.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "ntfsundelete.h"
|
||||
#include "bootsect.h"
|
||||
#include "mft.h"
|
||||
#include "attrib.h"
|
||||
#include "layout.h"
|
||||
#include "inode.h"
|
||||
#include "device.h"
|
||||
#include "utils.h"
|
||||
#include "debug.h"
|
||||
#include "ntfstime.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsundelete";
|
||||
static const char *MFTFILE = "mft";
|
||||
|
|
|
@ -24,9 +24,10 @@
|
|||
#ifndef _NTFSUNDELETE_H_
|
||||
#define _NTFSUNDELETE_H_
|
||||
|
||||
#include "types.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/runlist.h>
|
||||
|
||||
#include "list.h"
|
||||
#include "runlist.h"
|
||||
|
||||
enum optmode {
|
||||
MODE_NONE = 0,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "types.h"
|
||||
#include "layout.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
#include "sd.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _NTFS_SD_H_
|
||||
#define _NTFS_SD_H_
|
||||
|
||||
#include "types.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
|
||||
void init_system_file_sd(int sys_file_no, u8 **sd_val, int *sd_val_len);
|
||||
void init_root_sd_31(u8 **sd_val, int *sd_val_len);
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include "endians.h"
|
||||
#include "types.h"
|
||||
#include <ntfs-3g/endians.h>
|
||||
#include <ntfs-3g/types.h>
|
||||
#include "upcase.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -64,13 +64,14 @@
|
|||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
#include <ntfs-3g/debug.h>
|
||||
#include <ntfs-3g/dir.h>
|
||||
#include <ntfs-3g/logging.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "types.h"
|
||||
#include "volume.h"
|
||||
#include "debug.h"
|
||||
#include "dir.h"
|
||||
#include "version.h"
|
||||
#include "logging.h"
|
||||
|
||||
const char *ntfs_bugs = "Developers' email address: "NTFS_DEV_LIST"\n";
|
||||
const char *ntfs_home = "Linux NTFS homepage: http://www.linux-ntfs.org\n";
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include "types.h"
|
||||
#include "layout.h"
|
||||
#include "volume.h"
|
||||
#include <ntfs-3g/types.h>
|
||||
#include <ntfs-3g/layout.h>
|
||||
#include <ntfs-3g/volume.h>
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Reference in New Issue