-#define SLAPI_PLUGIN_EXT_OP_FN 300
-#define SLAPI_PLUGIN_EXT_OP_OIDLIST 301
-#define SLAPI_PLUGIN_PRE_BIND_FN 401
-#define SLAPI_PLUGIN_PRE_UNBIND_FN 402
-#define SLAPI_PLUGIN_PRE_SEARCH_FN 403
-#define SLAPI_PLUGIN_PRE_COMPARE_FN 404
-#define SLAPI_PLUGIN_PRE_MODIFY_FN 405
-#define SLAPI_PLUGIN_PRE_MODRDN_FN 406
-#define SLAPI_PLUGIN_PRE_ADD_FN 407
-#define SLAPI_PLUGIN_PRE_DELETE_FN 408
-#define SLAPI_PLUGIN_PRE_ABANDON_FN 409
-#define SLAPI_PLUGIN_PRE_ENTRY_FN 410
-#define SLAPI_PLUGIN_PRE_REFERRAL_FN 411
-#define SLAPI_PLUGIN_PRE_RESULT_FN 412
-#define SLAPI_PLUGIN_POST_BIND_FN 501
-#define SLAPI_PLUGIN_POST_UNBIND_FN 502
-#define SLAPI_PLUGIN_POST_SEARCH_FN 503
-#define SLAPI_PLUGIN_POST_COMPARE_FN 504
-#define SLAPI_PLUGIN_POST_MODIFY_FN 505
-#define SLAPI_PLUGIN_POST_MODRDN_FN 506
-#define SLAPI_PLUGIN_POST_ADD_FN 507
-#define SLAPI_PLUGIN_POST_DELETE_FN 508
-#define SLAPI_PLUGIN_POST_ABANDON_FN 509
-#define SLAPI_PLUGIN_POST_ENTRY_FN 510
-#define SLAPI_PLUGIN_POST_REFERRAL_FN 511
-#define SLAPI_PLUGIN_POST_RESULT_FN 512
-
-#define SLAPI_OPERATION_TYPE 590
-
-#define SLAPI_PLUGIN_MR_FILTER_CREATE_FN 600
-#define SLAPI_PLUGIN_MR_INDEXER_CREATE_FN 601
-#define SLAPI_PLUGIN_MR_FILTER_MATCH_FN 602
-#define SLAPI_PLUGIN_MR_FILTER_INDEX_FN 603
-#define SLAPI_PLUGIN_MR_FILTER_RESET_FN 604
-#define SLAPI_PLUGIN_MR_INDEX_FN 605
-#define SLAPI_PLUGIN_MR_OID 610
-#define SLAPI_PLUGIN_MR_TYPE 611
-#define SLAPI_PLUGIN_MR_VALUE 612
-#define SLAPI_PLUGIN_MR_VALUES 613
-#define SLAPI_PLUGIN_MR_KEYS 614
-#define SLAPI_PLUGIN_MR_FILTER_REUSABLE 615
-#define SLAPI_PLUGIN_MR_QUERY_OPERATOR 616
-#define SLAPI_PLUGIN_MR_USAGE 617
-
-#define SLAPI_OP_LESS 1
-#define SLAPI_OP_LESS_OR_EQUAL 2
-#define SLAPI_OP_EQUAL 3
-#define SLAPI_OP_GREATER_OR_EQUAL 4
-#define SLAPI_OP_GREATER 5
-#define SLAPI_OP_SUBSTRING 6
-
-#define SLAPI_PLUGIN_MR_USAGE_INDEX 0
-#define SLAPI_PLUGIN_MR_USAGE_SORT 1
-
-#define SLAPI_PLUGIN_SYNTAX_FILTER_AVA 700
-#define SLAPI_PLUGIN_SYNTAX_FILTER_SUB 701
-#define SLAPI_PLUGIN_SYNTAX_VALUES2KEYS 702
-#define SLAPI_PLUGIN_SYNTAX_ASSERTION2KEYS_AVA 703
-#define SLAPI_PLUGIN_SYNTAX_ASSERTION2KEYS_SUB 704
-#define SLAPI_PLUGIN_SYNTAX_NAMES 705
-#define SLAPI_PLUGIN_SYNTAX_OID 706
-#define SLAPI_PLUGIN_SYNTAX_FLAGS 707
-#define SLAPI_PLUGIN_SYNTAX_COMPARE 708
-
-#define SLAPI_OPERATION_AUTHTYPE 741
-#define SLAPI_OPERATION_ID 742
-#define SLAPI_CONN_CERT 743
-#define SLAPI_CONN_AUTHMETHOD 746
-
-#define SLAPI_RESULT_CODE 881
-#define SLAPI_RESULT_TEXT 882
-#define SLAPI_RESULT_MATCHED 883
-
-/* Virtual attribute service provider */
-#define SLAPI_PLUGIN_OPATTR_COALESCE_DATA 900
-/* Pointer to a Slapi_AttrSet */
-#define SLAPI_PLUGIN_OPATTR_COALESCE_FN 901
-
-#define SLAPI_PLUGIN_SYNTAX_FLAG_ORKEYS 1
-#define SLAPI_PLUGIN_SYNTAX_FLAG_ORDERING 2
-
-#define SLAPI_PLUGIN_AUDIT_DATA 1100
-#define SLAPI_PLUGIN_AUDIT_FN 1101
-
-#define SLAPI_MANAGEDSAIT 1000
-
-#define SLAPI_CONFIG_FILENAME 40
-#define SLAPI_CONFIG_LINENO 41
-#define SLAPI_CONFIG_ARGC 42
-#define SLAPI_CONFIG_ARGV 43
-
-#define SLAPI_TARGET_DN 50
-#define SLAPI_REQCONTROLS 51