Lines Matching defs:scope
183 return (netbios_first_level_name_encode(name->name, name->scope,
191 (char *)name->scope));
197 * Set up the name and scope fields in the destination name_entry structure.
199 * last byte, i.e. "netbiosname <suffix>". The scope is copied and folded
203 smb_encode_netbios_name(unsigned char *name, char suffix, unsigned char *scope,
208 if (scope) {
209 (void) strlcpy((char *)dest->scope, (const char *)scope,
210 sizeof (dest->scope));
212 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope,
213 sizeof (dest->scope));
216 (void) smb_strupr((char *)dest->scope);
220 smb_init_name_struct(unsigned char *name, char suffix, unsigned char *scope,
225 smb_encode_netbios_name(name, suffix, scope, dest);