diff options
Diffstat (limited to 'common/os/os.h')
-rw-r--r-- | common/os/os.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/common/os/os.h b/common/os/os.h index 0561d36c..8e522676 100644 --- a/common/os/os.h +++ b/common/os/os.h @@ -35,32 +35,32 @@ namespace os { * Get VNC config directory. On Unix-like systems, this is either: * - $XDG_CONFIG_HOME/tigervnc * - $HOME/.config/tigervnc - * On Windows, this is simply %APPDATA%/vnc/. + * On Windows, this is simply %APPDATA%/TigerVNC/. * * Returns NULL on failure. */ const char* getvncconfigdir(); /* - * Get VNC state (logs) directory. On Unix-like systems, this is either: - * - $XDG_STATE_HOME/tigervnc - * - $HOME/.local/state/tigervnc - * On Windows, this is simply %APPDATA%/vnc/. + * Get VNC data directory used for X.509 known hosts. + * On Unix-like systems, this is either: + * - $XDG_DATA_HOME/tigervnc + * - $HOME/.local/share/tigervnc + * On Windows, this is simply %APPDATA%/TigerVNC/. * * Returns NULL on failure. */ - const char* getvncstatedir(); + const char* getvncdatadir(); /* - * Get legacy VNC home directory ($HOME/.vnc on Unix-likes). - * If HOME environment variable is set then it is used. - * Otherwise home directory is obtained via getpwuid function. + * Get VNC state (logs) directory. On Unix-like systems, this is either: + * - $XDG_STATE_HOME/tigervnc + * - $HOME/.local/state/tigervnc + * On Windows, this is simply %APPDATA%/TigerVNC/. * * Returns NULL on failure. - * - * Deprecated. */ - const char* getvnchomedir(); + const char* getvncstatedir(); } |