Oracle Solaris Trusted Extensions Developer's Guide

ModLabelData Structure

The ModLabelData structure contains information about the state of the Label Builder interface that is created by the call to the tsol_lbuild_create() routine. The following table describes the ModLabelData fields. All fields, except for the widgets and the callbacks, are accessible by specifying the associated extended operation and a valid value in a call to tsol_lbuild_set() or tsol_lbuild_get(). For descriptions of the extended operations, see Extended Label Builder Operations.

Table 7–1 ModLabelData Structure

Extended Operation or Description 

Data Type 

Field 

Comments 

LBUILD_CHECK_AR

int

check_ar

 

LBUILD_MODE

int

mode

 

LBUILD_SHOW

Bool

show

 

LBUILD_TITLE

char

*lbuild_title

 

LBUILD_UPPER_BOUND, LBUILD_LOWER_BOUND

brange_t

range

 

LBUILD_USERFIELD

char

*userfield

 

LBUILD_VALUE_CLR

bclear_t

*clr

 

LBUILD_VALUE_SL

m_label_t

*sl

 

LBUILD_VIEW

int

view

 

LBUILD_WORK_CLR

bclear_t

*clr_work

Not valid for tsol_lbuild_set() or tsol_lbuild_create()

LBUILD_WORK_SL

m_label_t

*sl_work

Not valid for tsol_lbuild_set() or tsol_lbuild_create()

LBUILD_X

Position

x

 

LBUILD_Y

Position

y

 

Callback passed to tsol_lbuild_create()

void

(*event_handler)()

 

Cancel button 

Widget

cancel

 

Help button 

Widget

help

 

Label Builder dialog box 

Widget

lbuild_dialog

 

OK button 

Widget

ok

 

Reset button 

Widget

reset

 

Update button 

Widget

update