diff options
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index 7697dbb5..7026f0b9 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -585,6 +585,8 @@ errno_t sssd_domain_init(TALLOC_CTX *mem_ctx, const char *db_path, struct sss_domain_info **_domain); +#define IS_SUBDOMAIN(dom) ((dom)->parent != NULL) + /* from util_lock.c */ errno_t sss_br_lock_file(int fd, size_t start, size_t len, int num_tries, useconds_t wait); |