2017-03-13 22:53:58 +01:00
|
|
|
#pragma once
|
2017-01-15 07:12:19 +01:00
|
|
|
#define PATH_MAX MAX_PATH
|
2017-04-15 01:15:32 +02:00
|
|
|
#define SSH_ASYNC_STDIN "SSH_ASYNC_STDIN"
|
|
|
|
#define SSH_ASYNC_STDOUT "SSH_ASYNC_STDOUT"
|
|
|
|
#define SSH_ASYNC_STDERR "SSH_ASYNC_STDERR"
|
2016-12-22 06:17:14 +01:00
|
|
|
|
|
|
|
/* removes first '/' for Windows paths that are unix styled. Ex: /c:/ab.cd */
|
2017-01-25 23:43:55 +01:00
|
|
|
char * sanitized_path(const char *);
|
|
|
|
|
|
|
|
void w32posix_initialize();
|
|
|
|
void w32posix_done();
|
|
|
|
|
|
|
|
char* w32_programdir();
|
|
|
|
|
|
|
|
void convertToBackslash(char *str);
|
2017-03-13 22:53:58 +01:00
|
|
|
void convertToForwardslash(char *str);
|
2017-05-18 21:15:18 +02:00
|
|
|
|
|
|
|
void unix_time_to_file_time(ULONG, LPFILETIME);
|
|
|
|
void file_time_unix_time(const LPFILETIME, time_t *);
|