restricting the domain of a parameter

Hi all,
I understand that one can restrict the domain of a parameter to be estimated in Dynare using the options provided while specifying the priors.
I was wondering though if it is possible to restrict the domain of a parameter to be estimated using a function? The ability to use a function is necessary for me because the restriction will be dependent on some other parameters (to be estimated) of the model.
Thanks.
I understand that one can restrict the domain of a parameter to be estimated in Dynare using the options provided while specifying the priors.
I was wondering though if it is possible to restrict the domain of a parameter to be estimated using a function? The ability to use a function is necessary for me because the restriction will be dependent on some other parameters (to be estimated) of the model.
Thanks.