summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-02-28 14:50:04 +0100
committerLinus Nordberg <linus@nordu.net>2011-02-28 14:50:04 +0100
commitde197899cbf0b2692cf433323e919b011723e705 (patch)
tree64845d28d9dcd5c8077e1f7e3b77f3f5964c6632 /lib/include
parent682a426b16c8cc225ce952bf4aa1c7cc210dde71 (diff)
Remove last trace of server and client in API.
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/radsec/radsec.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index b89d47c..125d5cd 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -102,16 +102,16 @@ void rs_conn_set_callbacks(struct rs_connection *conn,
struct rs_conn_callbacks *cb);
void rs_conn_del_callbacks(struct rs_connection *conn);
struct rs_conn_callbacks *rs_conn_get_callbacks(struct rs_connection *conn);
-int rs_conn_select_server(struct rs_connection *conn, const char *name);
-int rs_conn_get_current_server(struct rs_connection *conn,
- const char *name,
- size_t buflen);
+int rs_conn_select_peer(struct rs_connection *conn, const char *name);
+int rs_conn_get_current_peer(struct rs_connection *conn,
+ const char *name,
+ size_t buflen);
int rs_conn_receive_packet(struct rs_connection *conn,
struct rs_packet *request,
struct rs_packet **pkt_out);
int rs_conn_fd(struct rs_connection *conn);
-/* Peers. */
+/* Peer -- client and server. */
int rs_peer_create(struct rs_connection *conn, struct rs_peer **peer_out);
int rs_peer_set_address(struct rs_peer *peer, const char *hostname,
const char *service);