summaryrefslogtreecommitdiff
path: root/lib/include/radsec/request.h
blob: 4a540bdaef10d990b22c00b6c28cc0a4b29f9969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* See the file COPYING for licensing information.  */

struct rs_request;

#if defined (__cplusplus)
extern "C" {
#endif

int rs_request_create(struct rs_connection *conn, struct rs_request **req_out);
void rs_request_add_reqpkt(struct rs_request *req, struct rs_packet *reqpkt);

int rs_request_create_authn(struct rs_connection *conn,
			    struct rs_request **req_out,
			    const char *user_name,
			    const char *user_pw);
int rs_request_send(struct rs_request *request, struct rs_packet **resp_msg);
void rs_request_destroy(struct rs_request *request);

#if defined (__cplusplus)
}
#endif