fd.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 /* DEBUG: section 51 Filedescriptor Functions */
10 
11 #ifndef SQUID_SRC_FD_H
12 #define SQUID_SRC_FD_H
13 
15 enum class IoDirection {
16  Read,
17  Write
18 };
19 
20 void fd_close(int fd);
21 void fd_open(int fd, unsigned int type, const char *);
22 void fd_note(int fd, const char *);
23 void fd_bytes(int fd, int len, IoDirection);
24 void fdDumpOpen(void);
25 int fdUsageHigh(void);
26 void fdAdjustReserved(void);
27 int default_read_method(int, char *, int);
28 int default_write_method(int, const char *, int);
29 
30 #endif /* SQUID_SRC_FD_H */
31 
int fdUsageHigh(void)
Definition: fd.cc:273
void fdAdjustReserved(void)
Definition: fd.cc:288
int default_write_method(int, const char *, int)
Definition: fd.cc:135
int default_read_method(int, char *, int)
Definition: fd.cc:129
void fd_close(int fd)
Definition: minimal.cc:21
void fd_note(int fd, const char *)
Definition: fd.cc:216
IoDirection
distinguishes reading/importing I/O operations from their writing/exporting counterparts
Definition: fd.h:15
void fd_bytes(int fd, int len, IoDirection)
Definition: fd.cc:226
void fd_open(int fd, unsigned int type, const char *)
Definition: minimal.cc:15
void fdDumpOpen(void)
Definition: fd.cc:244

 

Introduction

Documentation

Support

Miscellaneous