From c22c50c2fb9bc962fd11a2c9924481485faae093 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 12 Jan 2009 15:59:53 -0500 Subject: Regroup database rleated functions under db and rename everything with the sysdb suffix. --- server/providers/dp_backend.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'server/providers/dp_backend.h') diff --git a/server/providers/dp_backend.h b/server/providers/dp_backend.h index 1ad31d5e..219df957 100644 --- a/server/providers/dp_backend.h +++ b/server/providers/dp_backend.h @@ -23,13 +23,14 @@ #define __DP_BACKEND_H__ #include "providers/data_provider.h" +#include "db/sysdb.h" struct be_mod_ops; struct be_ctx { struct event_context *ev; struct confdb_ctx *cdb; - struct ldb_context *ldb; + struct sysdb_ctx *sysdb; struct service_sbus_ctx *ss_ctx; struct service_sbus_ctx *dp_ctx; const char *name; @@ -47,13 +48,4 @@ struct be_mod_ops { int filter_type, char *filter_value); }; -int dp_be_store_account_posix(struct be_ctx *ctx, - char *name, char *pwd, - uint64_t uid, uint64_t gid, - char *gecos, char *homedir, char *shell); -int dp_be_remove_account_posix(struct be_ctx *ctx, char *name); -int dp_be_remove_account_posix_by_uid(struct be_ctx *ctx, uid_t uid); - -int dp_be_cachedb_init(struct be_ctx *ctx); - #endif /* __DP_BACKEND_H___ */ -- cgit