aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/socket.h b/src/socket.h
deleted file mode 100644
index a2d453a..0000000
--- a/src/socket.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _RUNES_SOCKET_H
-#define _RUNES_SOCKET_H
-
-#include <sys/un.h>
-
-struct runes_socket {
- RunesLoop *loop;
- RunesWindowBackendGlobal *wg;
- char *name;
- int sock;
- int client_sock;
-};
-
-RunesSocket *runes_socket_new(RunesLoop *loop, RunesWindowBackendGlobal *wg);
-void runes_socket_init_loop(RunesSocket *sock, RunesLoop *loop);
-void runes_socket_send_client_message(int argc, char **argv);
-void runes_socket_delete(RunesSocket *sock);
-
-#define MAX_SOCKET_PATH_LEN \
- (sizeof(struct sockaddr_un) - offsetof(struct sockaddr_un, sun_path))
-
-#endif