mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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.
9 lines
226 B
C
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);
|