mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Add FreeRDP backend for remote desktop support
This commit is contained in:
parent
9faea17c73
commit
fd0d7d0907
16 changed files with 1335 additions and 10 deletions
31
include/wlr/backend/rdp.h
Normal file
31
include/wlr/backend/rdp.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* This an unstable interface of wlroots. No guarantees are made regarding the
|
||||
* future consistency of this API.
|
||||
*/
|
||||
#ifndef WLR_USE_UNSTABLE
|
||||
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
|
||||
#endif
|
||||
|
||||
#ifndef WLR_BACKEND_RDP_H
|
||||
#define WLR_BACKEND_RDP_H
|
||||
#include <wlr/backend.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
|
||||
/**
|
||||
* Creates an RDP backend. An RDP backend will create one output, keyboard, and
|
||||
* pointer for each client that connects.
|
||||
*/
|
||||
struct wlr_backend *wlr_rdp_backend_create(struct wl_display *display,
|
||||
wlr_renderer_create_func_t create_renderer_func,
|
||||
const char *tls_cert_path, const char *tls_key_path);
|
||||
|
||||
void wlr_rdp_backend_set_address(struct wlr_backend *wlr_backend,
|
||||
const char *address);
|
||||
void wlr_rdp_backend_set_port(struct wlr_backend *wlr_backend, int port);
|
||||
|
||||
bool wlr_backend_is_rdp(struct wlr_backend *backend);
|
||||
bool wlr_input_device_is_rdp(struct wlr_input_device *device);
|
||||
bool wlr_output_is_rdp(struct wlr_output *output);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue