diff options
Diffstat (limited to 'src/common/common.h')
-rw-r--r-- | src/common/common.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/common/common.h b/src/common/common.h new file mode 100644 index 0000000..c9cacc8 --- /dev/null +++ b/src/common/common.h @@ -0,0 +1,53 @@ +#ifndef __COMMON_H__ +#define __COMMON_H__ + +#include "defs.h" +#include "unionfs.h" + + +boolean +execute(char *cmd); + +/** + * + **/ +GNode* +common_get_local_session_data(); + +/** + * flushes local session + **/ +void +common_clear_local_session(); + +/** + * brings over local session conf to main config + **/ +void +commmon_copy_local_to_main(); + +/** + * sets system context for operation (i.e. hack for unionfs implementation) + **/ +void +common_set_context(char *cpath, char *dpath); + +/** + * sets system parent context for operation (i.e. hack for unionfs implementation) + **/ +void +common_set_parent_context(char *cpath, char *dpath); + +/** + * + **/ +void +common_commit_copy_to_live_config(char *path, boolean test_mode); + +/** + * + **/ +void +common_commit_clean_temp_config(boolean test_mode); + +#endif //__COMMON_H__ |