diomsg.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 /*
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 {
26 };
27 
28 class Lock;
29 
30 struct diomsg {
32  int id;
33  int seq_no;
34  void * callback_data;
36  size_t size;
37  off_t offset;
38  int status;
39  bool newstyle;
41  static const int msg_snd_rcv_sz;
42 };
43 
44 #endif /* SQUID_SRC_DISKIO_DISKDAEMON_DIOMSG_H */
45 
@ _MQD_CLOSE
Definition: diomsg.h:22
@ _MQD_OPEN
Definition: diomsg.h:20
long mtyp_t
Definition: types.h:141
int status
Definition: diomsg.h:38
Lock * requestor
Definition: diomsg.h:35
@ _MQD_UNLINK
Definition: diomsg.h:25
int seq_no
Definition: diomsg.h:33
@ _MQD_READ
Definition: diomsg.h:23
static const int msg_snd_rcv_sz
Definition: diomsg.h:41
size_t size
Definition: diomsg.h:36
int shm_offset
Definition: diomsg.h:40
off_t offset
Definition: diomsg.h:37
@ _MQD_CREATE
Definition: diomsg.h:21
@ _MQD_NOP
Definition: diomsg.h:19
int id
Definition: diomsg.h:32
Definition: diomsg.h:30
@ _MQD_WRITE
Definition: diomsg.h:24
bool newstyle
Definition: diomsg.h:39
void * callback_data
Definition: diomsg.h:34
mtyp_t mtype
Definition: diomsg.h:31
Definition: Lock.h:25

 

Introduction

Documentation

Support

Miscellaneous