]> git.proxmox.com Git - pve-cluster.git/blobdiff - data/src/cfs-utils.h
add pmxcfs restart detection heuristic for IPCC
[pve-cluster.git] / data / src / cfs-utils.h
index 324b499d26f37ea95af7318a7b322543f1c63d75..6b22d45f08dae83efa58e6a4cec94c077396e4cd 100644 (file)
 #include <glib.h>
 #include <fcntl.h>
 
-#define HOST_CLUSTER_CONF_FN "/etc/cluster/cluster.conf"
+#define HOST_CLUSTER_CONF_FN "/etc/corosync/corosync.conf"
 #define CFS_PID_FN "/var/run/pve-cluster.pid"
 #define VARLIBDIR "/var/lib/pve-cluster"
+#define RUNDIR "/run/pve-cluster"
 
 #define CFS_MAX(a, b)          (((a) > (b)) ? (a) : (b))
 #define CFS_MIN(a, b)          (((a) < (b)) ? (a) : (b))
@@ -41,7 +42,6 @@ typedef struct {
        char *ip;
        gid_t gid;
        int debug;
-       int print_to_console;
 } cfs_t;
 
 extern cfs_t cfs;
@@ -113,6 +113,9 @@ atomic_write_file(
 gboolean
 path_is_private(const char *path);
 
+gboolean
+path_is_lxc_conf(const char *path);
+
 gboolean
 path_is_lockdir(const char *path);