blob: e3b7bdcafc68547267024084f3899e23944fc9f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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(GNode *root_node, boolean test_mode);
/**
*
**/
void
common_commit_clean_temp_config(boolean test_mode);
#endif //__COMMON_H__
|