git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
addf5ff
)
s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.h (cherry picked from commit...
author
Michael Adam
<obnox@samba.org>
Tue, 31 May 2011 11:19:52 +0000
(13:19 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 14 Jun 2011 18:14:15 +0000
(20:14 +0200)
source3/lib/idmap_cache.h
patch
|
blob
|
history
diff --git
a/source3/lib/idmap_cache.h
b/source3/lib/idmap_cache.h
index c3e44c28879de2a84fdff4a8b6dab0e635ee83ab..1a62dba64fc0d5ed133bfc60e5eeb90db7feb883 100644
(file)
--- a/
source3/lib/idmap_cache.h
+++ b/
source3/lib/idmap_cache.h
@@
-18,6
+18,9
@@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _LIB_IDMAP_CACHE_H_
+#define _LIB_IDMAP_CACHE_H_
+
/* The following definitions come from lib/idmap_cache.c */
bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
@@
-32,3
+35,5
@@
void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid);
bool idmap_cache_del_uid(uid_t uid);
bool idmap_cache_del_gid(gid_t gid);
bool idmap_cache_del_sid(const struct dom_sid *sid);
+
+#endif /* _LIB_IDMAP_CACHE_H_ */