diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/common.h | 8 | ||||
-rw-r--r-- | utils/utils.h | 1 |
2 files changed, 6 insertions, 3 deletions
diff --git a/utils/common.h b/utils/common.h index 90372ed..82c9fd6 100644 --- a/utils/common.h +++ b/utils/common.h @@ -14,15 +14,17 @@ # include "utils.h" +# define GB_UNIX_ADDRESS "/var/run/gluster-block.socket" + # define DAEMON_LOG_FILE "/var/log/gluster-block/gluster-blockd.log" # define CLI_LOG_FILE "/var/log/gluster-block/gluster-block-cli.log" # define GFAPI_LOG_FILE "/var/log/gluster-block/gluster-block-gfapi.log" # define GFAPI_LOG_LEVEL 7 -# define GB_METADIR "/block-meta" -# define GB_STOREDIR "/block-store" -# define GB_TXLOCKFILE "meta.lock" +# define GB_METADIR "/block-meta" +# define GB_STOREDIR "/block-store" +# define GB_TXLOCKFILE "meta.lock" ssize_t glusterBlockCreateParseSize(char *value); diff --git a/utils/utils.h b/utils/utils.h index 0545219..5eda765 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -19,6 +19,7 @@ # include <stddef.h> # include <stdbool.h> # include <string.h> +# include <unistd.h> # include <errno.h> # include <time.h> |