Ardour  9.0-pre0-582-g084a23a80d
reserve.h File Reference
#include <dbus/dbus.h>
#include <inttypes.h>
Include dependency graph for reserve.h:

Go to the source code of this file.

Typedefs

typedef struct rd_device rd_device
 
typedef int(* rd_request_cb_t) (rd_device *d, int forced)
 

Functions

int rd_acquire (rd_device **d, DBusConnection *connection, const char *device_name, const char *application_name, int32_t priority, rd_request_cb_t request_cb, DBusError *error)
 
void rd_release (rd_device *d)
 
int rd_set_application_device_name (rd_device *d, const char *name)
 
void rd_set_userdata (rd_device *d, void *userdata)
 
void * rd_get_userdata (rd_device *d)
 
int rd_dbus_get_name_owner (DBusConnection *connection, const char *name, char **name_owner, DBusError *error)
 

Typedef Documentation

◆ rd_device

typedef struct rd_device rd_device

Definition at line 1 of file reserve.h.

◆ rd_request_cb_t

typedef int(* rd_request_cb_t) (rd_device *d, int forced)

Definition at line 45 of file reserve.h.

Function Documentation

◆ rd_acquire()

int rd_acquire ( rd_device **  d,
DBusConnection *  connection,
const char *  device_name,
const char *  application_name,
int32_t  priority,
rd_request_cb_t  request_cb,
DBusError *  error 
)

◆ rd_dbus_get_name_owner()

int rd_dbus_get_name_owner ( DBusConnection *  connection,
const char *  name,
char **  name_owner,
DBusError *  error 
)

◆ rd_get_userdata()

void* rd_get_userdata ( rd_device d)

◆ rd_release()

void rd_release ( rd_device d)

◆ rd_set_application_device_name()

int rd_set_application_device_name ( rd_device d,
const char *  name 
)

◆ rd_set_userdata()

void rd_set_userdata ( rd_device d,
void *  userdata 
)