summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb_search.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-04 10:28:09 -0500
committerSimo Sorce <ssorce@redhat.com>2009-03-04 10:28:09 -0500
commit3257f91e0f39601f36057bec2e0e6c8b5e061cc8 (patch)
tree2c41edce52c36fc4c8733c112b0cc6c82e398584 /server/db/sysdb_search.c
parent4636daa206028b0321014ebddb6b9670c805438a (diff)
downloadsssd-3257f91e0f39601f36057bec2e0e6c8b5e061cc8.tar.gz
sssd-3257f91e0f39601f36057bec2e0e6c8b5e061cc8.tar.xz
sssd-3257f91e0f39601f36057bec2e0e6c8b5e061cc8.zip
Improve sysdb
Add comments in header files to better explain interfaces and intended usage. Expose function to convert from ldb errors to errnos. Add sysdb_attrs helper to add a long integer as a value.
Diffstat (limited to 'server/db/sysdb_search.c')
-rw-r--r--server/db/sysdb_search.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/db/sysdb_search.c b/server/db/sysdb_search.c
index c5a85caca..ff18419e9 100644
--- a/server/db/sysdb_search.c
+++ b/server/db/sysdb_search.c
@@ -79,12 +79,6 @@ static struct sysdb_search_ctx *init_src_ctx(TALLOC_CTX *mem_ctx,
return sctx;
}
-int sysdb_error_to_errno(int ldberr)
-{
- /* fake it up for now, requires a mapping table */
- return EIO;
-}
-
static void request_ldberror(struct sysdb_search_ctx *sctx, int error)
{
sysdb_operation_done(sctx->req);