From b231c33efa53f7bd227c0a74bfd077a5afe9b215 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Tue, 8 Jul 2003 20:07:07 +0000 Subject: [PATCH] export glueing code --- servers/slapd/proto-slap.h | 3 +++ servers/slapd/syncrepl.c | 6 +----- servers/slapd/tools/mimic.c | 7 +++++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index ecd2b1302f..a630856930 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -1157,6 +1157,9 @@ LDAP_SLAPD_F (void) syncrepl_updateCookie LDAP_P(( syncinfo_t *, LDAP *, Operation *, struct berval *, struct berval * )); LDAP_SLAPD_F (char **) str2clist LDAP_P(( char ***, char *, const char * )); + +LDAP_SLAPD_F (void) syncrepl_add_glue LDAP_P(( syncinfo_t *, LDAP *, Operation*, Entry*, + Modifications*, int, struct berval*, struct berval* )); #endif LDAP_END_DECL diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 18f6534602..17cc79f083 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -40,10 +40,6 @@ static void syncrepl_del_nonpresent( syncinfo_t *, LDAP *, Operation * ); -static void -syncrepl_add_glue( syncinfo_t *, LDAP *, Operation*, Entry*, Modifications*, - int, struct berval*, struct berval* ); - static int slap_mods_check_syncrepl( syncinfo_t *, Operation *, Modifications **, const char **, char *, size_t, void *ctx ); @@ -1115,7 +1111,7 @@ syncrepl_del_nonpresent( } -static void +void syncrepl_add_glue( syncinfo_t *si, LDAP *ld, diff --git a/servers/slapd/tools/mimic.c b/servers/slapd/tools/mimic.c index 16b5d4b3d5..09c204f6a1 100644 --- a/servers/slapd/tools/mimic.c +++ b/servers/slapd/tools/mimic.c @@ -268,4 +268,11 @@ char** str2clist( char ***out, char *in, const char *brkstr ) { return NULL; } + +void syncrepl_add_glue( syncinfo_t *si, LDAP *ld, Operation *op, Entry *e, + Modifications *modlist, int syncstate, struct berval* syncUUID, + struct berval* syncCookie ) +{ + return; +} #endif -- 2.39.5