author | Sebastian Harl <sh@teamix.net> | |
Wed, 12 Sep 2012 13:44:07 +0000 (15:44 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Wed, 12 Sep 2012 13:44:07 +0000 (15:44 +0200) | ||
commit | 36b5e2040d00ec1ed9c9ef0bd5f22be3f695b90c | |
tree | 3e51be0d9f0a36be26d54f44e4f5e02e627dac94 | tree | snapshot |
parent | e2682945314d1a2abc8e9e879a80a72dcf638e9e | commit | diff |
junos: Introduced junos_invoke_method().
This function may be used to call an arbitrary JUNOScript method with any
number and type of attributes and arguments. Attributes and arguments are
specified using a variable argument list using tuples <type>, <name>[,
<value>] where type is any of a list of constants defined in junos.h. The type
of <value> is determined from the specified type. The list has to be
terminated by the constant JUNOS_NO_ARGS.
junos_simple_method() has been "degraded" to a define calling
junos_invoke_method().
This function may be used to call an arbitrary JUNOScript method with any
number and type of attributes and arguments. Attributes and arguments are
specified using a variable argument list using tuples <type>, <name>[,
<value>] where type is any of a list of constants defined in junos.h. The type
of <value> is determined from the specified type. The list has to be
terminated by the constant JUNOS_NO_ARGS.
junos_simple_method() has been "degraded" to a define calling
junos_invoke_method().
src/junos.c | diff | blob | history | |
src/junos.h | diff | blob | history |