Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

htsys.h File Reference

#include "htio.h"
#include "global.h"
#include "stream.h"

Go to the source code of this file.

Defines

#define HT_SYS_NAME   "Win32"
#define SYS_SUPPORT_NATIVE_CLIPBOARD
#define SYS_NATIVE_CLIPBOARD_NAME   "Windows Clipboard"

Functions

int sys_canonicalize (char *result, const char *filename)
int sys_findclose (pfind_t *pfind)
int sys_findfirst (const char *dirname, pfind_t *pfind)
int sys_findnext (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 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)
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 init_system ()
void done_system ()


Define Documentation

#define HT_SYS_NAME   "Win32"
 

Definition at line 29 of file win32/htsys.h.

#define SYS_NATIVE_CLIPBOARD_NAME   "Windows Clipboard"
 

Definition at line 32 of file win32/htsys.h.

#define SYS_SUPPORT_NATIVE_CLIPBOARD
 

Definition at line 31 of file win32/htsys.h.


Function Documentation

void done_system  ) 
 

Definition at line 341 of file djgpp/htsys.cc.

bool init_system  ) 
 

Definition at line 332 of file djgpp/htsys.cc.

int sys_canonicalize char *  result,
const char *  filename
 

Definition at line 36 of file djgpp/htsys.cc.

References HT_NAME_MAX.

Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), and ht_app::handlemsg().

int sys_deletefile const char *  filename  ) 
 

Definition at line 164 of file djgpp/htsys.cc.

int sys_filename_cmp const char *  a,
const char *  b
 

Definition at line 174 of file djgpp/htsys.cc.

References sys_is_path_delim().

int sys_findclose pfind_t pfind  ) 
 

Definition at line 48 of file djgpp/htsys.cc.

References pfind_t::findstate.

Referenced by LocalFs::findClose().

int sys_findfirst const char *  dirname,
pfind_t pfind
 

Definition at line 91 of file djgpp/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().

int sys_findnext pfind_t pfind  ) 
 

Definition at line 117 of file djgpp/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().

int sys_get_caps  ) 
 

Definition at line 233 of file djgpp/htsys.cc.

References SYSCAP_NONBLOCKING_IPC.

int sys_get_free_mem  ) 
 

Definition at line 152 of file djgpp/htsys.cc.

int sys_get_native_clipboard_data_size  ) 
 

Definition at line 287 of file djgpp/htsys.cc.

References dword, len, and NULL.

int sys_ipc_exec ht_streamfile **  in,
ht_streamfile **  out,
ht_streamfile **  err,
int *  handle,
const char *  cmd,
int  options
 

Definition at line 189 of file djgpp/htsys.cc.

References CreateChildProcess(), FAM_READ, HT_IPC_NONBLOCKING, ht_win32_file::init(), ht_sys_file::init(), ht_null_file::init(), NULL, options, and sys_tmpfile().

Referenced by ht_app::create_window_term().

bool sys_ipc_is_valid int  handle  ) 
 

Definition at line 221 of file djgpp/htsys.cc.

Referenced by Terminal::connected(), and sys_ipc_terminate().

int sys_ipc_terminate int  handle  ) 
 

Definition at line 227 of file djgpp/htsys.cc.

References NULL, and sys_ipc_is_valid().

Referenced by Terminal::done().

bool sys_is_path_delim char  c  ) 
 

Definition at line 169 of file djgpp/htsys.cc.

Referenced by sys_filename_cmp(), sys_filename_suffix(), and sys_pstat().

int sys_pstat pstat_t s,
const char *  filename
 

Definition at line 128 of file djgpp/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 LocalFs::pstat(), ht_file::pstat(), ht_file::set_access_mode_internal(), and sys_findnext().

bool sys_read_data_from_native_clipboard void *  data,
int  max_size
 

Definition at line 299 of file djgpp/htsys.cc.

References ht_snprintf(), MIN, NULL, sys_get_native_clipboard_data_size(), and word.

Referenced by ht_app::handlemsg().

void sys_suspend  ) 
 

Definition at line 147 of file djgpp/htsys.cc.

int sys_truncate const char *  filename,
FILEOFS  ofs
 

Definition at line 159 of file djgpp/htsys.cc.

References FILEOFS, and NULL.

Referenced by ht_file::truncate().

bool sys_write_data_to_native_clipboard const void *  data,
int  size
 

Definition at line 260 of file djgpp/htsys.cc.

References NULL, size, and word.

Referenced by ht_app::handlemsg().


Generated on Fri May 7 21:15:50 2004 by doxygen 1.3.5