2 * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 * (C) Copyright IBM Corp. 1997,2002
7 * Redistribution and use in source and binary forms are permitted
8 * provided that this notice is preserved and that due credit is
9 * given to IBM Corporation. This software is provided ``as is''
10 * without express or implied warranty.
17 #define OBJECTCLASS "objectclass"
19 #define CHANGE_TIME "changetime"
20 #define CHANGE_TYPE "changetype"
21 #define CHANGE_TARGETDN "targetdn"
22 #define CHANGES "changes"
23 #define CHANGE_NUMBER "changenumber"
25 * FIXME: I get complaints like "ADD" being redefined - first definition
26 * being in "/usr/include/arpa/nameser.h:552"
31 #define DEL "delete: "
33 #define REPLACE "replace: "
36 #define MODRDN "modrdn"
37 #define CHANGE_LOGENTRY "changelogentry"
38 #define IBM_CHANGE_LOGENTRY "ibm-changelog"
39 #define CL_NEWRDN "newrdn"
40 #define CL_DELRDN "deleteoldrdn"
41 #define CHANGE_INITIATOR "ibm-changeInitiatorsName"
43 void slapi_register_changelog_suffix(char *suffix);
44 char **slapi_get_changelog_suffixes();
45 void slapi_update_changelog_counters(long curNum, long numEntries);
46 char *slapi_get_cl_firstNum();
47 char *slapi_get_cl_lastNum();
48 int slapi_add_to_changelog(Slapi_Entry *ent, char *suffix, char *chNum, Operation* op);
49 int slapi_delete_changelog(char *dn, char *suffix, char *chNum, Operation* op);
50 int slapi_modify_changelog(char *dn,LDAPMod *mods,char *suffix, char *chNum, Operation* op);
51 int slapi_modifyrdn_changelog(char *olddn, char *newRdn, int delRdn, char *suffix, char *chNum, Operation* op);
52 Backend * slapi_cl_get_be(char *dn);
54 #endif /* _SLAPI_CL_H */