]>
Commit | Line | Data |
---|---|---|
9cef6668 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
9cef6668 | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
9cef6668 | 7 | */ |
8 | ||
b5638623 | 9 | #ifndef SQUID_TYPEDEFS_H |
10 | #define SQUID_TYPEDEFS_H | |
c8366e06 | 11 | |
d35851f1 | 12 | #include "anyp/ProtocolType.h" |
fc5c6388 | 13 | #include "enums.h" |
a7c05555 | 14 | |
cd748f27 | 15 | /* disk.c / diskd.c callback typedefs */ |
16 | typedef void DRCB(int, const char *buf, int size, int errflag, void *data); | |
62e76326 | 17 | /* Disk read CB */ |
f53969cc | 18 | typedef void DWCB(int, int, size_t, void *); /* disk write CB */ |
cd748f27 | 19 | |
0c3d3f65 | 20 | #include "anyp/ProtocolType.h" |
a3c6762c FC |
21 | class CachePeer; |
22 | typedef void IRCB(CachePeer *, peer_t, AnyP::ProtocolType, void *, void *data); | |
b6b6f466 | 23 | |
b5638623 | 24 | #endif /* SQUID_TYPEDEFS_H */ |
9c947ba7 | 25 |