runtime: add NP_GetEntryPoints