2 #ifndef h_pnd_utility_h
3 #define h_pnd_utility_h
9 // given a malloc'd pointer to a string, expand ~ to $HOME as often as it is found, returning a
10 // new string; the old string is destroyed in the process, or returned as-is.
11 char *pnd_expand_tilde ( char *freeable_buffer );
13 // arbtrary execute function; fire and forget really
14 void pnd_exec_no_wait_1 ( char *fullpath, char *arg1 );
16 // pnd_pxml_get_always() will work against a PXML.xml file or a foo.pnd app-bundle and return
17 // the resulting PXML structure, or fail; ie: It should be handy to avoid the user having to
18 // do the 'what type is this, and if-this-or-that' themselves.
19 // NOTE: Does _NOT_ automatically pick up PXML-overrides; you can call that function if you want
20 pnd_pxml_handle pnd_pxml_get_by_path ( char *fullpath );