Added support for a hup script; if the pnd.hupscript key is within the 'apps' config...
[pandora-libraries.git] / include / pnd_utility.h
1
2 #ifndef h_pnd_utility_h
3 #define h_pnd_utility_h
4
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8
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 );
12
13 // arbtrary execute function; fire and forget really
14 void pnd_exec_no_wait_1 ( char *fullpath, char *arg1 );
15
16 #ifdef __cplusplus
17 } /* "C" */
18 #endif
19
20 #endif