Searched refs:namelabel (Results 1 – 1 of 1) sorted by relevance
637 mDNSlocal void GetUserSpecifiedRFC1034ComputerName(domainlabel *const namelabel) in GetUserSpecifiedRFC1034ComputerName() argument640 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName()641 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++; in GetUserSpecifiedRFC1034ComputerName()642 namelabel->c[0] = len; in GetUserSpecifiedRFC1034ComputerName()648 mDNSlocal void GetUserSpecifiedFriendlyComputerName(domainlabel *const namelabel) in GetUserSpecifiedFriendlyComputerName() argument651 GetUserSpecifiedRFC1034ComputerName( namelabel); in GetUserSpecifiedFriendlyComputerName()