cos_cache.h 656 B

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