roken: Add roken_get_username() and friends
We add roken_get_{shell, username, appdatadir, homedir}() functions. These use a combination of secure_getenv(), getpwuid_r(), getlogin_r(), or various WIN32 functions to get this information. Use roken_get_appdatadir() instead of roken_get_homedir() when looking for dotfiles.
This commit is contained in:

committed by
Nico Williams

parent
073ffd0423
commit
95eb83c424
@@ -179,6 +179,10 @@ HEIMDAL_ROKEN_1.0 {
|
||||
roken_gethostby_setup;
|
||||
roken_gethostbyaddr;
|
||||
roken_gethostbyname;
|
||||
roken_get_appdatadir;
|
||||
roken_get_homedir;
|
||||
roken_get_shell;
|
||||
roken_get_username;
|
||||
roken_mconcat;
|
||||
roken_vconcat;
|
||||
roken_vmconcat;
|
||||
|
Reference in New Issue
Block a user