libseat: Rename libseat_impl to seat_impl
This commit is contained in:
parent
493cc2a97d
commit
3586530d81
4 changed files with 13 additions and 13 deletions
|
@ -44,7 +44,7 @@ struct backend_logind {
|
|||
int has_drm;
|
||||
};
|
||||
|
||||
const struct libseat_impl logind_impl;
|
||||
const struct seat_impl logind_impl;
|
||||
static struct backend_logind *backend_logind_from_libseat_backend(struct libseat *base);
|
||||
|
||||
static void destroy(struct backend_logind *backend) {
|
||||
|
@ -768,7 +768,7 @@ error:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
const struct libseat_impl logind_impl = {
|
||||
const struct seat_impl logind_impl = {
|
||||
.open_seat = logind_open_seat,
|
||||
.disable_seat = disable_seat,
|
||||
.close_seat = close_seat,
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#include "server.h"
|
||||
#endif
|
||||
|
||||
const struct libseat_impl seatd_impl;
|
||||
const struct libseat_impl builtin_impl;
|
||||
const struct seat_impl seatd_impl;
|
||||
const struct seat_impl builtin_impl;
|
||||
|
||||
struct pending_event {
|
||||
struct linked_list link; // backend_seat::link
|
||||
|
@ -495,7 +495,7 @@ static int disable_seat(struct libseat *base) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct libseat_impl seatd_impl = {
|
||||
const struct seat_impl seatd_impl = {
|
||||
.open_seat = open_seat,
|
||||
.disable_seat = disable_seat,
|
||||
.close_seat = close_seat,
|
||||
|
@ -569,7 +569,7 @@ static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener,
|
|||
}
|
||||
}
|
||||
|
||||
const struct libseat_impl builtin_impl = {
|
||||
const struct seat_impl builtin_impl = {
|
||||
.open_seat = builtin_open_seat,
|
||||
.disable_seat = disable_seat,
|
||||
.close_seat = close_seat,
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include "libseat.h"
|
||||
#include "log.h"
|
||||
|
||||
extern const struct libseat_impl seatd_impl;
|
||||
extern const struct libseat_impl logind_impl;
|
||||
extern const struct libseat_impl builtin_impl;
|
||||
extern const struct seat_impl seatd_impl;
|
||||
extern const struct seat_impl logind_impl;
|
||||
extern const struct seat_impl builtin_impl;
|
||||
|
||||
static const struct named_backend impls[] = {
|
||||
#ifdef SEATD_ENABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue