version 1.2, 2004/08/18 15:14:22
|
version 1.2.2.3, 2006/01/03 22:16:24
|
Line 1
|
Line 1
|
/* collect.c - Demonstration of overlay code */ |
/* collect.c - Demonstration of overlay code */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/collect.c,v 1.1 2004/03/20 20:54:31 hyc Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/collect.c,v 1.2.2.2 2005/11/26 23:54:51 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 2003-2004 The OpenLDAP Foundation. |
* Copyright 2003-2006 The OpenLDAP Foundation. |
* Portions Copyright 2003 Howard Chu. |
* Portions Copyright 2003 Howard Chu. |
* All rights reserved. |
* All rights reserved. |
* |
* |
Line 153 static int collect_config(
|
Line 153 static int collect_config(
|
|
|
static slap_overinst collect; |
static slap_overinst collect; |
|
|
int collect_init() { |
int collect_initialize() { |
collect.on_bi.bi_type = "collect"; |
collect.on_bi.bi_type = "collect"; |
collect.on_bi.bi_db_config = collect_config; |
collect.on_bi.bi_db_config = collect_config; |
collect.on_response = collect_response; |
collect.on_response = collect_response; |
Line 163 int collect_init() {
|
Line 163 int collect_init() {
|
|
|
#if SLAPD_OVER_COLLECT == SLAPD_MOD_DYNAMIC |
#if SLAPD_OVER_COLLECT == SLAPD_MOD_DYNAMIC |
int init_module(int argc, char *argv[]) { |
int init_module(int argc, char *argv[]) { |
return collect_init(); |
return collect_initialize(); |
} |
} |
#endif |
#endif |
|
|