F.2.1. rascal_get_option

This function retreives values of options that control various aspects of the library's internal functioning.

rrid_t rascal_get_option(
	unsigned int optid,
	long int *value
);

Parameters. 

optid

Identifies the option that the application wants to retrieve the value of. For a list of available options, refer to the rascal_set_option function description.

value

If not null, receives the current value of the option.

Return value. 

On success, the function returns REC_SUCCESS. Otherwise, an error code is returned which can then be used in a call to rascal_get_errmsg.