for o in ${STATIC_OVERLAYS}; do
oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'`
cat >> $OVERLAYSC << ENDX
-extern BI_init ${oo}_initialize;
+extern OV_init ${oo}_initialize;
ENDX
done
fi
for o in ${STATIC_OVERLAYS}; do
oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'`
cat >> $OVERLAYSC << ENDX
-extern BI_init ${oo}_initialize;
+extern OV_init ${oo}_initialize;
ENDX
done
fi
return 0; \
}
-typedef int (*OV_init)(void);
+typedef int (OV_init)(void);
typedef struct slap_oinit_t {
const char *ov_type;
- OV_init ov_init;
+ OV_init *ov_init;
} OverlayInit;
LDAP_END_DECL