cert.h 571 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef _LDAPU_CERT_H
  13. #define _LDAPU_CERT_H
  14. #ifndef NSAPI_PUBLIC
  15. #define NSAPI_PUBLIC
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. NSAPI_PUBLIC int ldapu_get_cert (void *SSLendpoint, void **cert);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif /* _LDAPU_CERT_H */