3. Application Usage
The attributes can be accessed by the standard resolver library, but it is recommended that a library routine designed specially for this attribute format be used. Such a routine might provide an analogue to gethostbyname:
getattributebyname(objectname, name of object
attributename, name of attribute
attributevalue, pointer to buffer
attributevaluelen) length of buffer
This routine would remove all quoting characters before returning the information to the caller. A more complex routine could return attributes with multiple values, or several different attributes.