diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-01-06 14:21:27 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-01-13 18:31:10 +0100 |
commit | 4f4d35e14b4dc35a8df0ba28d6bd26f9ce75f962 (patch) | |
tree | a2ca1cd21dec1939b54071d57f20c090db441608 /src/db/sysdb.h | |
parent | eab17959df71341073f946c533f59fc5e593b35c (diff) | |
download | sssd-4f4d35e14b4dc35a8df0ba28d6bd26f9ce75f962.tar.gz sssd-4f4d35e14b4dc35a8df0ba28d6bd26f9ce75f962.tar.xz sssd-4f4d35e14b4dc35a8df0ba28d6bd26f9ce75f962.zip |
SYSDB: Reduce code duplication in sysdb_gpo.c
Two places in sysdb_gpo.c were searching for the GPO result object while
the only difference was the attributes searched for. Remove this
duplication and make the search function static as it's not used outside
the module.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 9e33fee37..3fb18b9bb 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -1090,10 +1090,6 @@ errno_t sysdb_gpo_get_gpos(TALLOC_CTX *mem_ctx, #define SYSDB_TMPL_GPO_RESULT_BASE SYSDB_GPO_CONTAINER","SYSDB_DOM_BASE #define SYSDB_TMPL_GPO_RESULT "cn=%s,"SYSDB_TMPL_GPO_RESULT_BASE -errno_t sysdb_gpo_get_gpo_result_object(TALLOC_CTX *mem_ctx, - struct sss_domain_info *domain, - struct ldb_result **_result); - errno_t sysdb_gpo_delete_gpo_result_object(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain); |