Squid Web Cache
master
Loading...
Searching...
No Matches
diomsg.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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
/*
10
* diomsg.h
11
*
12
* Internal declarations for the diskd routines
13
*/
14
15
#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H
16
#define SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H
17
18
enum
{
19
_MQD_NOP
,
20
_MQD_OPEN
,
21
_MQD_CREATE
,
22
_MQD_CLOSE
,
23
_MQD_READ
,
24
_MQD_WRITE
,
25
_MQD_UNLINK
26
};
27
28
class
Lock
;
29
30
struct
diomsg
{
31
mtyp_t
mtype
;
32
int
id
;
33
int
seq_no
;
34
void
*
callback_data
;
35
Lock
*
requestor
;
36
size_t
size
;
37
off_t
offset
;
38
int
status
;
39
bool
newstyle
;
40
int
shm_offset
;
41
static
const
int
msg_snd_rcv_sz
;
42
};
43
44
#endif
/* SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H */
45
Lock
Definition
Lock.h:26
_MQD_UNLINK
@ _MQD_UNLINK
Definition
diomsg.h:25
_MQD_CREATE
@ _MQD_CREATE
Definition
diomsg.h:21
_MQD_WRITE
@ _MQD_WRITE
Definition
diomsg.h:24
_MQD_CLOSE
@ _MQD_CLOSE
Definition
diomsg.h:22
_MQD_OPEN
@ _MQD_OPEN
Definition
diomsg.h:20
_MQD_NOP
@ _MQD_NOP
Definition
diomsg.h:19
_MQD_READ
@ _MQD_READ
Definition
diomsg.h:23
diomsg
Definition
diomsg.h:30
diomsg::mtype
mtyp_t mtype
Definition
diomsg.h:31
diomsg::seq_no
int seq_no
Definition
diomsg.h:33
diomsg::offset
off_t offset
Definition
diomsg.h:37
diomsg::status
int status
Definition
diomsg.h:38
diomsg::size
size_t size
Definition
diomsg.h:36
diomsg::requestor
Lock * requestor
Definition
diomsg.h:35
diomsg::msg_snd_rcv_sz
static const int msg_snd_rcv_sz
Definition
diomsg.h:41
diomsg::newstyle
bool newstyle
Definition
diomsg.h:39
diomsg::shm_offset
int shm_offset
Definition
diomsg.h:40
diomsg::callback_data
void * callback_data
Definition
diomsg.h:34
diomsg::id
int id
Definition
diomsg.h:32
mtyp_t
long mtyp_t
Definition
types.h:141
squid
src
DiskIO
DiskDaemon
diomsg.h
Generated by
1.9.8