PreviousNext

Using sec_attr_trig_cursor_t with sec_attr_trig_query( )

The sec_attr_trig_query( ) call, which reads attributes associated with a query attribute trigger, uses a cursor of type sec_attr_trig_cursor_t. This cursor must be allocated and initialized before it can be used as input to the sec_attr_trig_query( ) call. After use, the resources allocated to sec_attr_trig_cursor_t must be released.

The following calls allocate, initialize, and release a sec_attr_trig_cursor_t type for use with the sec_attr_trig_query( ) call:

· sec_attr_trig_cursor_init( )

The sec_attr_trig_cursor_init( ) call allocates resources to the cursor and initializes the cursor to the first attribute in the list of attributes for the object whose binding handle is specified. This call makes a remote call.

· sec_attr_trig_cursor_release( )

The sec_rgy_attr_cursor_release( ) call releases all resources allocated to a sec_attr_trig_cursor_t type by sec_attr_trig_cursor_init( ).