Add iso_image_get_msg_id() API.
This commit is contained in:
parent
f1739b4323
commit
0869f7d472
@ -216,3 +216,8 @@ const char *iso_image_get_biblio_file_id(const IsoImage *image)
|
|||||||
{
|
{
|
||||||
return image->biblio_file_id;
|
return image->biblio_file_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int iso_image_get_msg_id(IsoImage *image)
|
||||||
|
{
|
||||||
|
return image->id;
|
||||||
|
}
|
||||||
|
@ -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,
|
int iso_obtain_msgs(char *minimum_severity, int *error_code, int *imgid,
|
||||||
char msg_text[], int *os_errno, char severity[]);
|
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.
|
* Get a textual description of a libisofs error.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user