diff options
author | Linus Nordberg <linus@nordu.net> | 2010-09-13 17:27:40 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-09-13 17:27:40 +0200 |
commit | 23dfea91ef5e921da0b09d91004436a7d8715c42 (patch) | |
tree | 3ef5ba7681bbe664efb51064f29adc5cec2778b7 /lib/examples/blocking.h | |
parent | 8455dc9801730e599510c92cdb3e05da351aa7a5 (diff) |
First stab at a working blocking example.
Diffstat (limited to 'lib/examples/blocking.h')
-rw-r--r-- | lib/examples/blocking.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/examples/blocking.h b/lib/examples/blocking.h new file mode 100644 index 0000000..04a07a8 --- /dev/null +++ b/lib/examples/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); |