Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-15 23:04:16 +0300
committerFelix Fietkau <nbd@openwrt.org>2016-01-15 23:04:16 +0300
commitf8b32f7620efdb73055f7fd6af4c796a770050e2 (patch)
treede58aca83af3df737fd474282f9fcbf999b93040 /usock.h
parent682e071ef71f52125793aabb9e060343ea481443 (diff)
usock: add usock_inet, which returns the remote address
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'usock.h')
-rw-r--r--usock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usock.h b/usock.h
index b0b952b..2ead7e5 100644
--- a/usock.h
+++ b/usock.h
@@ -32,6 +32,7 @@
const char *usock_port(int port);
int usock(int type, const char *host, const char *service);
+int usock_inet(int type, const char *host, const char *service, void *addr);
/**
* Wait for a socket to become ready.