summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-09-21 16:55:21 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-06 14:19:37 +0200
commitd7d3ee1b8ab7a05129c83da8a185351d7c751c1c (patch)
treef2c2d9a2626791c412f661d08bed43c8eca69f99 /src/db/sysdb.h
parente4f6562e4043aa645088862d1cc657c3eff43c49 (diff)
downloadsssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.tar.gz
sssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.tar.xz
sssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.zip
SYSDB: move sysdb_get_real_name() from sysdb.c to sysdb_search.c
The sysdb.c should be reserved for utility and setup functions. Search functions belong to sysdb_search.c Keeping functions in specialized modules helps to maintain nice dependencies and in overall makes unit testing easier. Moreover, the function was not unit tested, which needed fixing. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 81b39252c..2c5e8316f 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -329,7 +329,7 @@ errno_t sysdb_attrs_primary_name_list(struct sysdb_ctx *sysdb,
char ***name_list);
errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
- const char *name,
+ const char *name_or_upn,
const char **_cname);
errno_t sysdb_msg2attrs(TALLOC_CTX *mem_ctx, size_t count,