#include "htsys.h"
#include "qword.h"
#include "snprintf.h"
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <windows.h>
Go to the source code of this file.
Classes | |
class | ht_win32_file |
struct | winfindstate |
Functions | |
int | sys_canonicalize (char *result, const char *filename) |
dword | filetime_to_ctime (FILETIME f) |
void | sys_findfill (pfind_t *pfind) |
int | sys_findfirst (const char *dirname, pfind_t *pfind) |
int | sys_findnext (pfind_t *pfind) |
int | sys_findclose (pfind_t *pfind) |
int | sys_pstat (pstat_t *s, const char *filename) |
void | sys_suspend () |
int | sys_get_free_mem () |
int | sys_truncate (const char *filename, FILEOFS ofs) |
int | sys_deletefile (const char *filename) |
bool | sys_is_path_delim (char c) |
int | sys_filename_cmp (const char *a, const char *b) |
BOOL | CreateChildProcess (DWORD *pid, const char *cmd, HANDLE in, HANDLE out, HANDLE err) |
int | sys_ipc_exec (ht_streamfile **in, ht_streamfile **out, ht_streamfile **err, int *handle, const char *cmd, int options) |
bool | sys_ipc_is_valid (int handle) |
int | sys_ipc_terminate (int handle) |
int | sys_get_caps () |
bool | sys_write_data_to_native_clipboard (const void *data, int size) |
int | sys_get_native_clipboard_data_size () |
bool | sys_read_data_from_native_clipboard (void *data, int max_size) |
bool | init_system () |
void | done_system () |
|
Definition at line 244 of file win32/htsys.cc. References NULL. Referenced by sys_ipc_exec(). |
|
Definition at line 399 of file win32/htsys.cc. |
|
Definition at line 49 of file win32/htsys.cc. References dword, int_to_qword(), qword, QWORD_GET_LO, QWORD_SET_HI, and QWORD_SET_LO. Referenced by sys_findfill(). |
|
Definition at line 390 of file win32/htsys.cc. |
|
Definition at line 43 of file win32/htsys.cc. References HT_NAME_MAX. Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), and ht_app::handlemsg(). |
|
Definition at line 175 of file win32/htsys.cc. |
|
Definition at line 188 of file win32/htsys.cc. References sys_is_path_delim(). |
|
Definition at line 118 of file win32/htsys.cc. References pfind_t::findstate. Referenced by LocalFs::findClose(). |
|
Definition at line 58 of file win32/htsys.cc. References pstat_t::atime, pstat_t::caps, pstat_t::ctime, filetime_to_ctime(), winfindstate::find_data, pfind_t::findstate, HT_S_IFDIR, HT_S_IFREG, pstat_t::mode, pstat_t::mtime, pfind_t::name, pstat_atime, pstat_ctime, pstat_mode_type, pstat_mtime, pstat_size, pstat_t::size, pstat_t::size_high, and pfind_t::stat. Referenced by sys_findfirst(), and sys_findnext(). |
|
Definition at line 81 of file win32/htsys.cc. References ff2pstat(), winfindstate::fhandle, winfindstate::find_data, pfind_t::findstate, djfindstate::fstate, malloc(), pfind_t::name, pfind_t::stat, sys_find_name, and sys_findfill(). Referenced by LocalFs::findFirst(). |
|
Definition at line 107 of file win32/htsys.cc. References ff2pstat(), winfindstate::fhandle, winfindstate::find_data, pfind_t::findstate, djfindstate::fstate, pfind_t::name, pfind_t::stat, sys_find_name, and sys_findfill(). Referenced by LocalFs::findNext(), and sys_findfirst(). |
|
Definition at line 338 of file win32/htsys.cc. References SYSCAP_NONBLOCKING_IPC. |
|
Definition at line 152 of file win32/htsys.cc. |
|
Definition at line 358 of file win32/htsys.cc. |
|
Definition at line 267 of file win32/htsys.cc. References CreateChildProcess(), FAM_READ, HT_IPC_NONBLOCKING, ht_null_file::init(), ht_sys_file::init(), ht_win32_file::init(), NULL, options, and sys_tmpfile(). Referenced by ht_app::create_window_term(). |
|
Definition at line 316 of file win32/htsys.cc. Referenced by Terminal::connected(), and sys_ipc_terminate(). |
|
Definition at line 325 of file win32/htsys.cc. References NULL, and sys_ipc_is_valid(). Referenced by Terminal::done(). |
|
Definition at line 183 of file win32/htsys.cc. Referenced by sys_filename_cmp(), sys_filename_suffix(), and sys_pstat(). |
|
Definition at line 125 of file win32/htsys.cc. References pstat_t::atime, pstat_t::caps, pstat_t::ctime, pstat_t::fsid, pstat_t::gid, HT_NAME_MAX, pstat_t::mode, pstat_t::mtime, pstat_atime, pstat_ctime, pstat_gid, pstat_inode, pstat_mode_all, pstat_mode_type, pstat_mode_usr, pstat_mode_w, pstat_mtime, pstat_size, pstat_uid, pstat_t::size, pstat_t::size_high, sys_ht_mode(), sys_is_path_delim(), and pstat_t::uid. Referenced by ht_file::pstat(), LocalFs::pstat(), ht_file::set_access_mode_internal(), and sys_findnext(). |
|
Definition at line 372 of file win32/htsys.cc. References ht_snprintf(), MIN, NULL, sys_get_native_clipboard_data_size(), and word. Referenced by ht_app::handlemsg(). |
|
Definition at line 147 of file win32/htsys.cc. |
|
Definition at line 157 of file win32/htsys.cc. Referenced by ht_file::truncate(). |
|
Definition at line 343 of file win32/htsys.cc. References NULL, size, and word. Referenced by ht_app::handlemsg(). |