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/wlr/backend | |
parent | f10da8291b3f0d51b55262bd623511c8b8349a9e (diff) |
Rename functions to be consistent with #93
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/session.h | 4 | ||||
-rw-r--r-- | include/wlr/backend/session/interface.h | 4 |
2 files changed, 4 insertions, 4 deletions
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); |