summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-08-15 13:24:08 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-21 12:12:35 +0200
commitee0a1b3f94846fb19fbe3b72304d7ea2c989669c (patch)
treea95e70958216b0045c0cef4b1f9465046fba28f5 /src/db/sysdb.h
parent7d7e514d42c2c90071d09a272a13250491487bcb (diff)
downloadsssd-ee0a1b3f94846fb19fbe3b72304d7ea2c989669c.tar.gz
sssd-ee0a1b3f94846fb19fbe3b72304d7ea2c989669c.tar.xz
sssd-ee0a1b3f94846fb19fbe3b72304d7ea2c989669c.zip
SYSDB: Make sysdb_attrs_get_el_int() public
Also rename it to sysdb_attrs_get_el_ext()
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 7f2e41f9d..90ec551c8 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -196,6 +196,8 @@ int sysdb_attrs_add_time_t(struct sysdb_attrs *attrs,
const char *name, time_t value);
int sysdb_attrs_get_el(struct sysdb_attrs *attrs, const char *name,
struct ldb_message_element **el);
+int sysdb_attrs_get_el_ext(struct sysdb_attrs *attrs, const char *name,
+ bool alloc, struct ldb_message_element **el);
int sysdb_attrs_steal_string(struct sysdb_attrs *attrs,
const char *name, char *str);
int sysdb_attrs_get_string(struct sysdb_attrs *attrs, const char *name,