| 1 |
/* -*- linux-c -*- |
| 2 |
* Map list abstractions |
| 3 |
* Copyright (C) 2012 Red Hat Inc. |
| 4 |
* |
| 5 |
* This file is part of systemtap, and is free software. You can |
| 6 |
* redistribute it and/or modify it under the terms of the GNU General |
| 7 |
* Public License (GPL); either version 2, or (at your option) any |
| 8 |
* later version. |
| 9 |
*/ |
| 10 |
|
| 11 |
#ifndef _STAPDYN_MAP_LIST_H_ |
| 12 |
#define _STAPDYN_MAP_LIST_H_ |
| 13 |
|
| 14 |
#include "offset_list.h" |
| 15 |
|
| 16 |
#define mlist_head olist_head |
| 17 |
#define mlist_next olist_onext |
| 18 |
#define mlist_prev olist_oprev |
| 19 |
|
| 20 |
#define INIT_MLIST_HEAD INIT_OLIST_HEAD |
| 21 |
|
| 22 |
#define mlist_add olist_add |
| 23 |
#define mlist_del olist_del |
| 24 |
#define mlist_empty olist_empty |
| 25 |
#define mlist_entry olist_entry |
| 26 |
#define mlist_move_tail olist_move_tail |
| 27 |
|
| 28 |
#define mlist_for_each_safe olist_for_each_safe |
| 29 |
|
| 30 |
|
| 31 |
#define mhlist_head ohlist_head |
| 32 |
#define mhlist_node ohlist_node |
| 33 |
|
| 34 |
#define INIT_MHLIST_HEAD INIT_OHLIST_HEAD |
| 35 |
#define INIT_MHLIST_NODE INIT_OHLIST_NODE |
| 36 |
|
| 37 |
#define mhlist_add_head ohlist_add_head |
| 38 |
#define mhlist_del_init ohlist_del_init |
| 39 |
|
| 40 |
#define mhlist_for_each_entry ohlist_for_each_entry |
| 41 |
|
| 42 |
|
| 43 |
#endif /* _STAPDYN_MAP_LIST_H_ */ |