diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 11:56:43 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 11:56:43 +1200 |
commit | 46823152ea5e2d0f888fa25ba6b4b1896e4e89b9 (patch) | |
tree | c2ca508b1938841dfbdc444fa283991d257426bf /include | |
parent | f10da8291b3f0d51b55262bd623511c8b8349a9e (diff) |
Rename functions to be consistent with #93
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/session/direct-ipc.h | 2 | ||||
-rw-r--r-- | include/wlr/backend/session.h | 4 | ||||
-rw-r--r-- | include/wlr/backend/session/interface.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/backend/session/direct-ipc.h b/include/backend/session/direct-ipc.h index 96504f04..2189d6fa 100644 --- a/include/backend/session/direct-ipc.h +++ b/include/backend/session/direct-ipc.h @@ -7,6 +7,6 @@ int direct_ipc_open(int sock, const char *path); void direct_ipc_setmaster(int sock, int fd); void direct_ipc_dropmaster(int sock, int fd); void direct_ipc_finish(int sock, pid_t pid); -int direct_ipc_start(pid_t *pid_out); +int direct_ipc_init(pid_t *pid_out); #endif diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 7961e620..24854431 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -31,14 +31,14 @@ struct wlr_session { * * Returns NULL on error. */ -struct wlr_session *wlr_session_start(struct wl_display *disp); +struct wlr_session *wlr_session_create(struct wl_display *disp); /* * Closes a previously opened session and restores the virtual terminal. * You should call wlr_session_close_file on each files you opened * with wlr_session_open_file before you call this. */ -void wlr_session_finish(struct wlr_session *session); +void wlr_session_destroy(struct wlr_session *session); /* * Opens the file at path. diff --git a/include/wlr/backend/session/interface.h b/include/wlr/backend/session/interface.h index 16814446..1a029c54 100644 --- a/include/wlr/backend/session/interface.h +++ b/include/wlr/backend/session/interface.h @@ -4,8 +4,8 @@ #include <wlr/backend/session.h> struct session_impl { - struct wlr_session *(*start)(struct wl_display *disp); - void (*finish)(struct wlr_session *session); + struct wlr_session *(*create)(struct wl_display *disp); + void (*destroy)(struct wlr_session *session); int (*open)(struct wlr_session *session, const char *path); void (*close)(struct wlr_session *session, int fd); bool (*change_vt)(struct wlr_session *session, unsigned vt); |