From 2c5c0696e3b1ebd25c8ba6615187edc02b96da4b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 15 Sep 2010 00:49:54 +0200 Subject: Rename rs_config to rs_handle. A configuration will be something else. --- lib/examples/blocking.c | 4 ++-- lib/examples/blocking.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/examples') diff --git a/lib/examples/blocking.c b/lib/examples/blocking.c index 35650ea..b66eb64 100644 --- a/lib/examples/blocking.c +++ b/lib/examples/blocking.c @@ -7,7 +7,7 @@ #include "blocking.h" struct rs_packet * -next_packet (const struct rs_config *ctx, int fd) +next_packet (const struct rs_handle *ctx, int fd) { uint8_t hdr[RS_HEADER_LEN]; uint8_t *buf; @@ -44,7 +44,7 @@ next_packet (const struct rs_config *ctx, int fd) } int -send_packet(const struct rs_config *ctx, int fd, struct rs_packet *p) +send_packet(const struct rs_handle *ctx, int fd, struct rs_packet *p) { uint8_t *buf = NULL; ssize_t n = -20; /* Arbitrary packet size -- a guess. */ diff --git a/lib/examples/blocking.h b/lib/examples/blocking.h index 04a07a8..f91e6be 100644 --- a/lib/examples/blocking.h +++ b/lib/examples/blocking.h @@ -1,4 +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); +struct rs_packet *next_packet (const struct rs_handle *ctx, int fd); +int send_packet (const struct rs_handle *ctx, int fd, struct rs_packet *p); -- cgit v1.1