stub_fd.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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 "fde.h"
11 
12 #define STUB_API "fd.cc"
13 #include "tests/STUB.h"
14 
16 
17 int fdNFree(void) STUB_RETVAL(-1)
18 void fd_open(int fd, unsigned int type, const char *desc) STUB
19 void fd_close(int fd) STUB
20 void fd_bytes(int fd, int len, unsigned int type) STUB
21 void fd_note(int fd, const char *s) STUB
23 
void fd_note(int fd, const char *s)
Definition: fd.cc:250
int type
Definition: errorpage.cc:78
static fde * Table
global table of FD and their state.
Definition: fde.h:81
void fd_open(int fd, unsigned int type, const char *desc)
Definition: fd.cc:186
int fdNFree(void)
Definition: fd.cc:299
void fdAdjustReserved(void)
Definition: fd.cc:320
void fd_bytes(int fd, int len, unsigned int type)
Definition: fd.cc:260
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void fd_close(int fd)
Definition: fd.cc:82
int unsigned int const char *desc STUB void int len
Definition: stub_fd.cc:20
Definition: fde.h:49
#define NULL
Definition: types.h:166

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors