encode.h 630 B

123456789101112131415161718192021222324252627282930313233
  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_ENCODE_H
  13. #define _LDAPU_ENCODE_H
  14. #ifndef NSAPI_PUBLIC
  15. #define NSAPI_PUBLIC
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. NSAPI_PUBLIC extern char *dbconf_encodeval(const char *val);
  21. NSAPI_PUBLIC extern char *dbconf_decodeval(const char *val);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif /* _LDAPU_ENCODE_H */