1 /* overlays.c - Static overlay framework */
2 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/overlays.c,v 1.24.2.3 2008/02/11 23:26:48 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2003-2008 The OpenLDAP Foundation.
6 * Copyright 2003 by Howard Chu.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted only as authorized by the OpenLDAP
13 * A copy of this license is available in the file LICENSE in the
14 * top-level directory of the distribution or, alternatively, at
15 * <http://www.OpenLDAP.org/license.html>.
18 * This work was initially developed by Howard Chu for inclusion in
26 extern OverlayInit slap_oinfo
[];
33 for ( i
= 0 ; slap_oinfo
[i
].ov_type
; i
++ ) {
34 rc
= slap_oinfo
[i
].ov_init();
36 Debug( LDAP_DEBUG_ANY
,
37 "%s overlay setup failed, err %d\n",
38 slap_oinfo
[i
].ov_type
, rc
, 0 );