My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
controller_dfg.h
Go to the documentation of this file.
1 /*
2 START OF LICENSE STUB
3  DeDOS: Declarative Dispersion-Oriented Software
4  Copyright (C) 2017 University of Pennsylvania, Georgetown University
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU 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 General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 END OF LICENSE STUB
19 */
20 #ifndef CONTROLLER_DFG_H__
21 #define CONTROLLER_DFG_H__
22 #include "dfg.h"
23 
24 int init_controller_dfg(char *filename);
25 int local_listen_port();
26 int generate_msu_id();
27 int generate_route_id();
29 struct dedos_dfg *get_dfg(void);
30 
31 int init_dfg_lock();
32 int lock_dfg();
33 int unlock_dfg();
34 
35 
36 #endif
struct dedos_dfg * get_dfg(void)
Definition: runtime_dfg.c:115
static int route(struct msu_type *type, struct local_msu *sender, struct msu_msg *msg, struct msu_endpoint *output)
Definition: baremetal_msu.c:30
int local_listen_port()
int init_controller_dfg(char *filename)
int unlock_dfg()
int lock_dfg()
Top-level structure holding the data-flow graph.
Definition: dfg.h:239
A route through which MSU messages can be passed.
Definition: dfg.h:152
Interfaces for the creation and modification of the data-flow-graph and and general description of th...
uint32_t generate_endpoint_key(struct dfg_route *route)
unsigned int uint32_t
Definition: uthash.h:96
int generate_route_id()
int generate_msu_id()
int init_dfg_lock()