Preliminary stab at app scan locking; pndnotifyd creates logfile /tmp/whatever and...
[pandora-libraries.git] / include / pnd_pndfiles.h
index 2abefba..ab13838 100644 (file)
@@ -34,6 +34,13 @@ unsigned char pnd_pnd_accrue_pxml ( FILE *f, char *target, unsigned int maxlen )
 // only work in a non-binary buffer.) Brute force zombies ahead!
 char *pnd_match_binbuf ( char *haystack, unsigned int maxlen, char *needle );
 
+// pnd_mount() is for mounting a .pnd or PXML-app into the filesystem without running the app; for
+// instance, should you want to browse screenshots (listed from PXML say?), you might want to
+// pnd_mount(), lurk around in the mount, and then pnd_unmount() to release it
+// On success, _mount and _unmount return >0
+unsigned char pnd_pnd_mount ( char *pndrun, char *fullpath, char *unique_id );
+unsigned char pnd_pnd_unmount ( char *pndrun, char *fullpath, char *unique_id );
+
 #ifdef __cplusplus
 } /* "C" */
 #endif