Diff for /include/slapi-plugin.h between versions 1.20.2.4 and 1.20.2.8

version 1.20.2.4, 2003/12/01 00:58:24 version 1.20.2.8, 2004/09/03 23:17:53
Line 1 Line 1
 /* $OpenLDAP$ */  /* $OpenLDAP: pkg/ldap/include/slapi-plugin.h,v 1.20.2.7 2004/06/16 22:45:32 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2003 The OpenLDAP Foundation.   * Copyright 1998-2004 The OpenLDAP Foundation.
  * Portions Copyright 1997,2002,2003 IBM Corporation.   * Portions Copyright 1997,2002,2003 IBM Corporation.
  * All rights reserved.   * All rights reserved.
  *   *
Line 14 Line 14
  * <http://www.OpenLDAP.org/license.html>.   * <http://www.OpenLDAP.org/license.html>.
  */   */
   
   /*
    * This header is used in development of SLAPI plugins for
    * OpenLDAP slapd(8) and other directory servers supporting
    * this interface.  Your portability mileage may vary.
    */
   
 #ifndef _SLAPI_PLUGIN_H  #ifndef _SLAPI_PLUGIN_H
 #define _SLAPI_PLUGIN_H  #define _SLAPI_PLUGIN_H
   
Line 46  int slapi_entry_attr_merge( Slapi_Entry Line 52  int slapi_entry_attr_merge( Slapi_Entry
 int slapi_entry_attr_find( Slapi_Entry *e, char *type, Slapi_Attr **attr );  int slapi_entry_attr_find( Slapi_Entry *e, char *type, Slapi_Attr **attr );
 char *slapi_entry_attr_get_charptr( const Slapi_Entry *e, const char *type );  char *slapi_entry_attr_get_charptr( const Slapi_Entry *e, const char *type );
 int slapi_entry_attr_get_int( const Slapi_Entry *e, const char *type );  int slapi_entry_attr_get_int( const Slapi_Entry *e, const char *type );
 int slapi_entry_attr_get_long( const Slapi_Entry *e, const char *type );  long slapi_entry_attr_get_long( const Slapi_Entry *e, const char *type );
 int slapi_entry_attr_get_uint( const Slapi_Entry *e, const char *type );  unsigned int slapi_entry_attr_get_uint( const Slapi_Entry *e, const char *type );
 int slapi_entry_attr_get_ulong( const Slapi_Entry *e, const char *type );  unsigned long slapi_entry_attr_get_ulong( const Slapi_Entry *e, const char *type );
 int slapi_attr_get_values( Slapi_Attr *attr, struct berval ***vals );  int slapi_attr_get_values( Slapi_Attr *attr, struct berval ***vals );
 char *slapi_dn_normalize( char *dn );  char *slapi_dn_normalize( char *dn );
 char *slapi_dn_normalize_case( char *dn );  char *slapi_dn_normalize_case( char *dn );
Line 137  int slapi_valueset_next_value( Slapi_Val Line 143  int slapi_valueset_next_value( Slapi_Val
 int slapi_valueset_count( const Slapi_ValueSet *vs);  int slapi_valueset_count( const Slapi_ValueSet *vs);
 void slapi_valueset_set_valueset(Slapi_ValueSet *vs1, const Slapi_ValueSet *vs2);  void slapi_valueset_set_valueset(Slapi_ValueSet *vs1, const Slapi_ValueSet *vs2);
   
   /* locks and synchronization */
 typedef struct slapi_mutex      Slapi_Mutex;  typedef struct slapi_mutex      Slapi_Mutex;
 typedef struct slapi_condvar    Slapi_CondVar;  typedef struct slapi_condvar    Slapi_CondVar;
 Slapi_Mutex *slapi_new_mutex( void );  Slapi_Mutex *slapi_new_mutex( void );
Line 148  void slapi_destroy_condvar( Slapi_CondVa Line 155  void slapi_destroy_condvar( Slapi_CondVa
 int slapi_wait_condvar( Slapi_CondVar *cvar, struct timeval *timeout );  int slapi_wait_condvar( Slapi_CondVar *cvar, struct timeval *timeout );
 int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all );  int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all );
   
   /* thread-safe LDAP connections */
   LDAP *slapi_ldap_init( char *ldaphost, int ldapport, int secure, int shared );
   void slapi_ldap_unbind( LDAP *ld );
   
 char *slapi_ch_malloc( unsigned long size );  char *slapi_ch_malloc( unsigned long size );
 void slapi_ch_free( void **ptr );  void slapi_ch_free( void **ptr );
 void slapi_ch_free_string( char **ptr );  void slapi_ch_free_string( char **ptr );
Line 493  void slapi_set_object_extension(int obje Line 504  void slapi_set_object_extension(int obje
 #define SLAPI_RESULT_TEXT                       882  #define SLAPI_RESULT_TEXT                       882
 #define SLAPI_RESULT_MATCHED                    883  #define SLAPI_RESULT_MATCHED                    883
   
   /* managedsait control */
   #define SLAPI_MANAGEDSAIT                       1000
   
 /* audit plugin defines */  /* audit plugin defines */
 #define SLAPI_PLUGIN_AUDIT_DATA                1100  #define SLAPI_PLUGIN_AUDIT_DATA                1100
 #define SLAPI_PLUGIN_AUDIT_FN                  1101  #define SLAPI_PLUGIN_AUDIT_FN                  1101
   
 /* managedsait control */  /* backend_group extension */
 #define SLAPI_MANAGEDSAIT                       1000  #define SLAPI_X_PLUGIN_PRE_GROUP_FN             1202 
   #define SLAPI_X_PLUGIN_POST_GROUP_FN            1203
   
   #define SLAPI_X_GROUP_ENTRY                     1250 /* group entry */
   #define SLAPI_X_GROUP_ATTRIBUTE                 1251 /* member attribute */
   #define SLAPI_X_GROUP_OPERATION_DN              1252 /* asserted value */
   #define SLAPI_X_GROUP_TARGET_ENTRY              1253 /* target entry */
   
 /* config stuff */  /* config stuff */
 #define SLAPI_CONFIG_FILENAME                   40  #define SLAPI_CONFIG_FILENAME                   40

Removed from v.1.20.2.4  
changed lines
  Added in v.1.20.2.8


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org