summaryrefslogtreecommitdiffstats
path: root/src/canberra.h.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-20 00:47:45 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-20 00:47:45 +0100
commitd22b71af47b44c1c1d84195743c34b589e6ab19c (patch)
treeefb8dc22a6c0f5712b029dcc1a6b8af11d42babd /src/canberra.h.in
parenta558bbefae4e0a9f4d2b9aa539b94ae0344f6aed (diff)
src: reindent for 8ch indenting
I am slowly moving all my projects to kernel-inspired 8ch indenting. This will break patches that haven't been merged yet, which I am aware of, but OTOH in times of git's --ignore-space-change shouldn't be too problematic. Yes, I am aware that reindenting like this sucks, but I cannot stand 4ch indenting anymore. Sorry.
Diffstat (limited to 'src/canberra.h.in')
-rw-r--r--src/canberra.h.in48
1 files changed, 25 insertions, 23 deletions
diff --git a/src/canberra.h.in b/src/canberra.h.in
index 49ec326..095f008 100644
--- a/src/canberra.h.in
+++ b/src/canberra.h.in
@@ -1,3 +1,5 @@
+/*-*- Mode: C; c-basic-offset: 8 -*-*/
+
#ifndef foocanberrahfoo
#define foocanberrahfoo
@@ -54,9 +56,9 @@ extern "C" {
* Evaluates to TRUE when the library version is newer than the
* specified parameters.
*/
-#define CA_CHECK_VERSION(major,minor) \
- ((CA_MAJOR > (major)) || \
- (CA_MAJOR == (major) && CA_MINOR >= (minor)))
+#define CA_CHECK_VERSION(major,minor) \
+ ((CA_MAJOR > (major)) || \
+ (CA_MAJOR == (major) && CA_MINOR >= (minor)))
/**
* CA_PROP_MEDIA_NAME:
@@ -519,26 +521,26 @@ typedef void (*ca_finish_callback_t)(ca_context *c, uint32_t id, int error_code,
* Error codes
*/
enum {
- CA_SUCCESS = 0,
- CA_ERROR_NOTSUPPORTED = -1,
- CA_ERROR_INVALID = -2,
- CA_ERROR_STATE = -3,
- CA_ERROR_OOM = -4,
- CA_ERROR_NODRIVER = -5,
- CA_ERROR_SYSTEM = -6,
- CA_ERROR_CORRUPT = -7,
- CA_ERROR_TOOBIG = -8,
- CA_ERROR_NOTFOUND = -9,
- CA_ERROR_DESTROYED = -10,
- CA_ERROR_CANCELED = -11,
- CA_ERROR_NOTAVAILABLE = -12,
- CA_ERROR_ACCESS = -13,
- CA_ERROR_IO = -14,
- CA_ERROR_INTERNAL = -15,
- CA_ERROR_DISABLED = -16,
- CA_ERROR_FORKED = -17,
- CA_ERROR_DISCONNECTED = -18,
- _CA_ERROR_MAX = -19
+ CA_SUCCESS = 0,
+ CA_ERROR_NOTSUPPORTED = -1,
+ CA_ERROR_INVALID = -2,
+ CA_ERROR_STATE = -3,
+ CA_ERROR_OOM = -4,
+ CA_ERROR_NODRIVER = -5,
+ CA_ERROR_SYSTEM = -6,
+ CA_ERROR_CORRUPT = -7,
+ CA_ERROR_TOOBIG = -8,
+ CA_ERROR_NOTFOUND = -9,
+ CA_ERROR_DESTROYED = -10,
+ CA_ERROR_CANCELED = -11,
+ CA_ERROR_NOTAVAILABLE = -12,
+ CA_ERROR_ACCESS = -13,
+ CA_ERROR_IO = -14,
+ CA_ERROR_INTERNAL = -15,
+ CA_ERROR_DISABLED = -16,
+ CA_ERROR_FORKED = -17,
+ CA_ERROR_DISCONNECTED = -18,
+ _CA_ERROR_MAX = -19
};
/**