Lines Matching full:label
8 str_to_label \- parse human readable strings to label
17 #include <tsol/label.h>
19 \fBint\fR \fBstr_to_label\fR(\fBconst char *\fR\fIstring\fR, \fBm_label_t **\fR\fIlabel\fR,
32 ignored, and any previously parsed label is replaced.
35 If *\fIlabel\fR is \fINULL\fR, \fBstr_to_label()\fR allocates resources for
36 \fIlabel\fR and initializes the label to the \fIlabel_type\fR that was
40 If *\fIlabel\fR is not \fINULL\fR, the label is a pointer to a mandatory label
41 that is the result of a previously parsed label and \fIlabel_type\fR is
42 ignored. The type that is used for parsing is derived from \fIlabel\fR for any
47 modify this label.
50 If \fIflags\fR is \fBL_NO_CORRECTION\fR, the previously parsed label is
52 from string to compose a valid label.
55 If \fIflags\fR is \fBL_DEFAULT\fR, the previously parsed label is replaced and
56 the parsing algorithm makes a best effort to imply a valid label from the
61 the resulting label will be checked to ensure that it is within the
63 only for \fBMAC_LABEL\fR label types.
68 allocated label. The label type can be:
75 The string should be translated as a Mandatory Access Control (MAC) label.
84 The string should be translated as a label that represents the least upper
92 \fIlabel\fR and human readable \fIstring\fR. Or the calling process must have
98 \fBadmin_high\fR and \fBadmin_low\fR label values. See \fBlabels\fR(7).
117 parsed. \fBM_BAD_LABEL\fR indicates that the label passed in was in error.
118 \fBM_OUTSIDE_AR\fR indicates that the resulting label is not within the
128 The system does not support label translations.
176 \fIValidating the Label Request Against the Printer\&'s Label Range\fR in
181 A number of the parsing rules rely on the DIA label encodings schema. The rules
182 might not be valid for other label schemata.