diff options
| author | Eli Zaretskii | 2013-11-02 15:03:32 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-11-02 15:03:32 +0200 |
| commit | 1fd201bb1d720d0c5ab727a3972363778eef834f (patch) | |
| tree | 508abf22dbb91d24309869bc42a93e814f9fbcd6 /src/w32.h | |
| parent | 5c4a19a90f803ed46629c2bdc1ac3d3563caa738 (diff) | |
| download | emacs-1fd201bb1d720d0c5ab727a3972363778eef834f.tar.gz emacs-1fd201bb1d720d0c5ab727a3972363778eef834f.zip | |
Adapted dostounix_filename. w32-short/long-filename work with wide APIs.
Diffstat (limited to 'src/w32.h')
| -rw-r--r-- | src/w32.h | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -152,6 +152,9 @@ extern int w32_valid_pointer_p (void *, int); | |||
| 152 | /* Get long (aka "true") form of file name, if it exists. */ | 152 | /* Get long (aka "true") form of file name, if it exists. */ |
| 153 | extern BOOL w32_get_long_filename (char * name, char * buf, int size); | 153 | extern BOOL w32_get_long_filename (char * name, char * buf, int size); |
| 154 | 154 | ||
| 155 | /* Get the short (a.k.a. "8+3") form of a file name. */ | ||
| 156 | extern unsigned int w32_get_short_filename (char *, char *, int); | ||
| 157 | |||
| 155 | /* Prepare our standard handles for proper inheritance by child processes. */ | 158 | /* Prepare our standard handles for proper inheritance by child processes. */ |
| 156 | extern void prepare_standard_handles (int in, int out, | 159 | extern void prepare_standard_handles (int in, int out, |
| 157 | int err, HANDLE handles[4]); | 160 | int err, HANDLE handles[4]); |
| @@ -181,8 +184,10 @@ extern void init_environment (char **); | |||
| 181 | extern void check_windows_init_file (void); | 184 | extern void check_windows_init_file (void); |
| 182 | extern void syms_of_ntproc (void); | 185 | extern void syms_of_ntproc (void); |
| 183 | extern void syms_of_ntterm (void); | 186 | extern void syms_of_ntterm (void); |
| 184 | extern void dostounix_filename (register char *, int); | 187 | extern void dostounix_filename (register char *); |
| 185 | extern void unixtodos_filename (register char *); | 188 | extern void unixtodos_filename (register char *); |
| 189 | extern int filename_from_ansi (const char *, char *); | ||
| 190 | |||
| 186 | extern BOOL init_winsock (int load_now); | 191 | extern BOOL init_winsock (int load_now); |
| 187 | extern void srandom (int); | 192 | extern void srandom (int); |
| 188 | extern int random (void); | 193 | extern int random (void); |