1 /* NFSv4.1 client for Windows
2 * Copyright © 2012 The Regents of the University of Michigan
4 * Olga Kornievskaia <aglo@umich.edu>
5 * Casey Bodley <cbodley@umich.edu>
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.
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.
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
25 #include "nfs41_types.h"
29 typedef struct idmap_context nfs41_idmapper
;
31 int nfs41_idmap_create(
32 nfs41_idmapper
**context_out
);
34 void nfs41_idmap_free(
35 nfs41_idmapper
*context
);
38 int nfs41_idmap_name_to_ids(
39 nfs41_idmapper
*context
,
44 int nfs41_idmap_uid_to_name(
45 nfs41_idmapper
*context
,
50 int nfs41_idmap_principal_to_ids(
51 nfs41_idmapper
*context
,
52 const char *principal
,
56 int nfs41_idmap_group_to_gid(
57 nfs41_idmapper
*context
,
61 int nfs41_idmap_gid_to_group(
62 nfs41_idmapper
*context
,