cos_cache.h 637 B

1234567891011121314151617181920212223242526
  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. #if !defined(_COS_CACHE_H)
  13. #define _COS_CACHE_H
  14. typedef void cos_cache;
  15. int cos_cache_init(void);
  16. void cos_cache_stop(void);
  17. int cos_cache_getref(cos_cache **ppCache);
  18. int cos_cache_addref(cos_cache *pCache);
  19. int cos_cache_release(cos_cache *pCache);
  20. void cos_cache_change_notify(Slapi_PBlock *pb);
  21. #endif /* _COS_CACHE_H */