aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_msgbus.h
blob: 4fe59481ac79af7fa514d0f19e61240ecf7adb07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef E_TYPEDEFS

typedef struct _E_Msgbus_Data E_Msgbus_Data;

#else
#ifndef E_MSGBUS_H
#define E_MSGBUS_H

/* This is the dbus subsystem, but edbus namespace is taken by edbus */

struct _E_Msgbus_Data
{
   EDBus_Connection *conn;
   EDBus_Service_Interface *iface;
};

EINTERN int e_msgbus_init(void);
EINTERN int e_msgbus_shutdown(void);
EAPI EDBus_Service_Interface *e_msgbus_interface_attach(const EDBus_Service_Interface_Desc *desc);

#endif
#endif