diff options
author | Nate Straz <nstraz@redhat.com> | 2005-08-24 16:07:46 +0000 |
---|---|---|
committer | Nate Straz <nstraz@redhat.com> | 2005-08-24 16:07:46 +0000 |
commit | 35ffc8bdc7ec6b166c0799f49d475803e6f285ff (patch) | |
tree | 4df7017959442635f3d5b1703849fd20db6a1c87 /qarsh/sockutil.h | |
download | qarsh-35ffc8bdc7ec6b166c0799f49d475803e6f285ff.tar.gz qarsh-35ffc8bdc7ec6b166c0799f49d475803e6f285ff.tar.xz qarsh-35ffc8bdc7ec6b166c0799f49d475803e6f285ff.zip |
Add initial working version of the QA Remote SHell.
Diffstat (limited to 'qarsh/sockutil.h')
-rw-r--r-- | qarsh/sockutil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qarsh/sockutil.h b/qarsh/sockutil.h new file mode 100644 index 0000000..36d021a --- /dev/null +++ b/qarsh/sockutil.h @@ -0,0 +1,6 @@ +#include <netinet/in.h> + +int getsockport(int sd); +int bind_any(int minport); +int connect_to_host(char *hostname, int port); +int connect_to_peer(struct sockaddr_in *peer, int port); |