]> git.sur5r.net Git - openldap/blob - servers/slapd/slapi/ibm_pblock_params.h
SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani...
[openldap] / servers / slapd / slapi / ibm_pblock_params.h
1 /*
2  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5 /*
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.
11  */
12
13 #ifndef _ibm_pblock_params_H
14 #define _ibm_pblock_params_H
15
16 #define FIRST_PARAM -1
17 #define LAST_IBM_PARAM -48
18 #define NETSCAPE_RESERVED(p) (p >= 280) && (p <= 299)
19 #define IBM_RESERVED(p) (p >= LAST_IBM_PARAM) && (p <= FIRST_PARAM)
20
21 #define SLAPI_IBM_THREAD_CONTROL                                        (FIRST_PARAM - 1)
22 #define SLAPI_IBM_PBLOCK                                                        (FIRST_PARAM - 2)
23 #define SLAPI_IBM_CONNECTION_PTR                                        (FIRST_PARAM - 3)
24 #define SLAPI_IBM_BACKENDS                                                      (FIRST_PARAM - 4)
25 #define SLAPI_PRE_BIND_ALL                                                      (FIRST_PARAM - 5)
26 #define SLAPI_POST_BIND_ALL                                                     (FIRST_PARAM - 6)
27 #define SLAPI_IBM_ADMIN_DN                                                      (FIRST_PARAM - 7)
28 #define SLAPI_CONFIG_STATE                                                      (FIRST_PARAM - 8)
29 #define SLAPI_PLUGIN_DB_REGISTER_SERVICE_FN                     (FIRST_PARAM - 9)   
30 #define SLAPI_PLUGIN_DB_INSERT_REPL_ENTRIES_FN          (FIRST_PARAM - 10)
31 #define SLAPI_PLUGIN_DB_GET_REPL_ENTRIES_FN                     (FIRST_PARAM - 11)
32 #define SLAPI_PLUGIN_DB_REPLICA_DONE_FN                         (FIRST_PARAM - 12)
33 #define SLAPI_PLUGIN_DB_INIT_REPL_LIST_FN                       (FIRST_PARAM - 13)
34 #define SLAPI_PLUGIN_DB_THREAD_INITIALIZE_FN            (FIRST_PARAM - 14)
35 #define SLAPI_PLUGIN_DB_THREAD_TERMINATE_FN                     (FIRST_PARAM - 15)
36 #define SLAPI_PLUGIN_DB_SCHEMA_MODIFY_ATTRTYPE_FN       (FIRST_PARAM - 16)
37 #define SLAPI_PLUGIN_DB_SCHEMA_MODIFY_OBJCLASS_FN       (FIRST_PARAM - 17)
38 #define SLAPI_PLUGIN_DB_INIT_FN                                         (FIRST_PARAM - 18)
39 #define SLAPI_IBM_EXTENDED_OPS                                          (FIRST_PARAM - 19)
40 #define SLAPI_IBM_CONTROLS                                                      (FIRST_PARAM - 20)
41 #define SLAPI_IBM_SASLMECHANISMS                                        (FIRST_PARAM - 21)
42 #define SLAPI_IBM_BROADCAST_BE                                          (FIRST_PARAM - 22)
43 #define SLAPI_IBM_NOTIFY_BIND_FN                                        (FIRST_PARAM - 23)
44 #define SLAPI_IBM_SECRET                                                        (FIRST_PARAM - 24)
45 #define SLAPI_IBM_CL_START_FN                                           (FIRST_PARAM - 25)
46 #define SLAPI_IBM_REPLICATE                                                     (FIRST_PARAM - 26)
47 #define SLAPI_IBM_CL_CLASS                                                      (FIRST_PARAM - 27)
48 #define SLAPI_IBM_CL_SUFFIX                                                     (FIRST_PARAM - 28)
49 #define SLAPI_IBM_CL_MAX_ENTRIES                                        (FIRST_PARAM - 29)
50 #define SLAPI_IBM_CONNINFO                                                      (FIRST_PARAM - 30)
51 #define SLAPI_IBM_CL_FIRST_ENTRY                                        (FIRST_PARAM - 31)
52 #define SLAPI_IBM_CL_LAST_ENTRY                                         (FIRST_PARAM - 32)
53 #define SLAPI_IBM_CONN_DN_ALT                                           (FIRST_PARAM - 33)
54 #define SLAPI_IBM_GSSAPI_CONTEXT                                        (FIRST_PARAM - 34)
55 #define SLAPI_IBM_ADD_ENTRY                                                     (FIRST_PARAM - 35)
56 #define SLAPI_IBM_DELETE_ENTRY                                          (FIRST_PARAM - 36)
57 #define SLAPI_IBM_MODIFY_ENTRY                                          (FIRST_PARAM - 37)
58 #define SLAPI_IBM_MODIFY_MODS                                           (FIRST_PARAM - 38)
59 #define SLAPI_IBM_MODRDN_ENTRY                                          (FIRST_PARAM - 39)
60 #define SLAPI_IBM_MODRDN_NEWDN                                          (FIRST_PARAM - 40)
61 #define SLAPI_IBM_EVENT_ENABLED                                         (FIRST_PARAM - 41)
62 #define SLAPI_IBM_EVENT_MAXREG                                          (FIRST_PARAM - 42)
63 #define SLAPI_IBM_EVENT_REGPERCONN                                      (FIRST_PARAM - 43)
64 #define SLAPI_IBM_EVENT_CURREG                                          (FIRST_PARAM - 44)
65 #define SLAPI_IBM_EVENT_SENTREG                                         (FIRST_PARAM - 45)
66 #define SLAPI_IBM_CONN_DN_ORIG                                          (FIRST_PARAM - 46)
67 #define SLAPI_PLUGIN_DB_DELETE_PROGRESS_FN                      (FIRST_PARAM - 47) 
68 #endif