typedefs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #ifndef SQUID_SRC_TYPEDEFS_H
10 #define SQUID_SRC_TYPEDEFS_H
11 
12 #include "anyp/ProtocolType.h"
13 #include "enums.h"
14 
15 /* disk.c / diskd.c callback typedefs */
16 typedef void DRCB(int, const char *buf, int size, int errflag, void *data);
17 /* Disk read CB */
18 typedef void DWCB(int, int, size_t, void *); /* disk write CB */
19 
20 #include "anyp/ProtocolType.h"
21 class CachePeer;
22 typedef void IRCB(CachePeer *, peer_t, AnyP::ProtocolType, void *, void *data);
23 
24 #endif /* SQUID_SRC_TYPEDEFS_H */
25 
void IRCB(CachePeer *, peer_t, AnyP::ProtocolType, void *, void *data)
Definition: typedefs.h:22
void DRCB(int, const char *buf, int size, int errflag, void *data)
Definition: typedefs.h:16
ProtocolType
Definition: ProtocolType.h:23
peer_t
Definition: enums.h:22
int size
Definition: ModDevPoll.cc:69
void DWCB(int, int, size_t, void *)
Definition: typedefs.h:18

 

Introduction

Documentation

Support

Miscellaneous