iPXE
|
NetBIOS user names. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
const char * | netbios_domain (char **username) |
Split NetBIOS [domain]username into separate domain and username fields. More... | |
NetBIOS user names.
Definition in file netbios.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
const char* netbios_domain | ( | char ** | username | ) |
Split NetBIOS [domain]username into separate domain and username fields.
username | NetBIOS [domain]username string |
domain | Domain portion of string, or NULL if no domain present |
This function modifies the original string by removing the separator. The caller may restore the string using netbios_domain_undo().
Definition at line 46 of file netbios.c.
References NULL, strchr(), and username.
Referenced by http_format_ntlm_auth(), and http_ntlm_authenticate().