25 lines
588 B
C
25 lines
588 B
C
|
#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 */
|