#ifndef __CONTROLLER_H__ #define __CONTROLLER_H__ #include #include typedef std::pair Workentry; typedef std::vector Worklist; int controller_parse_args(int argc, char **argv, unsigned short &bindport, Worklist &worklist); int controller_main(const Worklist &worklist, unsigned short bindport, void (*boundcb)(const char *boundaddr, unsigned short boundport)); #endif