seclabel_api.h
int SecLabelPrint(const unsigned char *data, const int datalen, char *buffer, const int bufferlen)
Converts an octet string containing encoding of a Security Label into an XML document.
int SecLabelParse(const char *xmldata, char *outbuf, int outbuflen, int *lenp)
Converts an XML document representing a Security Label into an octet string containing the encoding o...