author | mjm <mjm> | 2002-11-22 23:39:26 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-11-22 23:39:26 (UTC) |
commit | 5a346c71bf5255eb769c9fceb34358c06e60aef3 (patch) (side-by-side diff) | |
tree | 6d600718317d56c411c2d91259e73780a99be60d /noncore/net/wellenreiter/libwellenreiter/source/sock.hh | |
parent | a71b9d79a05ab2b6bc891afe4df4d5fdcf641550 (diff) | |
download | opie-5a346c71bf5255eb769c9fceb34358c06e60aef3.zip opie-5a346c71bf5255eb769c9fceb34358c06e60aef3.tar.gz opie-5a346c71bf5255eb769c9fceb34358c06e60aef3.tar.bz2 |
ripped stuff from daemon and generalized it for libary usage
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/sock.hh') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/sock.hh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/sock.hh b/noncore/net/wellenreiter/libwellenreiter/source/sock.hh new file mode 100644 index 0000000..afde641 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/source/sock.hh @@ -0,0 +1,19 @@ +/* $id */ + +#ifndef WLSOCK_HH +#define WLSOCK_HH + +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <signal.h> +#include <string.h> +#include <unistd.h> +#include <stdlib.h> +#include <errno.h> + +int commsock(const char *, int); +int sendcomm(const char *, int, const char *, ...); + +#endif /* WLSOCK_HH */ |