summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/db/sysdb.c4
-rw-r--r--server/db/sysdb.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c
index bb39c064..1951a9b3 100644
--- a/server/db/sysdb.c
+++ b/server/db/sysdb.c
@@ -52,8 +52,8 @@ struct sysdb_attrs *sysdb_new_attrs(TALLOC_CTX *memctx)
return talloc_zero(memctx, struct sysdb_attrs);
}
-static int sysdb_attrs_get_el(struct sysdb_attrs *attrs, const char *name,
- struct ldb_message_element **el)
+int sysdb_attrs_get_el(struct sysdb_attrs *attrs, const char *name,
+ struct ldb_message_element **el)
{
struct ldb_message_element *e = NULL;
int i;
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index 2696dfaf..35a17ddd 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -149,6 +149,8 @@ int sysdb_attrs_add_uint32(struct sysdb_attrs *attrs,
const char *name, uint32_t value);
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);
/* convert an ldb error into an errno error */
int sysdb_error_to_errno(int ldberr);