]> git.sesse.net Git - nms/blob - web/ext/flowutil.h
Add lots of TG06 graph stuff.
[nms] / web / ext / flowutil.h
1 #ifndef _FLOWUTIL_H
2 #define _FLOWUTIL_H 1
3
4 #include <vector>
5 #include "flowpusher.h"
6
7 std::vector<flow_element> sum_flows(const std::vector<flow_element> &a, const std::vector<flow_element> &b);
8 std::vector<flow_element> filter_flow(const std::vector<flow_element> &flow);
9 void make_graph(int port, unsigned width, unsigned height, unsigned min_x, unsigned max_x, unsigned long long min_y, unsigned long long max_y, std::vector<flow_element> &flow);
10
11 #endif /* !defined(_FLOWUTIL_H) */