Home
last modified time | relevance | path

Searched refs:RichText (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.h118 extern mDNSBool LabelContainsSuffix(const domainlabel *const name, const mDNSBool RichText);
119 extern mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText);
120 extern void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText);
H A DDNSCommon.c1254 mDNSexport mDNSBool LabelContainsSuffix(const domainlabel *const name, const mDNSBool RichText) in LabelContainsSuffix() argument
1258 if (RichText) in LabelContainsSuffix()
1280 mDNSexport mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText) in RemoveLabelSuffix() argument
1285 if (RichText && name->c[0] >= 1 && name->c[name->c[0]] == ')') name->c[0]--; in RemoveLabelSuffix()
1292 if (RichText) in RemoveLabelSuffix()
1306 mDNSexport void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText) in AppendLabelSuffix() argument
1309 if (RichText) chars = 4; // Shortest possible RichText suffix is 4 characters (" (2)") in AppendLabelSuffix()
1312 if (RichText) while (name->c[name->c[0]] == ' ') name->c[0]--; in AppendLabelSuffix()
1318 if (RichText) { name->c[++name->c[0]] = ' '; name->c[++name->c[0]] = '('; } in AppendLabelSuffix()
1328 if (RichText) name->c[++name->c[0]] = ')'; in AppendLabelSuffix()
[all …]
H A DmDNSEmbeddedAPI.h2905 extern void IncrementLabelSuffix(domainlabel *name, mDNSBool RichText);