ReactOS 0.4.16-dev-226-g79f2289
idmap.h
Go to the documentation of this file.
1/* NFSv4.1 client for Windows
2 * Copyright © 2012 The Regents of the University of Michigan
3 *
4 * Olga Kornievskaia <aglo@umich.edu>
5 * Casey Bodley <cbodley@umich.edu>
6 *
7 * This library is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2.1 of the License, or (at
10 * your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful, but
13 * without any warranty; without even the implied warranty of merchantability
14 * or fitness for a particular purpose. See the GNU Lesser General Public
15 * License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 */
21
22#ifndef IDMAP_H
23#define IDMAP_H
24
25#include "nfs41_types.h"
26
27
28/* idmap.c */
30
32 nfs41_idmapper **context_out);
33
36
37
40 const char *username,
41 uid_t *uid_out,
42 gid_t *gid_out);
43
46 uid_t uid,
47 char *name_out,
48 size_t len);
49
52 const char *principal,
53 uid_t *uid_out,
54 gid_t *gid_out);
55
58 const char *name,
59 gid_t *gid_out);
60
63 gid_t gid,
64 char *name_out,
65 size_t len);
66
67#endif /* !IDMAP_H */
long uid_t
Definition: various.h:8
UINT gid_t
Definition: types.h:89
GLenum GLsizei len
Definition: glext.h:6722
void nfs41_idmap_free(nfs41_idmapper *context)
Definition: idmap.c:867
int nfs41_idmap_create(nfs41_idmapper **context_out)
Definition: idmap.c:805
int nfs41_idmap_group_to_gid(nfs41_idmapper *context, const char *name, gid_t *gid_out)
Definition: idmap.c:1017
int nfs41_idmap_uid_to_name(nfs41_idmapper *context, uid_t uid, char *name_out, size_t len)
Definition: idmap.c:932
int nfs41_idmap_principal_to_ids(nfs41_idmapper *context, const char *principal, uid_t *uid_out, gid_t *gid_out)
Definition: idmap.c:977
int nfs41_idmap_name_to_ids(nfs41_idmapper *context, const char *username, uid_t *uid_out, gid_t *gid_out)
Definition: idmap.c:889
int nfs41_idmap_gid_to_group(nfs41_idmapper *context, gid_t gid, char *name_out, size_t len)
Definition: idmap.c:1055
static WCHAR username[]
Definition: url.c:32
Definition: http.c:7252
Definition: name.c:39