diff options
author | Linus Nordberg <linus@nordu.net> | 2011-02-28 11:46:14 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-02-28 11:46:14 +0100 |
commit | 9e601f905d91f55c7a36f15fe5998d694c38444f (patch) | |
tree | d01ef4bbdafa4185517a4ca86cce2ac30213a7f4 /lib/include | |
parent | 2befa02ee876e83a8f8849388e61250e74d75eaf (diff) |
API changes: rs_client* --> rs_peer.
Move peer (former server) things to new file peer.c.
Update examples.
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/radsec/radsec.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h index 5d08617..d398e8d 100644 --- a/lib/include/radsec/radsec.h +++ b/lib/include/radsec/radsec.h @@ -111,13 +111,13 @@ int rs_conn_receive_packet(struct rs_connection *conn, struct rs_packet **pkt_out); int rs_conn_fd(struct rs_connection *conn); -/* Client and server. */ -int rs_server_create(struct rs_connection *conn, struct rs_peer **server); -int rs_server_set_address(struct rs_peer *server, const char *hostname, - const char *service); -int rs_server_set_secret(struct rs_peer *server, const char *secret); -void rs_server_set_timeout(struct rs_peer *server, int timeout); -void rs_server_set_retries(struct rs_peer *server, int retries); +/* Peers. */ +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); +int rs_peer_set_secret(struct rs_peer *peer, const char *secret); +void rs_peer_set_timeout(struct rs_peer *peer, int timeout); +void rs_peer_set_retries(struct rs_peer *peer, int retries); /* Packet. */ int rs_packet_create(struct rs_connection *conn, struct rs_packet **pkt_out); |