summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-10-15 09:40:56 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-15 09:03:07 -0400
commit8c08a5e11f19cfe39695ee80793b72e2034c5aa4 (patch)
tree2945f81abcc345908fa2dc98c49d8fdcef3a838a /src/db/sysdb.h
parent6a195bd7126020d42f89a6a97c56c15f47debb2e (diff)
downloadsssd-8c08a5e11f19cfe39695ee80793b72e2034c5aa4.tar.gz
sssd-8c08a5e11f19cfe39695ee80793b72e2034c5aa4.tar.xz
sssd-8c08a5e11f19cfe39695ee80793b72e2034c5aa4.zip
Add sysdb_attrs_get_ulong utility function
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 60c0ae8f0..76e1715d9 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -196,6 +196,8 @@ int sysdb_attrs_get_string(struct sysdb_attrs *attrs, const char *name,
const char **string);
int sysdb_attrs_get_string_array(struct sysdb_attrs *attrs, const char *name,
TALLOC_CTX *mem_ctx, const char ***string);
+int sysdb_attrs_get_ulong(struct sysdb_attrs *attrs, const char *name,
+ unsigned long *value);
int sysdb_attrs_replace_name(struct sysdb_attrs *attrs, const char *oldname,
const char *newname);