]> git.ozlabs.org Git - petitboot/commit - discover/grub2/script.c
discover/grub2: Function infrastructure improvements
authorJeremy Kerr <jk@ozlabs.org>
Mon, 16 Sep 2013 08:26:46 +0000 (16:26 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:14:59 +0000 (13:14 +0800)
commit64899475f9b895628fd7b654f7b549e50494229a
treeaaec0cf8b49351e1fa410d433f6901fe8e192d8b
parent5e1b3c27ab320eae17b9c9d75b4111c924860268
discover/grub2: Function infrastructure improvements

For user-defined functions, we'll need a data pointer to the function's
execution callback. Add this as a void *, and change references from
'command' to 'function'.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/grub2/builtins.c
discover/grub2/grub2.h
discover/grub2/script.c