~~Title: Eldbus.Connection.Type~~
===== Description =====
%%Eldbus connection type%%
{{page>:develop:api-include:eldbus:connection:type:description&nouser&nolink&nodate}}
===== Fields =====
{{page>:develop:api-include:eldbus:connection:type:fields&nouser&nolink&nodate}}
* **unknown** - %%Sentinel, not a real type%%
* **session** - %%Regular user session bus, used for applications and services running per user%%
* **system** - %%System-wide connection bus, used for system services%%
* **starter** - %%Uses whatever bus started our application, be session or system%%
* **address** - %%A private bus at a specific address%%
* **last** - %%Sentinel, not a real type%%
===== Signature =====
enum @extern Eldbus.Connection.Type {
unknown: 0,
session,
system,
starter,
address,
last
}
===== C signature =====
typedef enum {
ELDBUS_CONNECTION_TYPE_UNKNOWN = 0,
ELDBUS_CONNECTION_TYPE_SESSION,
ELDBUS_CONNECTION_TYPE_SYSTEM,
ELDBUS_CONNECTION_TYPE_STARTER,
ELDBUS_CONNECTION_TYPE_ADDRESS,
ELDBUS_CONNECTION_TYPE_LAST
} Eldbus_Connection_Type;