add: database functions and generalisation
This commit is contained in:
parent
7c6eed8dc2
commit
14c35a4227
8 changed files with 193 additions and 149 deletions
include/models
|
@ -56,4 +56,7 @@ relay_get_all();
|
|||
relay_t**
|
||||
relay_get_by_controller_id(int controller_id);
|
||||
|
||||
int
|
||||
relay_get_controller_id_for_relay(int relay_id);
|
||||
|
||||
#endif /* CORE_RELAY_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue