Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. /* $OpenBSD: sensors.c,v 1.46 2012/09/20 12:43:16 patrick Exp $ */
  2. /*
  3. * Copyright (c) 2006 Henning Brauer <henning@openbsd.org>
  4. *
  5. * Permission to use, copy, modify, and distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
  14. * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  15. * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. #include "ntpd.h"
  18. void
  19. sensor_init(void)
  20. {
  21. }
  22. int
  23. sensor_scan(void)
  24. {
  25. return 0;
  26. }
  27. void
  28. sensor_query(struct ntp_sensor *s)
  29. {
  30. }
  31. int
  32. sensor_hotplugfd(void)
  33. {
  34. return (-1);
  35. }
  36. void
  37. sensor_hotplugevent(int fd)
  38. {
  39. }