]> git.sur5r.net Git - openldap/commitdiff
export glueing code
authorJong Hyuk Choi <jongchoi@openldap.org>
Tue, 8 Jul 2003 20:07:07 +0000 (20:07 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Tue, 8 Jul 2003 20:07:07 +0000 (20:07 +0000)
servers/slapd/proto-slap.h
servers/slapd/syncrepl.c
servers/slapd/tools/mimic.c

index ecd2b1302fad12efe1455e6110edf94c88c2610e..a630856930169c4767cc6b17f02f245127aed47f 100644 (file)
@@ -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
index 18f6534602f9bbe0bf9187cae16f45122ef5e5eb..17cc79f083a8316093cd31f60d85cf7823dc8309 100644 (file)
 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,
index 16b5d4b3d56c2fca3295acb2ff7f2258b4e2be18..09c204f6a130ef8b9606895cb9e814a24a018930 100644 (file)
@@ -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