From ee0a1b3f94846fb19fbe3b72304d7ea2c989669c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 15 Aug 2012 13:24:08 -0400 Subject: SYSDB: Make sysdb_attrs_get_el_int() public Also rename it to sysdb_attrs_get_el_ext() --- src/db/sysdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/db/sysdb.h') 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, -- cgit