stub_fd.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 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 #include "squid.h"
10 #include "fd.h"
11 #include "fde.h"
12 
13 #define STUB_API "fd.cc"
14 #include "tests/STUB.h"
15 
17 
18 int fdNFree(void) STUB_RETVAL(-1)
19 void fd_open(int, unsigned int, const char *) STUB
20 void fd_close(int) STUB
21 void fd_bytes(int, int, unsigned int) STUB
22 void fd_note(int, const char *) STUB
24 
void fd_note(int fd, const char *s)
Definition: fd.cc:247
int unsigned const char *STUB void fd_close(int) STUB void fd_bytes(int
Definition: fd.cc:83
#define STUB_RETVAL(x)
Definition: STUB.h:41
static fde * Table
global table of FD and their state.
Definition: fde.h:103
Definition: fde.h:52
#define NULL
Definition: types.h:166
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void fdAdjustReserved(void)
Definition: fd.cc:317
void fd_bytes(int fd, int len, unsigned int type)
Definition: fd.cc:257
int fdNFree(void) STUB_RETVAL(-1) void fd_open(int
Definition: fd.cc:296
void fd_open(int fd, unsigned int type, const char *desc)
Definition: fd.cc:187

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors