summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-05 17:23:20 -0500
committerSimo Sorce <ssorce@redhat.com>2009-11-06 17:43:07 -0500
commit8628af2c666bdd073a447156cbd0cb889326b657 (patch)
tree4a3fa2c100308695fc5c33217e12d937ce5d7ea7 /server/providers/ldap/sdap_async.h
parent1ee2b5ee491eed2bce2df3606a7a570c7ebac8ce (diff)
downloadsssd-8628af2c666bdd073a447156cbd0cb889326b657.tar.gz
sssd-8628af2c666bdd073a447156cbd0cb889326b657.tar.xz
sssd-8628af2c666bdd073a447156cbd0cb889326b657.zip
Split async helpers in multiple files
The size of sdap_async.c was unmanageable. This patch splits it into a generic file with common infrastructure calls, a file that handles connection calls and a file for id related calls.
Diffstat (limited to 'server/providers/ldap/sdap_async.h')
-rw-r--r--server/providers/ldap/sdap_async.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h
index 955dce4f8..383a2fce6 100644
--- a/server/providers/ldap/sdap_async.h
+++ b/server/providers/ldap/sdap_async.h
@@ -19,6 +19,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _SDAP_ASYNC_H_
+#define _SDAP_ASYNC_H_
+
#include <talloc.h>
#include <tevent.h>
#include "providers/dp_backend.h"
@@ -112,3 +115,5 @@ struct tevent_req *sdap_get_generic_send(TALLOC_CTX *memctx,
int sdap_get_generic_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, size_t *reply_count,
struct sysdb_attrs ***reply_list);
+
+#endif /* _SDAP_ASYNC_H_ */