dlink.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #ifndef SQUID_DLINK_H
10 #define SQUID_DLINK_H
11 
12 #include "mem/forward.h"
13 
15 {
17 public:
18  dlink_node() : data(nullptr), prev(nullptr), next(nullptr) {}
19 
20  void *data;
23 };
24 
26 {
27 public:
29 
32 };
33 
35 
36 void dlinkAdd(void *data, dlink_node *, dlink_list *);
37 void dlinkAddAfter(void *, dlink_node *, dlink_node *, dlink_list *);
38 void dlinkAddTail(void *data, dlink_node *, dlink_list *);
39 void dlinkDelete(dlink_node * m, dlink_list * list);
40 
41 #endif /* SQUID_DLINK_H */
42 
void const char HLPCB void * data
Definition: stub_helper.cc:16
#define NULL
Definition: types.h:166

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors