summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-28 11:35:42 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-31 09:37:40 -0500
commit48b6eab1b369107af0d568e016a87637b7affc55 (patch)
treee159a3936c773fa5bbecbeaeb4a546ee772fd2ca /src/db/sysdb.h
parente299638926171e0e92a36122aeff6611cd52418d (diff)
downloadsssd_unused-48b6eab1b369107af0d568e016a87637b7affc55.tar.gz
sssd_unused-48b6eab1b369107af0d568e016a87637b7affc55.tar.xz
sssd_unused-48b6eab1b369107af0d568e016a87637b7affc55.zip
SYSDB: Add sysdb_attrs_get_uint16_t
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 5863afc9..31b988eb 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -219,6 +219,8 @@ int sysdb_attrs_get_string_array(struct sysdb_attrs *attrs, const char *name,
TALLOC_CTX *mem_ctx, const char ***string);
errno_t sysdb_attrs_get_bool(struct sysdb_attrs *attrs, const char *name,
bool *value);
+int sysdb_attrs_get_uint16_t(struct sysdb_attrs *attrs, const char *name,
+ uint16_t *value);
int sysdb_attrs_get_uint32_t(struct sysdb_attrs *attrs, const char *name,
uint32_t *value);