foot/server.h
Daniel Eklöf a1efd65746
server: implement a --server mode
In this mode, foot listens on a UNIX socket and creates terminal
windows when clients connect.

A connecting client sends argc/argv to the server, and the server
instantiates a new terminal window.

When the terminal window is closed, the exit code is sent back to the
client.
2019-11-01 20:39:09 +01:00

9 lines
226 B
C

#pragma once
#include "fdm.h"
#include "config.h"
#include "wayland.h"
struct server;
struct server *server_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl);
void server_destroy(struct server *server);