summaryrefslogtreecommitdiffstats
path: root/xpa/timedconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpa/timedconn.h')
-rw-r--r--xpa/timedconn.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/xpa/timedconn.h b/xpa/timedconn.h
new file mode 100644
index 0000000..e46e69d
--- /dev/null
+++ b/xpa/timedconn.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
+ */
+
+/*
+ *
+ * timedconn.h -- declarations for connect w/ timeout
+ *
+ */
+
+#ifndef __timedconn_h
+#define __timedconn_h
+
+#include <prsetup.h>
+
+_PRbeg
+
+int alrmconnect _PRx((int sockfd, void *saptr, int salen, int nsec));
+
+int noblkconnect _PRx((int sockfd, void *saptr, int salen, int nsec));
+
+_PRend
+
+#endif