summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-11-04 12:36:25 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-04 10:51:08 -0500
commit980851d1848562405d9047b499f7faf489d9031a (patch)
tree576a4975003dde455cde293bc8339d2dda6145da /server/db/sysdb.h
parent0efb1696699304475847ba8c190b42000b639463 (diff)
downloadsssd-980851d1848562405d9047b499f7faf489d9031a.tar.gz
sssd-980851d1848562405d9047b499f7faf489d9031a.tar.xz
sssd-980851d1848562405d9047b499f7faf489d9031a.zip
Add sysdb_attrs_replace_name to sysdb API.
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index 642cc30a5..0b4742211 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -174,6 +174,9 @@ int sysdb_attrs_get_el(struct sysdb_attrs *attrs, const char *name,
int sysdb_attrs_steal_string(struct sysdb_attrs *attrs,
const char *name, char *str);
+int sysdb_attrs_replace_name(struct sysdb_attrs *attrs, const char *oldname,
+ const char *newname);
+
/* convert an ldb error into an errno error */
int sysdb_error_to_errno(int ldberr);