From 748f296a76a76d38525ad35df6658811cae60222 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 9 Feb 1999 19:51:44 +0000 Subject: removal of the use of unistrn2 function: replace it with unistr2_to_str which is more appropriate. (This used to be commit ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b) --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 8f2d73f95f..2ed35ee0af 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -185,7 +185,7 @@ BOOL map_alias_sid(DOM_SID *psid, DOM_NAME_MAP *grp_info); BOOL map_group_sid(DOM_SID *psid, DOM_NAME_MAP *grp_info); BOOL lookupsmbpwnam(const char *unix_usr_name, DOM_NAME_MAP *grp); BOOL lookupsmbpwuid(uid_t uid, DOM_NAME_MAP *gmep); -BOOL lookupsmbpwntnam(char *fullntname, DOM_NAME_MAP *gmep); +BOOL lookupsmbpwntnam(const char *fullntname, DOM_NAME_MAP *gmep); BOOL lookupsmbpwsid(DOM_SID *sid, DOM_NAME_MAP *gmep); BOOL lookupsmbgrpnam(const char *unix_grp_name, DOM_NAME_MAP *grp); BOOL lookupsmbgrpsid(DOM_SID *sid, DOM_NAME_MAP *gmep); @@ -1880,7 +1880,7 @@ void make_buf_unistr2(UNISTR2 *str, uint32 *ptr, char *buf); void copy_unistr2(UNISTR2 *str, UNISTR2 *from); void make_string2(STRING2 *str, char *buf, int len); void smb_io_string2(char *desc, STRING2 *str2, uint32 buffer, prs_struct *ps, int depth); -void make_unistr2(UNISTR2 *str, char *buf, int len); +void make_unistr2(UNISTR2 *str, const char *buf, int len); void smb_io_unistr2(char *desc, UNISTR2 *uni2, uint32 buffer, prs_struct *ps, int depth); void make_dom_rid2(DOM_RID2 *rid2, uint32 rid, uint8 type, uint32 idx); void smb_io_dom_rid2(char *desc, DOM_RID2 *rid2, prs_struct *ps, int depth); -- cgit