stubs.c 632 B

1234567891011121314151617181920212223242526272829303132333435
  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. #include <stdio.h>
  13. #include <string.h>
  14. #include <sys/types.h>
  15. #include "slap.h"
  16. int type_to_ACCESS_bit( char *p )
  17. {
  18. return 0;
  19. }
  20. void *PT_Lock( PRLock *x_mutex )
  21. {
  22. return NULL;
  23. }
  24. int lcache_init(LDAP *ld, void *arg)
  25. {
  26. LDAPDebug(LDAP_DEBUG_ANY,
  27. "lcache_init: Shouldn't have been called\n", 0,0,0);
  28. return -1;
  29. }