summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-04 21:15:34 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-23 08:31:33 -0500
commit8941d820e05e6a93225b45021dcc314a004f20bc (patch)
tree3d264648233b3dc6a99eff369e885e90d055f764 /src/db/sysdb_ops.c
parenteac695ff9189fcfcea0f233a01abf582ff685c30 (diff)
downloadsssd-8941d820e05e6a93225b45021dcc314a004f20bc.tar.gz
sssd-8941d820e05e6a93225b45021dcc314a004f20bc.tar.xz
sssd-8941d820e05e6a93225b45021dcc314a004f20bc.zip
SYSDB: Move add_string and add_ulong to sysdb_private.h
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r--src/db/sysdb_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 937024514..4c4bc5ce7 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -24,8 +24,8 @@
#include "util/crypto/sss_crypto.h"
#include <time.h>
-static int add_string(struct ldb_message *msg, int flags,
- const char *attr, const char *value)
+int add_string(struct ldb_message *msg, int flags,
+ const char *attr, const char *value)
{
int ret;
@@ -37,8 +37,8 @@ static int add_string(struct ldb_message *msg, int flags,
return ENOMEM;
}
-static int add_ulong(struct ldb_message *msg, int flags,
- const char *attr, unsigned long value)
+int add_ulong(struct ldb_message *msg, int flags,
+ const char *attr, unsigned long value)
{
int ret;