1 /* Copyright (c) 2009 The Regents of the University of California.
2 * See the COPYRIGHT files at the top of this source tree for full
5 * Kevin Klues <klueska@cs.berkeley.edu>
11 #include <ros/common.h>
12 #include <sys/queue.h>
14 #define DECLARE_LISTABLE_ITEM(name, link, item) \
17 LIST_ENTRY(name) link; \
20 LIST_HEAD(name##_list, name); \
21 typedef struct name name##_t; \
22 typedef struct name##_list name##_list_t;
24 #endif //ROS_LISTABLE_H