diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-11 23:44:26 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-11 23:44:26 +0000 |
commit | 2018fcd277f7cc2212f3eda574faf14aed4819e8 (patch) | |
tree | fb10559188d290453045428dbf5d7ec709047437 /source3/include/idmap.h | |
parent | e7c8c15888454043c73967635deb4d3419a489e9 (diff) | |
download | samba-2018fcd277f7cc2212f3eda574faf14aed4819e8.tar.gz samba-2018fcd277f7cc2212f3eda574faf14aed4819e8.tar.xz samba-2018fcd277f7cc2212f3eda574faf14aed4819e8.zip |
Add new files needed for VFS fixes.
1. idmap.h is used for unid_t only, agreed by Simo
2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit
3. vfs_macros.h provides convenient macros to access VFS API.
(This used to be commit 1dd578635913c8340cfc565d7e0c8c5086070084)
Diffstat (limited to 'source3/include/idmap.h')
-rw-r--r-- | source3/include/idmap.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h index 1e56519453a..47114f5469d 100644 --- a/source3/include/idmap.h +++ b/source3/include/idmap.h @@ -37,15 +37,16 @@ typedef union unid_t { gid_t gid; } unid_t; +struct DOM_SID; /* Filled out by IDMAP backends */ struct idmap_methods { /* Called when backend is first loaded */ NTSTATUS (*init)(void); - NTSTATUS (*get_sid_from_id)(DOM_SID *sid, unid_t id, int id_type); - NTSTATUS (*get_id_from_sid)(unid_t *id, int *id_type, const DOM_SID *sid); - NTSTATUS (*set_mapping)(const DOM_SID *sid, unid_t id, int id_type); + NTSTATUS (*get_sid_from_id)(struct DOM_SID *sid, unid_t id, int id_type); + NTSTATUS (*get_id_from_sid)(unid_t *id, int *id_type, const struct DOM_SID *sid); + NTSTATUS (*set_mapping)(const struct DOM_SID *sid, unid_t id, int id_type); /* Called when backend is unloaded */ NTSTATUS (*close)(void); |