Add iso_image_get_msg_id() API.

This commit is contained in:
Vreixo Formoso
2008-01-27 18:20:33 +01:00
parent f1739b4323
commit 0869f7d472
2 changed files with 12 additions and 0 deletions

View File

@ -1910,6 +1910,13 @@ int iso_set_msgs_severities(char *queue_severity, char *print_severity,
int iso_obtain_msgs(char *minimum_severity, int *error_code, int *imgid,
char msg_text[], int *os_errno, char severity[]);
/**
* Get the id of an IsoImage, used for message reporting. This message id,
* retrieved with iso_obtain_msgs(), can be used to distinguish what
* IsoImage has isssued a given message.
*/
int iso_image_get_msg_id(IsoImage *image);
/**
* Get a textual description of a libisofs error.
*/