ReactOS
0.4.15-dev-4594-g505ac65
|
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>
#include <errno.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <ctype.h>
#include <time.h>
#include "config.h"
#include "dirhash.h"
Go to the source code of this file.
Classes | |
struct | cd_image |
struct | _boot_validation_header |
struct | boot_entry |
struct | boot_header |
struct | date_and_time |
struct | directory_record |
Macros | |
#define | TRUE 1 |
#define | FALSE 0 |
#define | MAX_LEVEL 8 |
#define | MAX_NAME_LENGTH 64 |
#define | MAX_CDNAME_LENGTH 8 |
#define | MAX_EXTENSION_LENGTH 10 |
#define | MAX_CDEXTENSION_LENGTH 3 |
#define | SECTOR_SIZE 2048 |
#define | BUFFER_SIZE (8 * SECTOR_SIZE) |
#define | HIDDEN_FLAG 1 |
#define | DIRECTORY_FLAG 2 |
Typedefs | |
typedef unsigned char | BYTE |
typedef unsigned short | WORD |
typedef unsigned long | DWORD |
typedef int | BOOL |
typedef struct _boot_validation_header | BOOT_VALIDATION_HEADER |
typedef struct _boot_validation_header * | PBOOT_VALIDATION_HEADER |
typedef struct boot_entry | BOOT_ENTRY |
typedef struct boot_entry * | PBOOT_ENTRY |
typedef struct boot_header | BOOT_HEADER |
typedef struct boot_header * | PBOOT_HEADER |
typedef struct date_and_time | DATE_AND_TIME |
typedef struct date_and_time * | PDATE_AND_TIME |
typedef struct directory_record | DIR_RECORD |
typedef struct directory_record * | PDIR_RECORD |
typedef enum directory_record_type | DIR_RECORD_TYPE |
typedef enum directory_record_type * | PDIR_RECORD_TYPE |
Enumerations | |
enum | directory_record_type { DOT_RECORD, DOT_DOT_RECORD, SUBDIRECTORY_RECORD, FILE_RECORD } |
enum | { QUIET, NORMAL, VERBOSE } |
#define BUFFER_SIZE (8 * SECTOR_SIZE) |
typedef struct boot_entry BOOT_ENTRY |
typedef struct boot_header BOOT_HEADER |
typedef struct date_and_time DATE_AND_TIME |
typedef struct directory_record DIR_RECORD |
typedef enum directory_record_type DIR_RECORD_TYPE |
typedef struct boot_entry * PBOOT_ENTRY |
typedef struct boot_header * PBOOT_HEADER |
typedef struct date_and_time * PDATE_AND_TIME |
typedef struct directory_record * PDIR_RECORD |
typedef enum directory_record_type * PDIR_RECORD_TYPE |
anonymous enum |
Enumerator | |
---|---|
QUIET | |
NORMAL | |
VERBOSE |
Enumerator | |
---|---|
DOT_RECORD | |
DOT_DOT_RECORD | |
SUBDIRECTORY_RECORD | |
FILE_RECORD |
Definition at line 167 of file cdmake.c.
Definition at line 868 of file cdmake.c.
Referenced by get_file_specifications(), and make_directory_records().
|
static |
Definition at line 656 of file cdmake.c.
Referenced by parse_filename_into_dirrecord().
Definition at line 640 of file cdmake.c.
Referenced by parse_filename_into_dirrecord().
|
static |
Definition at line 836 of file cdmake.c.
Referenced by compare_path_table_order(), make_directory_records(), and scan_specified_files().
|
static |
Definition at line 850 of file cdmake.c.
Referenced by main().
|
static |
Definition at line 620 of file cdmake.c.
Referenced by main(), make_directory_records(), new_directory_record(), and scan_specified_files().
Definition at line 255 of file cdmake.c.
Referenced by flush_buffer(), and main().
|
static |
Definition at line 317 of file cdmake.c.
Referenced by check_for_punctuation(), flush_buffer(), main(), make_directory_records(), new_directory_record(), parse_filename_into_dirrecord(), pass(), and scan_specified_files().
Definition at line 336 of file cdmake.c.
Referenced by main(), write_byte(), and write_from_file().
|
static |
|
static |
Definition at line 1951 of file cdmake.c.
Referenced by main().
Definition at line 1964 of file cdmake.c.
|
static |
Definition at line 967 of file cdmake.c.
Referenced by main().
PDIR_RECORD new_directory_record | ( | struct dirent * | entry, |
struct stat * | stbuf, | ||
PDIR_RECORD | parent | ||
) |
Definition at line 799 of file cdmake.c.
Referenced by make_directory_records().
|
static |
Definition at line 1185 of file cdmake.c.
Referenced by scan_specified_files().
|
static |
Definition at line 670 of file cdmake.c.
Referenced by new_directory_record(), and scan_specified_files().
Definition at line 1412 of file cdmake.c.
Referenced by main().
Definition at line 275 of file cdmake.c.
Referenced by error_exit(), and main().
|
static |
Definition at line 1230 of file cdmake.c.
Referenced by main().
PDIR_RECORD sort_linked_list | ( | PDIR_RECORD | , |
unsigned | , | ||
int(*)(PDIR_RECORD, PDIR_RECORD) | |||
) |
Referenced by main(), make_directory_records(), and scan_specified_files().
Definition at line 380 of file cdmake.c.
Referenced by pass(), write_both_endian_word(), write_bytecounted_string_as_big_endian_unicode(), write_string_as_big_endian_unicode(), and write_word_block().
Definition at line 354 of file cdmake.c.
Referenced by fill_sector(), pass(), write_big_endian_dword(), write_big_endian_word(), write_block(), write_bytecounted_string(), write_bytecounted_string_as_big_endian_unicode(), write_directory_record(), write_little_endian_dword(), write_little_endian_word(), and write_string().
|
static |
|
static |
Definition at line 514 of file cdmake.c.
Referenced by pass().
Definition at line 1379 of file cdmake.c.
Referenced by pass().
Definition at line 500 of file cdmake.c.
BOOL accept_punctuation_marks |
Definition at line 199 of file cdmake.c.
Referenced by check_for_punctuation(), and main().
PBOOT_HEADER boot_header_list |
Definition at line 227 of file cdmake.c.
Referenced by main(), pass(), and release_memory().
BOOT_VALIDATION_HEADER boot_validation_header |
DWORD bytes_in_directories |
Definition at line 182 of file cdmake.c.
Referenced by __svc_clean_idle(), __svc_vc_dodestroy(), DequeTest::at(), check_enc(), compat_dirclose(), compat_diropen(), compat_nextdir(), compat_nextfile(), error_exit(), Ext2PreAcquireForCreateSection(), fill_sector(), flush_buffer(), iconv(), iconv_close(), iconv_open(), main(), makefd_xprt(), TypeTraitsTest::manips(), pass(), release_memory(), rendezvous_request(), svc_vc_recv(), svc_vc_reply(), svc_vc_stat(), test(), test_font_charset(), test_parent_wndproc(), TIFFFindCODEC(), TIFFGetConfiguredCODECs(), TIFFRegisterCODEC(), TIFFUnRegisterCODEC(), TLB_FreeCustData(), ui_clip_handle_data(), win_iconv(), win_iconv_open(), WMSFT_compile_custdata(), write_byte(), write_directory_record(), write_from_file(), write_vc(), and xclip_send_data_with_convert().
BOOT_ENTRY default_boot_entry |
|
static |
Definition at line 180 of file cdmake.c.
Referenced by make_directory_records(), and scan_specified_files().
char* end_source |
Definition at line 187 of file cdmake.c.
Referenced by append_string_to_source(), get_file_specifications(), main(), make_directory_records(), pass(), and scan_specified_files().
BOOL joliet |
Definition at line 232 of file cdmake.c.
Referenced by get_file_specifications(), main(), parse_filename_into_dirrecord(), pass(), release_memory(), and write_directory_record().
DWORD joliet_big_endian_path_table_sector |
DWORD joliet_little_endian_path_table_sector |
DWORD little_endian_path_table_sector |
DWORD number_of_directories |
DWORD path_table_size |
Definition at line 202 of file cdmake.c.
Referenced by file_write(), generate_path_tables(), pass(), pvd_write(), and sort_n_finish().
BOOL show_progress |
Definition at line 190 of file cdmake.c.
Referenced by flush_buffer(), and main().
DWORD size_limit |
Definition at line 198 of file cdmake.c.
Referenced by decode_open_write_delegation4(), and main().
Definition at line 186 of file cdmake.c.
Referenced by pass(), and scan_specified_files().
struct target_dir_hash specified_files |
DWORD total_sectors |
Definition at line 201 of file cdmake.c.
Referenced by flush_buffer(), main(), pass(), and read_boot().
DWORD unused_bytes_at_ends_of_files |
enum { ... } verbosity |
Referenced by main(), make_directory_records(), pass(), and scan_specified_files().