… | |
… | |
7 | * |
7 | * |
8 | * Portions of this file were derived from sources bearing the following license: |
8 | * Portions of this file were derived from sources bearing the following license: |
9 | * Copyright © 2005 Atheme Development Group |
9 | * Copyright © 2005 Atheme Development Group |
10 | * Rights to this code are as documented in doc/pod/license.pod. |
10 | * Rights to this code are as documented in doc/pod/license.pod. |
11 | * |
11 | * |
12 | * $Id: connection.h,v 1.7 2007/09/16 18:54:42 pippijn Exp $ |
12 | * $Id: connection.h,v 1.8 2007/09/22 14:27:26 pippijn Exp $ |
13 | */ |
13 | */ |
14 | |
14 | |
15 | #ifndef CONNECTION_H |
15 | #ifndef CONNECTION_H |
16 | #define CONNECTION_H |
16 | #define CONNECTION_H |
17 | |
17 | |
18 | #include <deque> |
18 | #include <deque> |
19 | |
19 | |
20 | #include <common/util.h> |
20 | #include <util/containers.h> |
21 | #include <ermyth/callback.h> |
21 | #include <ermyth/callback.h> |
22 | |
22 | |
23 | #define SENDQSIZE (4096 - 40) |
23 | #define SENDQSIZE (4096 - 40) |
24 | |
24 | |
25 | /* packetqueue struct */ |
25 | /* packetqueue struct */ |