summaryrefslogtreecommitdiff
path: root/src/dbus/dlt-dbus.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@de.adit-jv.com>2018-12-20 14:58:19 +0100
committerChristoph Lipka <clipka@de.adit-jv.com>2018-12-21 10:23:41 +0100
commitdca8ab254aa0a687c32009079d85e4d8f960b213 (patch)
treee63b6a552fd9f61873892110a56a89ef354864cd /src/dbus/dlt-dbus.h
parent0d0c74640c8b792db37cb9f884f89f7561ea551f (diff)
downloadDLT-daemon-dca8ab254aa0a687c32009079d85e4d8f960b213.tar.gz
Code beautification using uncrustify
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Diffstat (limited to 'src/dbus/dlt-dbus.h')
-rw-r--r--src/dbus/dlt-dbus.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/dbus/dlt-dbus.h b/src/dbus/dlt-dbus.h
index 50a26e8..6f553d9 100644
--- a/src/dbus/dlt-dbus.h
+++ b/src/dbus/dlt-dbus.h
@@ -27,7 +27,7 @@
#ifndef DLT_DBUS_H_
#define DLT_DBUS_H_
-// DLT related includes.
+/* DLT related includes. */
#include "dlt.h"
#include "dlt_common.h"
@@ -35,33 +35,33 @@
#define DLT_DBUS_FILTER_MAX 32
-// Macros
+/* Macros */
#define UNUSED(x) (void)(x)
-#define MALLOC_ASSERT(x) if(x == NULL) {\
- fprintf(stderr, "Out of memory\n");\
- abort();}
+#define MALLOC_ASSERT(x) if (x == NULL) { \
+ fprintf(stderr, "Out of memory\n"); \
+ abort(); }
#define MAX_LINE 1024
-// Command line options
+/* Command line options */
typedef struct {
- char *ConfigurationFileName;
- char *ApplicationId;
- char *BusType;
- int Daemonize;
+ char *ConfigurationFileName;
+ char *ApplicationId;
+ char *BusType;
+ int Daemonize;
} DltDBusCliOptions;
-// Configuration dbus options
+/* Configuration dbus options */
typedef struct {
- char *ContextId;
- char *BusType;
- int FilterCount;
+ char *ContextId;
+ char *BusType;
+ int FilterCount;
char *FilterMatch[DLT_DBUS_FILTER_MAX];
} DBusOptions;
typedef struct {
char *ApplicationId;
- DBusOptions DBus;
+ DBusOptions DBus;
} DltDBusConfiguration;