From 1518b84c1a1adb1fce4c28da7bfce6bf69064016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 20 Nov 2015 18:54:54 +0100 Subject: [PATCH] Remove LIBSASL_API to sasldb It's build as a static library, and thus do not use exported symbols. --- sasldb/sasldb.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sasldb/sasldb.h b/sasldb/sasldb.h index 0cef3b44..06183ebd 100644 --- a/sasldb/sasldb.h +++ b/sasldb/sasldb.h @@ -73,7 +73,7 @@ int _sasldb_putdata(const sasl_utils_t *utils, const char *data, size_t data_len); /* Should be run before any db access is attempted */ -LIBSASL_API int _sasl_check_db(const sasl_utils_t *utils, +int _sasl_check_db(const sasl_utils_t *utils, sasl_conn_t *conn); /* These allow iterating through the keys of the database */ @@ -84,15 +84,15 @@ typedef int (* sasldb_list_callback_t) (const char *authid, const char *property, void *rock); -LIBSASL_API sasldb_handle _sasldb_getkeyhandle(const sasl_utils_t *utils, +sasldb_handle _sasldb_getkeyhandle(const sasl_utils_t *utils, sasl_conn_t *conn); -LIBSASL_API int _sasldb_getnextkey(const sasl_utils_t *utils, +int _sasldb_getnextkey(const sasl_utils_t *utils, sasldb_handle handle, char *out, const size_t max_out, size_t *out_len); -LIBSASL_API int _sasldb_releasekeyhandle(const sasl_utils_t *utils, +int _sasldb_releasekeyhandle(const sasl_utils_t *utils, sasldb_handle handle); -LIBSASL_API int _sasldb_listusers(const sasl_utils_t *utils, +int _sasldb_listusers(const sasl_utils_t *utils, sasl_conn_t *context, sasldb_list_callback_t callback, void *callback_rock);