summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-01 17:12:35 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-01 17:12:35 -0400
commit8fd9aba6535dc5c5413aed497cd20e64fa703a83 (patch)
treeb0fe3ff4de145d631967b9e254b793a4b7cbc207 /src
parent373f0478bce52febe7eb336ebb05795a4e3f3fea (diff)
downloadslapi-nis-8fd9aba6535dc5c5413aed497cd20e64fa703a83.tar.gz
slapi-nis-8fd9aba6535dc5c5413aed497cd20e64fa703a83.tar.xz
slapi-nis-8fd9aba6535dc5c5413aed497cd20e64fa703a83.zip
- drop backend-specific header files
Diffstat (limited to 'src')
-rw-r--r--src/back-nis.h26
-rw-r--r--src/back-sch.h34
-rw-r--r--src/back-shr.h3
-rw-r--r--src/backend.h2
4 files changed, 5 insertions, 60 deletions
diff --git a/src/back-nis.h b/src/back-nis.h
deleted file mode 100644
index 1f9aa9c..0000000
--- a/src/back-nis.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright 2008 Red Hat, Inc.
- *
- * This Program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This Program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this Program; if not, write to the
- *
- * Free Software Foundation, Inc.
- * 59 Temple Place, Suite 330
- * Boston, MA 02111-1307 USA
- *
- */
-
-#ifndef back_nis_h
-#define back_nis_h
-struct plugin_state;
-struct slapi_pblock;
-#endif
diff --git a/src/back-sch.h b/src/back-sch.h
deleted file mode 100644
index a97fc18..0000000
--- a/src/back-sch.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright 2008 Red Hat, Inc.
- *
- * This Program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This Program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this Program; if not, write to the
- *
- * Free Software Foundation, Inc.
- * 59 Temple Place, Suite 330
- * Boston, MA 02111-1307 USA
- *
- */
-
-#ifndef back_nis_h
-#define back_nis_h
-struct plugin_state;
-struct slapi_pblock;
-int backend_read_master_name(struct plugin_state *state, char **master);
-void backend_free_master_name(struct plugin_state *state, char *master);
-void backend_startup(struct plugin_state *state);
-void backend_init(struct slapi_pblock *pb, struct plugin_state *state);
-void backend_get_map_config(struct plugin_state *state,
- const char *domain, const char *map,
- char ***bases, char **entry_filter);
-void backend_free_map_config(char **bases, char *entry_filter);
-#endif
diff --git a/src/back-shr.h b/src/back-shr.h
index 2471676..f341b9e 100644
--- a/src/back-shr.h
+++ b/src/back-shr.h
@@ -35,6 +35,9 @@ void backend_shr_add_strlist(char ***strlist, const char *item);
void backend_shr_startup(struct plugin_state *state, const char *set_filter);
void backend_shr_postop_init(Slapi_PBlock *pb, struct plugin_state *state);
+bool_t backend_shr_entry_is_a_set(struct plugin_state *state,
+ Slapi_PBlock *pb, Slapi_Entry *e,
+ const char *set_configuration_filter);
bool_t backend_shr_entry_matches(Slapi_PBlock *pb, Slapi_Entry *e,
const char *containing_ndn, int scope,
const char *check_filter);
diff --git a/src/backend.h b/src/backend.h
index 5924d78..d029c83 100644
--- a/src/backend.h
+++ b/src/backend.h
@@ -16,6 +16,8 @@ struct backend_shr_set_data {
/* Startup/initialization functions called through the map. */
void backend_startup(struct plugin_state *state);
void backend_init(struct slapi_pblock *pb, struct plugin_state *state);
+void backend_init_preop(struct slapi_pblock *pb, struct plugin_state *state);
+void backend_init_postop(struct slapi_pblock *pb, struct plugin_state *state);
/* Read the server's name. */
int backend_read_master_name(struct plugin_state *state, char **master);