Alexandre Blanchette
2010-Oct-25 17:51 UTC
[syslinux] [PATCH] Adding a gPXE detection function to lua.c32
Quite a simple patch: adds a is_gpxe() function to the lua.c32 module. Helps to know if an OS can be loaded through http (or any other advanced protocol) or if it has to fall back on tftp. This function exposes the result of the is_gpxe() function declared in "sys/gpxe.h". -- Alexandre Blanchette <blanalex at gmail.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: lua-syslinux-is-gpxe.patch Type: application/octet-stream Size: 900 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20101025/f035de34/attachment.obj>
Dag Wieers
2010-Oct-29 07:09 UTC
[syslinux] [PATCH] Adding a gPXE detection function to lua.c32
On Mon, 25 Oct 2010, Alexandre Blanchette wrote:> Quite a simple patch: adds a is_gpxe() function to the lua.c32 module. > Helps to know if an OS can be loaded through http (or any other > advanced protocol) or if it has to fall back on tftp. This function > exposes the result of the is_gpxe() function declared in "sys/gpxe.h".While I am all for integrating new functionality in lua, I think we need to determine how the interfaces (functions, variables) look like to have some consistency for future features. When can we have such a discussion ? -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- dagit linux solutions, info at dagit.net, http://dagit.net/ [Any errors in spelling, tact or fact are transmission errors]