[syslinux] Patch sensible callback framework
H. Peter Anvin
hpa at zytor.com
Tue May 4 10:38:38 PDT 2010
On 05/04/2010 06:45 AM, Ayvaz, James wrote:
> Is this what you had in mind? I cleaned up as you suggested and added rarg to hold registration time arguments.
If you're going to make a doubly linked list (which is a good idea),
then I suggest making a circularly linked list with headnode. You
should never have to do:
> + /* walk to end of the list */
> + curr = *type;
> + while (curr->next)
> + curr = curr->next;
... since you can then just go either way from the headnode.
-hpa
More information about the Syslinux
mailing list