myco-indexer.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Copyright (C) 2016 Max Riechelmann <max.riechelmann@student.kit.edu>
  2. (Karlsruhe Institute of Technology)
  3. This library is free software; you can redistribute it and/or modify it
  4. under the terms of the GNU Lesser General Public License as published by the
  5. Free Software Foundation; either version 2.1 of the License, or (at your
  6. option) any later version.
  7. This library is distributed in the hope that it will be useful, but WITHOUT
  8. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  10. details.
  11. You should have received a copy of the GNU Lesser General Public License along
  12. with this library; if not, write to the Free Software Foundation, Inc., 51
  13. Franklin St, Fifth Floor, Boston, MA 02110, USA
  14. */
  15. /**
  16. * SECTION: myco-daemon
  17. * @Short_description: daemon library
  18. * @Title: MycoDaemon
  19. *
  20. * MycoAgent implements the agent side of the Mycorrhiza distributed system.
  21. * It (un-)registers with the mycoagent and provides information about
  22. * accessible data RESOURCES.
  23. */
  24. #ifndef __MYCO_DAEMON_H
  25. #define __MYCO_DAEMON_H
  26. /**
  27. * myco_daemon_start:
  28. * @myco_daemon_port: The port of the daemon
  29. *
  30. * Starts the daemon process on localhost.
  31. *
  32. * Returns: 0 on success, -1 on error
  33. */
  34. int myco_daemon_start ();
  35. // TODO: Communication with indexserver