Sunshine latest
Self-hosted game stream host for Moonlight.
misc.h File Reference

Miscellaneous declarations for Linux. More...

#include <unistd.h>
#include <vector>
#include "src/utility.h"
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* dyn::apiproc) (void)
 

Enumerations

enum class  window_system_e { NONE , X11 , WAYLAND }
 

Functions

void * dyn::handle (const std::vector< const char * > &libs)
 
 KITTY_USING_MOVE_T (file_t, int, -1, { if(el >=0) { close(el);} })
 
int dyn::load (void *handle, const std::vector< std::tuple< apiproc *, const char * > > &funcs, bool strict)
 

Variables

window_system_e window_system
 

Detailed Description

Miscellaneous declarations for Linux.

Enumeration Type Documentation

◆ window_system_e

enum class window_system_e
strong
Enumerator
NONE 

No window system.

X11 

X11.

WAYLAND 

Wayland.