int user_add_to_desc(void *user, int *desc_size, char **desc)
Before a node description is sent to the TM, the user can provide a
pointer to a data structure that will be appended to the description
for later use by the user in reconstruction of the node. This
information must be placed into *desc. Its size should be
returned in *desc_size.
There is only one default option: the description to be added is considered to
be of zero length, i.e., there is no additional description.
void *user | IN | Pointer to the user-defined LP data structure. |
int *desc_size | OUT | The size of the additional information, the length of *desc in bytes. |
char **desc | OUT | Pointer to the additional information (space must be allocated by the user). |
USER_ERROR | Error. DEFAULT is used. |
USER_SUCCESS | User filled out *desc_size and *desc. |
USER_DEFAULT | No description is appended. |