diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-04 10:28:09 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-04 10:28:09 -0500 |
commit | 3257f91e0f39601f36057bec2e0e6c8b5e061cc8 (patch) | |
tree | 2c41edce52c36fc4c8733c112b0cc6c82e398584 /server/db/sysdb_search.c | |
parent | 4636daa206028b0321014ebddb6b9670c805438a (diff) | |
download | sssd-3257f91e0f39601f36057bec2e0e6c8b5e061cc8.tar.gz sssd-3257f91e0f39601f36057bec2e0e6c8b5e061cc8.tar.bz2 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.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/server/db/sysdb_search.c b/server/db/sysdb_search.c index c5a85cac..ff18419e 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); |