Statistics
| Branch: | Revision:

peerstreamer-src / src / periodic_task_intfs.h @ 58fb2cdc

History | View | Annotate | Download (2.25 KB)

1 4a486a01 Luca Baldesi
/*******************************************************************
2
* PeerStreamer-ng is a P2P video streaming application exposing a ReST
3
* interface.
4
* Copyright (C) 2017 Luca Baldesi <luca.baldesi@unitn.it>
5
*
6
* This program is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Affero General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU Affero General Public License for more details.
15
*
16
* You should have received a copy of the GNU Affero General Public License
17
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
*******************************************************************/
19 c03fc03d Luca Baldesi
20
#ifndef __PERIODIC_TASK_INTFS__
21
#define __PERIODIC_TASK_INTFS__ 1
22
23
#include<task_manager.h>
24
#include <sys/select.h>
25
26
uint8_t mongoose_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
27
28
uint8_t mongoose_task_reinit(struct periodic_task * pt);
29
30 b87dc7a2 Luca Baldesi
uint8_t pstreamer_topology_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
31
32
uint8_t pstreamer_offer_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
33
34
uint8_t pstreamer_offer_task_reinit(struct periodic_task * pt);
35
36 3af4c8d7 Luca Baldesi
uint8_t pstreamer_inject_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
37
38 b87dc7a2 Luca Baldesi
uint8_t pstreamer_msg_handling_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
39
40
uint8_t pstreamer_msg_handling_task_reinit(struct periodic_task * pt);
41
42 c2bc5145 Luca Baldesi
uint8_t pstreamer_topology_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
43
44
uint8_t pschannel_csvfile_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
45
46 4d6f8fd5 Luca Baldesi
uint8_t pstreamer_purge_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds);
47
48 c03fc03d Luca Baldesi
#endif