| 12345678910111213141516 |
- #ifndef __CONTROLLER_H__
- #define __CONTROLLER_H__
- #include <vector>
- #include <utility>
- typedef std::pair<const char *, unsigned int> Workentry;
- typedef std::vector<Workentry> 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
|