hdp_main.c 533 B

1234567891011121314151617181920212223242526272829303132
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
  7. *
  8. */
  9. #ifdef HAVE_CONFIG_H
  10. #include <config.h>
  11. #endif
  12. #include <errno.h>
  13. #include "gdbus/gdbus.h"
  14. #include "src/plugin.h"
  15. #include "hdp_manager.h"
  16. static int hdp_init(void)
  17. {
  18. return hdp_manager_init();
  19. }
  20. static void hdp_exit(void)
  21. {
  22. hdp_manager_exit();
  23. }
  24. BLUETOOTH_PLUGIN_DEFINE(health, VERSION,
  25. BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, hdp_init, hdp_exit)