### The sec_rgy_attr_trig_query( ) and sec_rgy_attr_trig_update( ) Calls

The sec_attr_trig_query( ) call reads instances of attributes coded with a trigger type of query for a specified object. It passes an array of sec_attr_t values to a query attribute trigger and receives the output parameters back from the server. The sec_attr_trig_update( ) routine passes attributes coded with a trigger type of update to an update attribute trigger for evaluation before the updates are made to the registry.

Both calls are called automatically by the DCE attribute lookup or update code for all schema entries that specify a trigger. Although you should not call these calls directly, if you are implementing a trigger server, it will receive input from these calls and the attribute trigger's output should be passed back to them. The data received must be in a form accessible to the call and, if it is the result of an update, a form that can be stored in the registry database.

The object whose attribute instances are to be read or updated is identified by

· The name of the cell in which the object exists

· The name of the object or a UUID in string format that identifies the object

###