diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-09-16 15:31:02 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-09-22 13:45:56 +0200 |
commit | cffe3defa3cb5011efc92a7773fe113a1e69774f (patch) | |
tree | b17aaee6ae4a42d2d6ec9c2ed83564c0be920237 /src/tests/common.h | |
parent | 67625b1b4f856510bf4e169649b3fb30c2c14152 (diff) | |
download | sssd-cffe3defa3cb5011efc92a7773fe113a1e69774f.tar.gz sssd-cffe3defa3cb5011efc92a7773fe113a1e69774f.tar.xz sssd-cffe3defa3cb5011efc92a7773fe113a1e69774f.zip |
tests: Move named_domain from test_utils to common test code
This handy function should be reused by other parts of the code.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests/common.h')
-rw-r--r-- | src/tests/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/common.h b/src/tests/common.h index 1c6de2c3d..c0ceebfbf 100644 --- a/src/tests/common.h +++ b/src/tests/common.h @@ -134,4 +134,8 @@ test_dbus_call_sync(DBusConnection *conn, int first_arg_type, ...); +struct sss_domain_info *named_domain(TALLOC_CTX *mem_ctx, + const char *name, + struct sss_domain_info *parent); + #endif /* !__TESTS_COMMON_H__ */ |