stub_fd.cc
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#include "squid.h"
10#include "fd.h"
11#include "fde.h"
12
13#define STUB_API "fd.cc"
14#include "tests/STUB.h"
15
16fde *fde::Table = nullptr;
17
18int fdNFree(void) STUB_RETVAL(-1)
19void fd_open(int, unsigned int, const char *) STUB
20void fd_close(int) STUB
21void fd_bytes(int, int, unsigned int) STUB
22void fd_note(int, const char *) STUB
24
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
Definition: fde.h:52
static fde * Table
global table of FD and their state.
Definition: fde.h:103
void fd_open(const int fd, unsigned int, const char *description)
Definition: minimal.cc:14
void fd_note(int fd, const char *s)
Definition: fd.cc:216
void fdAdjustReserved(void)
Definition: fd.cc:286
void fd_bytes(int fd, int len, unsigned int type)
Definition: fd.cc:226
int unsigned const char *STUB void fd_close(int) STUB void fd_bytes(int
Definition: minimal.cc:20
int fdNFree(void) STUB_RETVAL(-1) void fd_open(int
Definition: fd.cc:265

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors