s3-proto: remove some prototypes of non-existing functions.
[samba.git] / source3 / winbindd / idmap_proto.h
1 /* The following definitions come from winbindd/idmap.c  */
2
3 bool idmap_is_offline(void);
4 bool idmap_is_online(void);
5 NTSTATUS smb_register_idmap(int version, const char *name,
6                             struct idmap_methods *methods);
7 void idmap_close(void);
8 NTSTATUS idmap_init_cache(void);
9 NTSTATUS idmap_allocate_uid(struct unixid *id);
10 NTSTATUS idmap_allocate_gid(struct unixid *id);
11 NTSTATUS idmap_backends_unixid_to_sid(const char *domname,
12                                       struct id_map *id);
13 NTSTATUS idmap_backends_sid_to_unixid(const char *domname,
14                                       struct id_map *id);
15
16 /* The following definitions come from winbindd/idmap_nss.c  */
17
18 NTSTATUS idmap_nss_init(void);
19
20 /* The following definitions come from winbindd/idmap_passdb.c  */
21
22 NTSTATUS idmap_passdb_init(void);
23
24 /* The following definitions come from winbindd/idmap_tdb.c  */
25
26 NTSTATUS idmap_tdb_init(void);
27
28 /* The following definitions come from winbindd/idmap_util.c  */
29
30 NTSTATUS idmap_uid_to_sid(const char *domname, struct dom_sid *sid, uid_t uid);
31 NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid);
32 NTSTATUS idmap_sid_to_uid(const char *dom_name, struct dom_sid *sid, uid_t *uid);
33 NTSTATUS idmap_sid_to_gid(const char *domname, struct dom_sid *sid, gid_t *gid);
34 bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);