/src/ares/bitncmp.h

http://github.com/joyent/libuv · C++ Header · 26 lines · 8 code · 4 blank · 14 comment · 0 complexity · 00f6d7b03c559104054fe0411587d90c MD5 · raw file

  1. #ifndef __ARES_BITNCMP_H
  2. #define __ARES_BITNCMP_H
  3. /* Copyright (C) 2005 by Dominick Meglio
  4. *
  5. * Permission to use, copy, modify, and distribute this
  6. * software and its documentation for any purpose and without
  7. * fee is hereby granted, provided that the above copyright
  8. * notice appear in all copies and that both that copyright
  9. * notice and this permission notice appear in supporting
  10. * documentation, and that the name of M.I.T. not be used in
  11. * advertising or publicity pertaining to distribution of the
  12. * software without specific, written prior permission.
  13. * M.I.T. makes no representations about the suitability of
  14. * this software for any purpose. It is provided "as is"
  15. * without express or implied warranty.
  16. */
  17. #ifndef HAVE_BITNCMP
  18. int ares_bitncmp(const void *l, const void *r, int n);
  19. #else
  20. #define ares_bitncmp(x,y,z) bitncmp(x,y,z)
  21. #endif
  22. #endif /* __ARES_BITNCMP_H */