Last change
on this file was
4379,
checked in by Sam Hocevar, 12 years ago
|
Networking tests. Doesn't work yet.
|
-
Property svn:keywords set to
Id
|
File size:
951 bytes
|
Line | |
---|
1 | /* |
---|
2 | * neercs console-based window manager |
---|
3 | * Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net> |
---|
4 | * 2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org> |
---|
5 | * 2008-2010 Pascal Terjan <pterjan@linuxfr.org> |
---|
6 | * All Rights Reserved |
---|
7 | * |
---|
8 | * This program is free software. It comes without any warranty, to |
---|
9 | * the extent permitted by applicable law. You can redistribute it |
---|
10 | * and/or modify it under the terms of the Do What The Fuck You Want |
---|
11 | * To Public License, Version 2, as published by Sam Hocevar. See |
---|
12 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
---|
13 | */ |
---|
14 | |
---|
15 | #include <sys/types.h> |
---|
16 | |
---|
17 | typedef struct nrx_socket nrx_socket_t; |
---|
18 | |
---|
19 | nrx_socket_t * socket_open(char const *path, int server); |
---|
20 | int socket_select(nrx_socket_t *sock, int usecs); |
---|
21 | int socket_puts(nrx_socket_t *sock, char const *str); |
---|
22 | ssize_t socket_read(nrx_socket_t *sock, void *buf, size_t count); |
---|
23 | void socket_close(nrx_socket_t *socket); |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.