add part of lundump.[ch] for lapi.c