summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/proto_impl.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-02-02 15:42:00 +0000
committerpjd <pjd@FreeBSD.org>2011-02-02 15:42:00 +0000
commit3acb629cd228ce6366df06b502aea7ca95055b91 (patch)
tree9223d8207fa5991396838925457e2a191fb13707 /sbin/hastd/proto_impl.h
parentfe04ca41978603dd92e6ce84f2f087885c567429 (diff)
downloadFreeBSD-src-3acb629cd228ce6366df06b502aea7ca95055b91.zip
FreeBSD-src-3acb629cd228ce6366df06b502aea7ca95055b91.tar.gz
Allow to specify connection timeout by the caller.
MFC after: 1 week
Diffstat (limited to 'sbin/hastd/proto_impl.h')
-rw-r--r--sbin/hastd/proto_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/proto_impl.h b/sbin/hastd/proto_impl.h
index fcf3d44..93dcd99 100644
--- a/sbin/hastd/proto_impl.h
+++ b/sbin/hastd/proto_impl.h
@@ -40,7 +40,7 @@
#define __constructor __attribute__((constructor))
typedef int hp_client_t(const char *, void **);
-typedef int hp_connect_t(void *);
+typedef int hp_connect_t(void *, int);
typedef int hp_server_t(const char *, void **);
typedef int hp_accept_t(void *, void **);
typedef int hp_send_t(void *, const unsigned char *, size_t);
OpenPOWER on IntegriCloud