About the ArgList and ArgListValues attributes

The ArgList attribute specifies which attributes need to be passed to agent entry points. The agent framework populates the ArgListValues attribute with the list of attributes and their associated values.

In C++ agents, the value of the ArgListValues attribute is passed through a parameter of type void **. For example, the signature of the online entry point is:

unsigned int

res_online(const char *res_name, void **attr_val);

In script agents, the value of the ArgListValues attribute is passed as command-line arguments to the script.