mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
Rename functions to be consistent with #93
This commit is contained in:
parent
f10da8291b
commit
46823152ea
9 changed files with 22 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue