diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-22 10:33:26 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-27 14:44:12 -0400 |
commit | 0507838f0194b37271c52acab1bdfa73af3929da (patch) | |
tree | ffe95860e9247de7df653b16d91eb9b8d70a7ff7 | |
parent | 8b420102e0d91edb2acbd2e8a40fc7d9995de2ba (diff) | |
download | sssd_unused-0507838f0194b37271c52acab1bdfa73af3929da.tar.gz sssd_unused-0507838f0194b37271c52acab1bdfa73af3929da.tar.xz sssd_unused-0507838f0194b37271c52acab1bdfa73af3929da.zip |
Make data provider id_callback public
-rw-r--r-- | src/providers/data_provider.h | 1 | ||||
-rw-r--r-- | src/providers/dp_auth_util.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index 951b47ab..4bea0317 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -207,6 +207,7 @@ bool dp_unpack_pam_response(DBusMessage *msg, struct pam_data *pd, int dp_common_send_id(struct sbus_connection *conn, uint16_t version, const char *name); +void dp_id_callback(DBusPendingCall *pending, void *ptr); /* from dp_sbus.c */ int dp_get_sbus_address(TALLOC_CTX *mem_ctx, diff --git a/src/providers/dp_auth_util.c b/src/providers/dp_auth_util.c index e09a6924..97690057 100644 --- a/src/providers/dp_auth_util.c +++ b/src/providers/dp_auth_util.c @@ -236,7 +236,7 @@ bool dp_unpack_pam_response(DBusMessage *msg, struct pam_data *pd, DBusError *db return true; } -static void id_callback(DBusPendingCall *pending, void *ptr) +void dp_id_callback(DBusPendingCall *pending, void *ptr) { DBusMessage *reply; DBusError dbus_error; @@ -327,7 +327,7 @@ int dp_common_send_id(struct sbus_connection *conn, uint16_t version, return EIO; } - retval = sbus_conn_send(conn, msg, 30000, id_callback, NULL, NULL); + retval = sbus_conn_send(conn, msg, 30000, dp_id_callback, NULL, NULL); dbus_message_unref(msg); return retval; |