init.h 755 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_INIT_H
  13. #define _LDAPU_INIT_H
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. NSAPI_PUBLIC extern int ldaputil_init(const char *config_file,
  18. const char *dllname,
  19. const char *serv_root,
  20. const char *serv_type,
  21. const char *serv_id);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif /* _LDAPU_INIT_H */