Dear all,
Is it possible to retrieve the current action that the script is running?
Best regards, Ancuta
On 2/1/10 10:27 PM, Jan Janak wrote:
On 22-01 13:06, Andreea Ancuta Onofrei wrote:
Dear all,
Is it possible to retrieve the current action that the script is running?
If you mean from C functions then no, not easily.
for some particular cases the functions exported to cfg can get the action in fixup function -- if they have at least one parameter. latest xlog (k) uses such mechanism to get the line of cfg from action structure to print at runtime.
Daniel
Thank you for your answers. That makes things clearer.
Regards, Ancuta
On Mon, 2010-02-01 at 23:03 +0100, Daniel-Constantin Mierla wrote:
ar cases the functions exported to cfg can get the action in fixup function -- if they have at least one parameter. latest xlog (k) uses such mechanism to get the line of cfg from action structure to print at runtime.