| [Insert name here] Reference Manual |
|---|
int variable_set (char *variable, char *value); int variable_unset (const char *variable); char* variable_get (const char *variable);
int variable_set (char *variable,
char *value);Set the specified variable to the given value. The variable is created if it doesn't exit.
| variable : | The variable in question. |
| value : | Value to assign to the variable. |
| Returns : | 0 on success, -1 on error. |
int variable_unset (const char *variable);
Delete the specified variable from the variable lists.
| variable : | The variable in question. |
| Returns : | 0 on success, -1 if variable could not be found. |
char* variable_get (const char *variable);
Get value for the specified variable.
| variable : | Variable to get the value from. |
| Returns : | Value of the variable, or NULL if the variable is not set. |
| <<< plugin-common-prv | prelude-message-id >>> |