smbsr_map_errno
smbsr_map_errno(rc, err);
smbsr_map_errno(errnum, &sr->smb_error);
void smbsr_map_errno(int, smb_error_t *);