stubrepl.c 880 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  3. * Copyright (C) 2005 Red Hat, Inc.
  4. * All rights reserved.
  5. *
  6. * License: GPL (version 3 or any later version).
  7. * See LICENSE for details.
  8. * END COPYRIGHT BLOCK **/
  9. #ifdef HAVE_CONFIG_H
  10. # include <config.h>
  11. #endif
  12. /* stubrepl.c - stubs of functions required for the evil stuff in the tools directory */
  13. #include "slap.h"
  14. int connection_type = -1;
  15. void
  16. ps_service_persistent_searches( Slapi_Entry *e, Slapi_Entry *eprev, ber_int_t chgtype, ber_int_t chgnum )
  17. {
  18. }
  19. void
  20. ps_wakeup_all( void )
  21. {
  22. }
  23. int
  24. slapd_ssl_init()
  25. {
  26. return( -1 );
  27. }
  28. int
  29. slapd_ssl_init2(PRFileDesc **fd, int startTLS)
  30. {
  31. return( -1 );
  32. }
  33. void
  34. connection_abandon_operations( Connection *conn )
  35. {
  36. }
  37. void
  38. disconnect_server( Connection *conn, PRUint64 opconnid, int opid, PRErrorCode reason, PRInt32 error )
  39. {
  40. }