summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/common.h b/src/common.h
index 1d93034..116a25a 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,3 +1,5 @@
+/*-*- Mode: C; c-basic-offset: 8 -*-*/
+
#ifndef foocanberracommonh
#define foocanberracommonh
@@ -26,24 +28,24 @@
#include "mutex.h"
struct ca_context {
- ca_bool_t opened;
- ca_mutex *mutex;
+ ca_bool_t opened;
+ ca_mutex *mutex;
- ca_proplist *props;
+ ca_proplist *props;
- char *driver;
- char *device;
+ char *driver;
+ char *device;
- void *private;
+ void *private;
#ifdef HAVE_DSO
- void *private_dso;
+ void *private_dso;
#endif
};
typedef enum ca_cache_control {
- CA_CACHE_CONTROL_NEVER,
- CA_CACHE_CONTROL_PERMANENT,
- CA_CACHE_CONTROL_VOLATILE
+ CA_CACHE_CONTROL_NEVER,
+ CA_CACHE_CONTROL_PERMANENT,
+ CA_CACHE_CONTROL_VOLATILE
} ca_cache_control_t;
int ca_parse_cache_control(ca_cache_control_t *control, const char *c);