source: squid-ssl/trunk/fuentes/src/DiskIO/DiskDaemon/diomsg.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 803 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 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
18enum {
19    _MQD_NOP,
20    _MQD_OPEN,
21    _MQD_CREATE,
22    _MQD_CLOSE,
23    _MQD_READ,
24    _MQD_WRITE,
25    _MQD_UNLINK
26};
27
28class Lock;
29
30struct 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
Note: See TracBrowser for help on using the repository browser.