change: to use a temporary pointer to register the methods.
add: lstate_bool2tbl helper macro has been added.
add: a macaddrs method has been added.