summaryrefslogtreecommitdiffstats
path: root/common/os/os.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-02-07 10:45:15 +0000
committerAdam Tkac <atkac@redhat.com>2011-02-07 10:45:15 +0000
commitaf0817220ee171837b4c15019fe16c2d5de180ad (patch)
treec7915b28be52f72dbcc864dffa42340ff86266e5 /common/os/os.h
parenta6da9f388fd66b4f52bedde44dbc2655413e5a4e (diff)
downloadtigervnc-af0817220ee171837b4c15019fe16c2d5de180ad.tar.gz
tigervnc-af0817220ee171837b4c15019fe16c2d5de180ad.zip
[Development] Rename function "gethomedir" to "getvnchomedir" and rewrite it in
platform-intependent manner. Thanks to Guillaume Destuynder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4252 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/os/os.h')
-rw-r--r--common/os/os.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/os/os.h b/common/os/os.h
index 18e61e23..d011764e 100644
--- a/common/os/os.h
+++ b/common/os/os.h
@@ -24,7 +24,8 @@
#endif
/*
- * Get home directory. If HOME environment variable is set then it is returned.
+ * Get VNC home directory ($HOME/.vnc or %APPDATA%/vnc/).
+ * If HOME environment variable is set then it is used.
* Otherwise home directory is obtained via getpwuid function.
*
* Note for Windows:
@@ -34,6 +35,6 @@
* 0 - Success
* -1 - Failure
*/
-int gethomedir(char **dirp);
+int getvnchomedir(char **dirp);
#endif /* OS_OS_H */