diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-07 07:28:24 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-07 07:28:24 +0000 |
commit | 39d575d68e57d7e874b30fa1bceb1db7e1a228cb (patch) | |
tree | ca581ac0816c605e751e033a8c63cb5eb6c7d477 /source3/nsswitch | |
parent | a51897cf9b431f9638b73a51e7a13d40e4e4c505 (diff) | |
download | samba-39d575d68e57d7e874b30fa1bceb1db7e1a228cb.tar.gz samba-39d575d68e57d7e874b30fa1bceb1db7e1a228cb.tar.xz samba-39d575d68e57d7e874b30fa1bceb1db7e1a228cb.zip |
Add some more const :-)
This also makes it a easier to see which paramaters are 'in', and which are
'out'.
Andrew Bartlett
(This used to be commit 122cf648d7f364c68ecb7a576a42e94a954e9e56)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wb_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index bcb339864a..9ac1515d7d 100644 --- a/source3/nsswitch/wb_client.c +++ b/source3/nsswitch/wb_client.c @@ -65,7 +65,7 @@ BOOL winbind_lookup_name(const char *dom_name, const char *name, DOM_SID *sid, /* Call winbindd to convert sid to name */ -BOOL winbind_lookup_sid(DOM_SID *sid, +BOOL winbind_lookup_sid(const DOM_SID *sid, fstring dom_name, fstring name, enum SID_NAME_USE *name_type) { @@ -102,7 +102,7 @@ BOOL winbind_lookup_sid(DOM_SID *sid, /* Call winbindd to convert SID to uid */ -BOOL winbind_sid_to_uid(uid_t *puid, DOM_SID *sid) +BOOL winbind_sid_to_uid(uid_t *puid, const DOM_SID *sid) { struct winbindd_request request; struct winbindd_response response; @@ -168,7 +168,7 @@ BOOL winbind_uid_to_sid(DOM_SID *sid, uid_t uid) /* Call winbindd to convert SID to gid */ -BOOL winbind_sid_to_gid(gid_t *pgid, DOM_SID *sid) +BOOL winbind_sid_to_gid(gid_t *pgid, const DOM_SID *sid) { struct winbindd_request request; struct winbindd_response response; |