summaryrefslogtreecommitdiff
path: root/src/common/unionfs.h
blob: 0682b69f1e1cf343aa0f0092434e142de71e96c3 (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
#ifndef __UNIONFS_HH__
#define __UNIONFS_HH__

#include <glib-2.0/glib.h>
#include <stdio.h>
#include "defs.h"
#include "../cli_val.h"
#include "../cli_objects.h"

#define UNSAVED_FILE ".unsaved"
#define DISABLE_FILE ".disable"
#define DEF_FILE "def"
#define WHITEOUT_FILE ".wh.__dir_opaque"
#define WHITEOUT_DISABLE_FILE ".wh..disable"
#define DELETED_NODE ".wh."

#define MAX_LENGTH_DIR_PATH 4096
#define MAX_LENGTH_HELP_STR 4096

boolean
value_exists(char *path);

struct PriData {
  unsigned long _pri;
  gchar **_tok_str;
};


struct ValueData
{
  boolean _leaf;
  NODE_OPERATION _state;
};


#endif //__UNIONFS_HH__