encode.h 573 B

1234567891011121314151617181920212223242526272829
  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. * END COPYRIGHT BLOCK **/
  6. #ifndef _LDAPU_ENCODE_H
  7. #define _LDAPU_ENCODE_H
  8. #ifndef NSAPI_PUBLIC
  9. #ifdef XP_WIN32
  10. #define NSAPI_PUBLIC __declspec(dllexport)
  11. #else
  12. #define NSAPI_PUBLIC
  13. #endif
  14. #endif
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. NSAPI_PUBLIC extern char *dbconf_encodeval(const char *val);
  19. NSAPI_PUBLIC extern char *dbconf_decodeval (const char *val);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif /* _LDAPU_ENCODE_H */