.nf
.B #include <ldap_sync.h>
.LP
-.BI "int ldap_sync_init(ldap_sync_t *" ls ", int " mode ", int " cancel ");"
+.BI "int ldap_sync_init(ldap_sync_t *" ls ", int " mode ");"
.LP
-.BI "int ldap_sync_init_refresh_only(ldap_sync_t *" ls ", int " cancel ");"
+.BI "int ldap_sync_init_refresh_only(ldap_sync_t *" ls ");"
.LP
-.BI "int ldap_sync_init_refresh_and_persist(ldap_sync_t *" ls ", int " cancel ");"
+.BI "int ldap_sync_init_refresh_and_persist(ldap_sync_t *" ls ");"
.LP
.BI "int ldap_sync_poll(ldap_sync_t *" ls ");"
.LP
the client should start polling.
Except for the
.BR LDAP_SYNC_CAPI_PRESENTS_IDSET
-and LDAP_SYNC_CAPI_DELETES_IDSET
+and
+.BR LDAP_SYNC_CAPI_DELETES_IDSET
cases,
.BR syncUUIDs
is NULL.
After that, the caller is responsible for setting up the
connection (member
.BR ls_ld ),
-evetually setting up transport security (TLS),
+eventually setting up transport security (TLS),
for binding and any other initialization.
The caller must also fill all the documented search-related fields
of the