Revamping for listeners.
[libradsec.git] / lib / err.h
index 6615ac8..de5851f 100644 (file)
--- a/lib/err.h
+++ b/lib/err.h
@@ -1,9 +1,10 @@
-/* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See LICENSE for licensing information.  */
+/* Copyright 2011,2013 NORDUnet A/S. All rights reserved.
+   See LICENSE for licensing information. */
 
 struct rs_error *err_create (unsigned int code,
                             const char *file,
                             int line,
                             const char *fmt,
                             ...);
-int err_conn_push_err (struct rs_connection *conn, struct rs_error *err);
+int err_connbase_push_err (struct rs_conn_base *, struct rs_error *);
+int rs_err_connbase_push (struct rs_conn_base *, int, const char *, ...);