squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
DiskIO
DiskDaemon
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_DIOMSG_H__
16
#define SQUID_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_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
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
pl
...
full list
FTP Package Archive