9 #define PND_APPS_SEARCHPATH "/mnt/sd1/pandora/apps:/mnt/sd2/pandora/apps:./testdata/apps"
10 #define PND_APPS_KEY "autodiscovery.searchpath"
12 #define PND_PNDRUN_SEARCHPATH "pnd.searchpath"
13 #define PND_PNDRUN_KEY "pnd.default"
14 #define PND_PNDRUN_FILENAME "pnd_run.sh"
15 #define PND_PNDRUN_DEFAULT "./testdata/scripts/pnd_run.sh"
17 #define PND_PXML_OVERRIDE_SEARCHPATH "~/pxml-overrides"
18 #define PND_PXML_OVERRIDE_KEY "overrides.searchpath"
20 #define PND_MOUNT_PATH "/mnt/apps/" /* all mounted PND images should be here.. /mnt/apps/myapp/... */
22 /* pnd_apps_exec() is used to blindly launch an app, be it a .pnd file bundle or a plain executable
23 * (shell, bin, whatever.) pndrun specifies the full path to the pnd_run sh script, which should be
24 * found using searchpaths and locates.. see locatetest.c for a sample
25 * if fullpath ends in PXML_FILENAME (PXML.xml) then pnd_run will be invoked (after extracting goodies
26 * from PXML file as appropriate)
27 * if fullpath ends in .pnd then pnd_run will be invoked (after inspecting embedded PXML or best-guess)
28 * otherwise the fullpath will be executed as-is
30 signed char pnd_apps_exec ( char *fullpath, char *pndrun );