New API call Xorriso_start_msg_watcher()
This commit is contained in:
@ -656,6 +656,19 @@ int Xorriso_lst_get_last(struct Xorriso_lsT *entry, struct Xorriso_lsT **last,
|
||||
}
|
||||
|
||||
|
||||
int Xorriso_lst_concat(struct Xorriso_lsT *first, struct Xorriso_lsT *second,
|
||||
int flag)
|
||||
{
|
||||
struct Xorriso_lsT *last;
|
||||
|
||||
Xorriso_lst_get_last(first, &last, 0);
|
||||
if(last != NULL)
|
||||
last->next= second;
|
||||
if(second != NULL)
|
||||
second->prev= last;
|
||||
return(1);
|
||||
}
|
||||
|
||||
/* --------------------------- End Xorriso_lsT ---------------------------- */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user