Open Garden  0.10.1-21
queue.h
Go to the documentation of this file.
1 /* This file is part of OpenGarden
2  * Copyright (C) 2011, 2012 Enrico Rossi
3  *
4  * OpenGarden is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * OpenGarden is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
22 #ifndef QUEUE_H
23 #define QUEUE_H
24 
25 #include "ogstruct.h"
26 #include "debug.h"
27 #include "date.h"
28 #include "temperature.h"
29 #include "io_pin.h"
30 
31 void q_push(struct programs_t *progs, struct tm *tm_clock, const uint8_t i);
32 void queue_run(struct programs_t *progs, struct tm *tm_clock, struct debug_t *debug);
33 void queue_list(struct programs_t *progs, struct debug_t *debug);
34 
35 #endif
void queue_list(struct programs_t *progs, struct debug_t *debug)
Definition: queue.c:262
Functions to activare and display (rs232) debug.
temperature handling functions.
void queue_run(struct programs_t *progs, struct tm *tm_clock, struct debug_t *debug)
Definition: queue.c:202
Definition: debug.h:59
void q_push(struct programs_t *progs, struct tm *tm_clock, const uint8_t i)
queue a program to be executed.
Definition: queue.c:75
Definition: time.h:42
Definition: ogstruct.h:170
structures.
time high level functions.
IO lines definitions.