diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-02-24 11:32:24 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-02-24 11:34:38 +0100 |
commit | 48599a14144725dedc45f7558d814950791d069d (patch) | |
tree | f169d40a128459419181cb2d83efe1916a67f5a1 /src/lib/pol/cacep_simple_auth.h | |
parent | 41704c2379eda1124c5fc94d5589be6951e5b7ee (diff) | |
download | ouroboros-48599a14144725dedc45f7558d814950791d069d.tar.gz ouroboros-48599a14144725dedc45f7558d814950791d069d.zip |
Revise CACEP API
The information passed to CACEP is split between the information about
the connection and the information to be used during the
authentication exchange.
Diffstat (limited to 'src/lib/pol/cacep_simple_auth.h')
-rw-r--r-- | src/lib/pol/cacep_simple_auth.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/pol/cacep_simple_auth.h b/src/lib/pol/cacep_simple_auth.h index bbdbe9b9..31398a68 100644 --- a/src/lib/pol/cacep_simple_auth.h +++ b/src/lib/pol/cacep_simple_auth.h @@ -24,10 +24,12 @@ #ifndef OUROBOROS_LIB_CACEP_SIMPLE_AUTH_H #define OUROBOROS_LIB_CACEP_SIMPLE_AUTH_H -struct cacep_info * cacep_simple_auth_auth(int fd, - const struct cacep_info * info); +struct conn_info * cacep_simple_auth_auth(int fd, + const struct conn_info * info, + const void * auth); -struct cacep_info * cacep_simple_auth_auth_wait(int fd, - const struct cacep_info * info); +struct conn_info * cacep_simple_auth_auth_wait(int fd, + const struct conn_info * info, + const void * auth); #endif /* OUROBOROS_LIB_CACEP_SIMPLE_AUTH_H */ |