mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
SCP: Add missing aspects to sim_filepath_parts, move sim_dir_scan to sim_fio
This commit is contained in:
@@ -72,6 +72,13 @@ t_offset sim_fsize_name_ex (const char *fname);
|
||||
t_stat sim_copyfile (const char *source_file, const char *dest_file, t_bool overwrite_existing);
|
||||
char *sim_filepath_parts (const char *pathname, const char *parts);
|
||||
char *sim_getcwd (char *buf, size_t buf_size);
|
||||
#include <sys/stat.h>
|
||||
typedef void (*DIR_ENTRY_CALLBACK)(const char *directory,
|
||||
const char *filename,
|
||||
t_offset FileSize,
|
||||
const struct stat *filestat,
|
||||
void *context);
|
||||
t_stat sim_dir_scan (const char *cptr, DIR_ENTRY_CALLBACK entry, void *context);
|
||||
|
||||
void sim_buf_swap_data (void *bptr, size_t size, size_t count);
|
||||
void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count);
|
||||
|
||||
Reference in New Issue
Block a user