Add k_afs_cell_of_file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@725 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -471,6 +471,18 @@ k_pioctl(char *a_path,
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
k_afs_cell_of_file(const char *path, char *cell, int len)
|
||||
{
|
||||
struct ViceIoctl parms;
|
||||
memset(&parms, 0, sizeof(parms));
|
||||
parms.in = NULL;
|
||||
parms.in_size = 0;
|
||||
parms.out = cell;
|
||||
parms.out_len = len;
|
||||
return k_pioctl((char*)path, VIOC_FILE_CELL_NAME, &parms, 1);
|
||||
}
|
||||
|
||||
int
|
||||
k_unlog(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user