controller-legacy/include/handlers.h

25 lines
588 B
C
Raw Normal View History

2020-04-13 22:50:55 +00:00
#ifndef CONTROLLER_HANDLERS_H
#define CONTROLLER_HANDLERS_H
#include <models/controller.h>
/**
* @brief Handle the command processing
*
* @param fd File descriptor to receive initial data from
* @param controller Controller to use for answering command
*/
void
handler_command(int fd, controller_t *controller);
/**
* @brief Handle the discovery processing
*
* @param fd File descriptor to receive initial data from
* @param controller Controller to use for answering discovery
*/
void
handler_discovery(int fd, controller_t *controller);
#endif /* CONTROLLER_HANDLERS_H */