summaryrefslogtreecommitdiff
path: root/lib/radsec.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-28 23:20:17 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-28 23:20:17 +0200
commit7ef1fda097c5c96e201d50db2892d1c2354eb6d4 (patch)
tree9f27e58c5af4006f5d418ad0ce2ce0fd209c99ca /lib/radsec.c
parente981fbcf3909fbaba462c7b578f29fa67b3bc74b (diff)
WIP
Diffstat (limited to 'lib/radsec.c')
-rw-r--r--lib/radsec.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/lib/radsec.c b/lib/radsec.c
index e0c881a..309c305 100644
--- a/lib/radsec.c
+++ b/lib/radsec.c
@@ -65,12 +65,14 @@ void rs_context_destroy(struct rs_handle *ctx)
int rs_context_set_alloc_scheme(struct rs_handle *ctx, struct rs_alloc_scheme *scheme)
{
- return RSE_NOSYS;
+ return rs_ctx_err_push_fl (ctx, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_context_config_read(struct rs_handle *ctx, const char *config_file)
{
- return RSE_NOSYS;
+ return rs_ctx_err_push_fl (ctx, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_create(struct rs_handle *ctx, struct rs_connection **conn)
@@ -141,32 +143,38 @@ int rs_server_set_secret(struct rs_peer *server, const char *secret)
int rs_conn_add_listener(struct rs_connection *conn, rs_conn_type_t type, const char *host, int port)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_destroy(struct rs_connection *conn)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_set_eventbase(struct rs_connection *conn, struct event_base *eb)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_set_callbacks(struct rs_connection *conn, struct rs_conn_callbacks *cb)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_set_server(struct rs_connection *conn, const char *name)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
-int rs_conn_get_server(const struct rs_connection *conn, const char *name, size_t buflen)
+int rs_conn_get_current_server(struct rs_connection *conn, const char *name, size_t buflen)
{
- return RSE_NOSYS;
+ return rs_conn_err_push_fl (conn, RSE_NOSYS, __FILE__, __LINE__,
+ "%s: NYI", __func__);
}
int rs_conn_open(struct rs_connection *conn)