-
Notifications
You must be signed in to change notification settings - Fork 638
Expand file tree
/
Copy pathstub_fd.cc
More file actions
35 lines (31 loc) · 902 Bytes
/
stub_fd.cc
File metadata and controls
35 lines (31 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* Copyright (C) 1996-2026 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#include "squid.h"
#define STUB_API "fd.cc"
#include "tests/STUB.h"
#include "fd.h"
void fd_close(int) STUB
void fd_open(int, unsigned int, const char *) STUB
void fd_note(int, const char *) STUB
void fd_bytes(int, int, IoDirection) STUB
void fdDumpOpen() STUB
int fdNFree() STUB_RETVAL(0)
int fdUsageHigh() STUB
void fdAdjustReserved() STUB
int default_read_method(int, char *, int) STUB_RETVAL(0)
int default_write_method(int, const char *, int) STUB_RETVAL(0)
// XXX: global. keep in sync with fd.cc
const char *fdTypeStr[] = {
"None",
"Log",
"File",
"Socket",
"Pipe",
"MsgHdr",
"Unknown"
};