forked from fairwaves/pcapsipdump
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrigger.h
More file actions
24 lines (21 loc) · 746 Bytes
/
Copy pathtrigger.h
File metadata and controls
24 lines (21 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <string>
#include <vector>
#include <map>
using namespace std;
class Trigger {
public:
static vector <vector <string> > open;
static vector <vector <string> > close;
static map <string, vector <vector <string> >* > byname;
static int verbosity;
// pseudo-constructor to initialize static members
static void init(void);
static void add(const string s);
static void trigger(const vector <vector <string> > *t,
const char *fn,
const char *from,
const char *to,
const char *callid,
const time_t time);
};
extern Trigger trigger;