2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 2002-2005 The OpenLDAP Foundation.
5 * Portions Copyright 1997,2002-2003 IBM Corporation.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
12 * A copy of this license is available in the file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 * This work was initially developed by IBM Corporation for use in
18 * IBM products and subsequently ported to OpenLDAP Software by
22 #ifndef _ibm_pblock_params_H
23 #define _ibm_pblock_params_H
25 #define FIRST_PARAM -1
26 #define LAST_IBM_PARAM -48
27 #define NETSCAPE_RESERVED(p) (p >= 280) && (p <= 299)
28 #define IBM_RESERVED(p) (p >= LAST_IBM_PARAM) && (p <= FIRST_PARAM)
30 #define SLAPI_IBM_THREAD_CONTROL (FIRST_PARAM - 1)
31 #define SLAPI_IBM_PBLOCK (FIRST_PARAM - 2)
32 #define SLAPI_IBM_CONNECTION_PTR (FIRST_PARAM - 3)
33 #define SLAPI_IBM_BACKENDS (FIRST_PARAM - 4)
34 #define SLAPI_PRE_BIND_ALL (FIRST_PARAM - 5)
35 #define SLAPI_POST_BIND_ALL (FIRST_PARAM - 6)
36 #define SLAPI_IBM_ADMIN_DN (FIRST_PARAM - 7)
37 #define SLAPI_CONFIG_STATE (FIRST_PARAM - 8)
38 #define SLAPI_PLUGIN_DB_REGISTER_SERVICE_FN (FIRST_PARAM - 9)
39 #define SLAPI_PLUGIN_DB_INSERT_REPL_ENTRIES_FN (FIRST_PARAM - 10)
40 #define SLAPI_PLUGIN_DB_GET_REPL_ENTRIES_FN (FIRST_PARAM - 11)
41 #define SLAPI_PLUGIN_DB_REPLICA_DONE_FN (FIRST_PARAM - 12)
42 #define SLAPI_PLUGIN_DB_INIT_REPL_LIST_FN (FIRST_PARAM - 13)
43 #define SLAPI_PLUGIN_DB_THREAD_INITIALIZE_FN (FIRST_PARAM - 14)
44 #define SLAPI_PLUGIN_DB_THREAD_TERMINATE_FN (FIRST_PARAM - 15)
45 #define SLAPI_PLUGIN_DB_SCHEMA_MODIFY_ATTRTYPE_FN (FIRST_PARAM - 16)
46 #define SLAPI_PLUGIN_DB_SCHEMA_MODIFY_OBJCLASS_FN (FIRST_PARAM - 17)
47 #define SLAPI_PLUGIN_DB_INIT_FN (FIRST_PARAM - 18)
48 #define SLAPI_IBM_EXTENDED_OPS (FIRST_PARAM - 19)
49 #define SLAPI_IBM_CONTROLS (FIRST_PARAM - 20)
50 #define SLAPI_IBM_SASLMECHANISMS (FIRST_PARAM - 21)
51 #define SLAPI_IBM_BROADCAST_BE (FIRST_PARAM - 22)
52 #define SLAPI_IBM_NOTIFY_BIND_FN (FIRST_PARAM - 23)
53 #define SLAPI_IBM_SECRET (FIRST_PARAM - 24)
54 #define SLAPI_IBM_CL_START_FN (FIRST_PARAM - 25)
55 #define SLAPI_IBM_REPLICATE (FIRST_PARAM - 26)
56 #define SLAPI_IBM_CL_CLASS (FIRST_PARAM - 27)
57 #define SLAPI_IBM_CL_SUFFIX (FIRST_PARAM - 28)
58 #define SLAPI_IBM_CL_MAX_ENTRIES (FIRST_PARAM - 29)
59 #define SLAPI_IBM_CONNINFO (FIRST_PARAM - 30)
60 #define SLAPI_IBM_CL_FIRST_ENTRY (FIRST_PARAM - 31)
61 #define SLAPI_IBM_CL_LAST_ENTRY (FIRST_PARAM - 32)
62 #define SLAPI_IBM_CONN_DN_ALT (FIRST_PARAM - 33)
63 #define SLAPI_IBM_GSSAPI_CONTEXT (FIRST_PARAM - 34)
64 #define SLAPI_IBM_ADD_ENTRY (FIRST_PARAM - 35)
65 #define SLAPI_IBM_DELETE_ENTRY (FIRST_PARAM - 36)
66 #define SLAPI_IBM_MODIFY_ENTRY (FIRST_PARAM - 37)
67 #define SLAPI_IBM_MODIFY_MODS (FIRST_PARAM - 38)
68 #define SLAPI_IBM_MODRDN_ENTRY (FIRST_PARAM - 39)
69 #define SLAPI_IBM_MODRDN_NEWDN (FIRST_PARAM - 40)
70 #define SLAPI_IBM_EVENT_ENABLED (FIRST_PARAM - 41)
71 #define SLAPI_IBM_EVENT_MAXREG (FIRST_PARAM - 42)
72 #define SLAPI_IBM_EVENT_REGPERCONN (FIRST_PARAM - 43)
73 #define SLAPI_IBM_EVENT_CURREG (FIRST_PARAM - 44)
74 #define SLAPI_IBM_EVENT_SENTREG (FIRST_PARAM - 45)
75 #define SLAPI_IBM_CONN_DN_ORIG (FIRST_PARAM - 46)
76 #define SLAPI_PLUGIN_DB_DELETE_PROGRESS_FN (FIRST_PARAM - 47)
77 #endif /* _ibm_pblock_params_H */