ares_strcasecmp.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef HEADER_CARES_STRCASECMP_H
  2. #define HEADER_CARES_STRCASECMP_H
  3. /* $Id$ */
  4. /* Copyright 1998 by the Massachusetts Institute of Technology.
  5. *
  6. * Permission to use, copy, modify, and distribute this
  7. * software and its documentation for any purpose and without
  8. * fee is hereby granted, provided that the above copyright
  9. * notice appear in all copies and that both that copyright
  10. * notice and this permission notice appear in supporting
  11. * documentation, and that the name of M.I.T. not be used in
  12. * advertising or publicity pertaining to distribution of the
  13. * software without specific, written prior permission.
  14. * M.I.T. makes no representations about the suitability of
  15. * this software for any purpose. It is provided "as is"
  16. * without express or implied warranty.
  17. */
  18. #include "setup.h"
  19. #ifndef HAVE_STRCASECMP
  20. extern int ares_strcasecmp(const char *a, const char *b);
  21. #endif
  22. #ifndef HAVE_STRNCASECMP
  23. extern int ares_strncasecmp(const char *a, const char *b, size_t n);
  24. #endif
  25. #endif /* HEADER_CARES_STRCASECMP_H */