summaryrefslogtreecommitdiff
path: root/lib/blocking.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-03 00:58:55 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-03 00:58:55 +0200
commit8455dc9801730e599510c92cdb3e05da351aa7a5 (patch)
treebb3b8fca4cdda6ace2d632ab8df5b9b0c72172e3 /lib/blocking.h
parent5f3d7c31ce76cac39449f1603d09dfadcfcfcc70 (diff)
Low level connect and read working, kind of. At least TCP.
Next: serializing.
Diffstat (limited to 'lib/blocking.h')
-rw-r--r--lib/blocking.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/blocking.h b/lib/blocking.h
new file mode 100644
index 0000000..04a07a8
--- /dev/null
+++ b/lib/blocking.h
@@ -0,0 +1,4 @@
+#include "libradsec-base.h"
+
+struct rs_packet *next_packet (const struct rs_config *ctx, int fd);
+int send_packet (const struct rs_config *ctx, int fd, struct rs_packet *p);