Lines Matching full:label
35 #include <tsol/label.h>
45 * h_alloc - Allocate data storage for a Hexadecimal label string.
47 * Entry id = Type of label to allocate storage for.
48 * SUN_SL_ID - Sensitivity Label.
81 * h_free - Free a Hexadecimal label string.
83 * Entry hex = Hexadecimal label string.
102 * bsltoh_r - Convert a Sensitivity Label into a Hexadecimal label string.
104 * Entry label = Sensitivity Label to be translated.
105 * hex = Buffer to place converted label.
108 * Returns NULL, If invalid label type.
115 bsltoh_r(const m_label_t *label, char *hex) in bsltoh_r() argument
119 if (label_to_str(label, &h, M_INTERNAL, DEF_NAMES) != 0) { in bsltoh_r()
131 * bsltoh - Convert a Sensitivity Label into a Hexadecimal label string.
133 * Entry label = Sensitivity Label to be translated.
135 * Returns NULL, If invalid label type.
136 * Address of statically allocated hex label string.
144 bsltoh(const m_label_t *label) in bsltoh() argument
147 return (bsltoh_r(label, hex_buf)); in bsltoh()
152 * bcleartoh_r - Convert a Clearance into a Hexadecimal label string.
155 * hex = Buffer to place converted label.
158 * Returns NULL, If invalid label type.
181 * bcleartoh - Convert a Clearance into a Hexadecimal label string.
185 * Returns NULL, If invalid label type.
186 * Address of statically allocated hex label string.