summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-10-11 10:41:58 +0200
committerLinus Nordberg <linus@nordu.net>2010-10-11 10:41:58 +0200
commitff55882798b6c482faec920d30a4ffdc10b306f7 (patch)
tree2bc7e2b5665f281b98bff37e2805f07616e3a55b /lib/include/radsec/radsec.h
parent391369cb26363980cbe37d30c41d48a03dd46ef5 (diff)
Request object implementation and bug fixes by Luke Howard.
Diffstat (limited to 'lib/include/radsec/radsec.h')
-rw-r--r--lib/include/radsec/radsec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index c8b43bf..db1e1a7 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -17,6 +17,7 @@ enum rs_err_code {
RSE_EVENT = 9,
RSE_CONNERR = 10,
RSE_CONFIG = 11,
+ RSE_BADAUTH = 12,
RSE_SOME_ERROR = 21,
};
@@ -118,6 +119,7 @@ int rs_packet_send(struct rs_packet *pkt, void *data);
struct radius_packet *rs_packet_frpkt(struct rs_packet *pkt);
/* Attribute. */
+/* FIXME: Replace (or complement) with a wrapper for paircreate(). */
int rs_attr_create(struct rs_connection *conn, struct rs_attr **attr,
const char *type, const char *val);
void rs_attr_destroy(struct rs_attr *attr);