summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-31 00:25:05 +0200
committerMichael Adam <obnox@samba.org>2011-05-31 01:44:27 +0200
commitb88d80a97572a9d7730830f09b25a7d6dc655653 (patch)
treeae334e363666906673b2fcd7f0b525374a7d1272 /source3/winbindd
parent88078c856976ebcad68251129ddc0556663dcf9c (diff)
downloadsamba-b88d80a97572a9d7730830f09b25a7d6dc655653.tar.gz
samba-b88d80a97572a9d7730830f09b25a7d6dc655653.tar.bz2
samba-b88d80a97572a9d7730830f09b25a7d6dc655653.zip
s3:winbindd/idmap_proto.h: add _WINBINDD_IDMAP_PROTO_H_ guard
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h
index 73f05009b9..4fa9ed1a26 100644
--- a/source3/winbindd/idmap_proto.h
+++ b/source3/winbindd/idmap_proto.h
@@ -22,6 +22,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _WINBINDD_IDMAP_PROTO_H_
+#define _WINBINDD_IDMAP_PROTO_H_
/* The following definitions come from winbindd/idmap.c */
@@ -56,3 +58,5 @@ NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid);
NTSTATUS idmap_sid_to_uid(const char *dom_name, struct dom_sid *sid, uid_t *uid);
NTSTATUS idmap_sid_to_gid(const char *domname, struct dom_sid *sid, gid_t *gid);
bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);
+
+#endif /* _WINBINDD_IDMAP_PROTO_H_ */