name_internal.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
  2. //
  3. // Permission to use, copy, modify, and/or distribute this software for any
  4. // purpose with or without fee is hereby granted, provided that the above
  5. // copyright notice and this permission notice appear in all copies.
  6. //
  7. // THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  8. // REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9. // AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  10. // INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  11. // LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  12. // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  13. // PERFORMANCE OF THIS SOFTWARE.
  14. #ifndef NAME_INTERNAL_H
  15. #define NAME_INTERNAL_H 1
  16. // This is effectively a "private" namespace for the Name class implementation,
  17. // but exposed publicly so the definitions in it can be shared with other
  18. // modules of the library (as of its introduction, used by LabelSequence and
  19. // MessageRenderer). It's not expected to be used even by normal applications.
  20. // This header file is therefore not expected to be installed as part of the
  21. // library.
  22. //
  23. // Note: if it turns out that we need this shortcut for many other places
  24. // we may even want to make it expose to other BIND 10 modules, but for now
  25. // we'll keep it semi-private (note also that except for very performance
  26. // sensitive applications the standard std::tolower() function should be just
  27. // sufficient).
  28. namespace isc {
  29. namespace dns {
  30. namespace name {
  31. namespace internal {
  32. extern const uint8_t maptolower[];
  33. } // end of internal
  34. } // end of name
  35. } // end of dns
  36. } // end of isc
  37. #endif // NAME_INTERNAL_H
  38. // Local Variables:
  39. // mode: c++
  40. // End: