blob: 16bbe016d233aa3eaa64f5125488ba266915a553 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001#ifndef __AOS_STARTER_H_
2#define __AOS_STARTER_H_
3
4#include <map>
5#include <sys/types.h>
6#include <signal.h>
7#include <stdint.h>
8#include <string>
9#include <errno.h>
10#include <string.h>
11#include <sys/wait.h>
12#include <set>
13
14using namespace std;
15
16map<pid_t, const char *> children;
17map<pid_t, const char *> files; // the names of the actual files
18map<int, pid_t> watches;
19set<pid_t> restarts;
20map<int, time_t> mtimes;
21
22int sigfd = 0;
23int notifyfd = 0;
24
25const size_t CMDLEN = 5000;
26
27#endif
28