Searched refs:nicelabel (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/mDNSResponder-522.92.1/mDNSVxWorks/
H A DmDNSVxWorksIPv4Only.c836 inMDNS->nicelabel.c[ 0 ] = strlen( tempCString );
837 memcpy( &inMDNS->nicelabel.c[ 1 ], tempCString, inMDNS->nicelabel.c[ 0 ] );
838 check( inMDNS->nicelabel.c[ 0 ] > 0 );
854 namePtr = inMDNS->nicelabel.c;
867 dlog( kDebugLevelInfo, DEBUG_NAME "nice name \"%.*s\"\n", inMDNS->nicelabel.c[ 0 ], &inMDNS->nicelabel.c[ 1 ] );
1993 printf( " nicelabel = \"%.*s\"\n", gMDNSPtr->nicelabel.c[ 0 ], (char *) &gMDNSPtr->nicelabel
[all...]
H A DmDNSVxWorks.c800 domainlabel nicelabel; local
949 MakeDomainLabelFromLiteralString( &nicelabel, "Put Nice Name Here" ); // $$$ Implementers: Fill in nice name of device.
950 if( nicelabel.c[ 0 ] == 0 ) MakeDomainLabelFromLiteralString( &nicelabel, defaultName );
956 if( hostlabel.c[ 0 ] == 0 ) ConvertUTF8PstringToRFC1034HostLabel( nicelabel.c, &hostlabel );
961 if( !SameDomainLabelCS( inMDNS->p->userNiceLabel.c, nicelabel.c ) )
963 dmsg( kDebugLevelInfo, DEBUG_NAME "Updating nicelabel to \"%#s\"\n", nicelabel.c );
964 inMDNS->p->userNiceLabel = nicelabel;
965 inMDNS->nicelabel
[all...]
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOS9/
H A DmDNSMacOS9.c551 m->nicelabel.c[0] = 0;
552 GetUserSpecifiedComputerName(&m->nicelabel);
553 // m->nicelabel = *(domainlabel*)"\pStu"; // For conflict testing
554 if (m->nicelabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->nicelabel, "Macintosh");
558 ConvertUTF8PstringToRFC1034HostLabel(m->nicelabel.c, &m->hostlabel);
H A DMac OS Test Responder.c121 RegisterService(m, recordset, PortAsNumber, txtinfo, &m->nicelabel, servicetype, "local.");
163 //RegisterService(m, &njp, 80, "NJP/", &m->nicelabel, "_njp._tcp.", "local.");
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/
H A Ddaemon.c995 IncrementLabelSuffix(&m->nicelabel, mDNStrue);
1018 debugf("RegCallback renaming %#s to %#s", si->name.c, m->nicelabel.c);
1020 si->name = m->nicelabel;
1066 si->name = x->autoname ? mDNSStorage.nicelabel : x->name;
1142 if (!name[0]) n = mDNSStorage.nicelabel;
1329 mDNSPreferencesSetNames(m, kmDNSComputerName, &m->p->usernicelabel, &m->nicelabel);
1340 if (!SameDomainLabelCS(si->name.c, m->nicelabel.c))
1342 debugf("NetworkChanged renaming %##s to %#s", si->srs.RR_SRV.resrec.name->c, m->nicelabel.c);
2278 if (!SameDomainLabelCS(m->p->usernicelabel.c, m->nicelabel.c))
2280 LogMsg("Name Conflict: Updated Computer Name from \"%#s\" to \"%#s\"", m->p->usernicelabel.c, m->nicelabel
[all...]
H A DmDNSMacOSX.c4563 ConstructServiceName(&info->AutoTunnelDeviceInfo.namestorage, &m->nicelabel, &DeviceInfoName, &info->domain);
5305 domainlabel nicelabel; local
5306 nicelabel.c[0] = 0;
5307 GetUserSpecifiedFriendlyComputerName(&nicelabel);
5308 if (nicelabel.c[0] == 0)
5311 MakeDomainLabelFromLiteralString(&nicelabel, defaultname);
5328 if (SameDomainLabelCS(m->p->usernicelabel.c, nicelabel.c))
5329 debugf("Usernicelabel (%#s) unchanged since last time; not changing m->nicelabel (%#s)", m->p->usernicelabel.c, m->nicelabel.c);
5333 LogMsg("User updated Computer Name from ���%#s��� to ���%#s���", m->p->usernicelabel.c, nicelabel
[all...]
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSPosix/
H A DmDNSPosix.c1226 m->nicelabel.c[0] = 0;
1227 GetUserSpecifiedFriendlyComputerName(&m->nicelabel);
1228 if (m->nicelabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->nicelabel, "Computer");
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSShared/
H A Ddnssd_clientshim.c199 x->name = mDNSStorage.nicelabel;
237 if (!name[0]) n = mDNSStorage.nicelabel;
H A Duds_daemon.c1026 IncrementLabelSuffix(&m->nicelabel, mDNStrue);
2051 request->u.servicereg.name = mDNSStorage.nicelabel;
2432 if (num_autoname == 0 || !SameDomainLabelCS(m->DeviceInfo.resrec.name->c, m->nicelabel.c))
2443 ConstructServiceName(&m->DeviceInfo.namestorage, &m->nicelabel, &DeviceInfoName, &localdomain);
2469 if (req->u.servicereg.autoname && !SameDomainLabelCS(req->u.servicereg.name.c, m->nicelabel.c))
2471 req->u.servicereg.name = m->nicelabel;
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/
H A DmDNSWin32.c2343 inMDNS->nicelabel.c[ 0 ] = (mDNSu8) (strlen( utf8 ) < MAX_DOMAIN_LABEL ? strlen( utf8 ) : MAX_DOMAIN_LABEL);
2344 memcpy( &inMDNS->nicelabel.c[ 1 ], utf8, inMDNS->nicelabel.c[ 0 ] );
2346 dlog( kDebugLevelInfo, DEBUG_NAME "nice name \"%.*s\"\n", inMDNS->nicelabel.c[ 0 ], &inMDNS->nicelabel.c[ 1 ] );
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/
H A DmDNSEmbeddedAPI.h2349 domainlabel nicelabel; // Rich text label encoded using canonically precomposed UTF-8 member in struct:mDNS_struct
H A DmDNS.c13438 // we end up incrementing m->nicelabel multiple times instead of just once.
14010 m->SPSType, m->SPSPortability, m->SPSMarginalPower, m->SPSTotalPower, m->SPSFeatureFlags, &m->nicelabel);
14210 m->nicelabel.c[0] = 0;

Completed in 505 milliseconds