Lines Matching defs:label
29 * hextoalabel - Convert an internal label to its human readable
44 #include <tsol/label.h>
61 gettext("hextoalabel: bad previous label\n"));
81 m_label_t *label = NULL;
82 char hex[PIPE_BUF]; /* internal label */
83 char *ascii = NULL; /* human readable label to print */
84 int err = 0; /* label error */
107 gettext("usage: %s [-c] [hexadecimal label]\n"), argv[0]);
113 /* use label on command line */
117 /* read label from standard input */
121 perror(gettext("reading hexadecimal label"));
138 if (str_to_label(hex, &label, USER_CLEAR, L_NO_CORRECTION,
142 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) {
147 m_label_free(label);
150 if (str_to_label(hex, &label, MAC_LABEL, L_NO_CORRECTION,
154 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) {
159 m_label_free(label);