summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-01-12 11:31:24 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-01-17 07:59:54 -0500
commita530a96721d8106a6839b6b643b0abc5d7a7b9e0 (patch)
treed53aaff43201c62d8d97db5509b4506e6f3a2746 /src/providers/ldap/sdap_async.h
parentcbe7c54c2caf718bdea7ca6660ba8193d759d2d5 (diff)
downloadsssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.tar.gz
sssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.tar.xz
sssd-a530a96721d8106a6839b6b643b0abc5d7a7b9e0.zip
Add timeout parameter to sdap_get_generic_send()
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r--src/providers/ldap/sdap_async.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h
index 10d0c3079..5e3771439 100644
--- a/src/providers/ldap/sdap_async.h
+++ b/src/providers/ldap/sdap_async.h
@@ -44,7 +44,8 @@ struct tevent_req *sdap_get_users_send(TALLOC_CTX *memctx,
struct sdap_options *opts,
struct sdap_handle *sh,
const char **attrs,
- const char *wildcard);
+ const char *wildcard,
+ int timeout);
int sdap_get_users_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, char **timestamp);
@@ -55,7 +56,8 @@ struct tevent_req *sdap_get_groups_send(TALLOC_CTX *memctx,
struct sdap_options *opts,
struct sdap_handle *sh,
const char **attrs,
- const char *wildcard);
+ const char *wildcard,
+ int timeout);
int sdap_get_groups_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, char **timestamp);
@@ -66,7 +68,8 @@ struct tevent_req *sdap_get_netgroups_send(TALLOC_CTX *memctx,
struct sdap_options *opts,
struct sdap_handle *sh,
const char **attrs,
- const char *wildcard);
+ const char *wildcard,
+ int timeout);
int sdap_get_netgroups_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, char **timestamp,
size_t *reply_count,
@@ -142,7 +145,8 @@ struct tevent_req *sdap_get_generic_send(TALLOC_CTX *memctx,
const char *filter,
const char **attrs,
struct sdap_attr_map *map,
- int map_num_attrs);
+ int map_num_attrs,
+ int timeout);
int sdap_get_generic_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, size_t *reply_count,
struct sysdb_attrs ***reply_list);