+
+/*
+ * This file is based on include/linux/list.h in the Linux kernel source code.
+ */
+
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
struct hlist_node *next, **pprev;
};
+/*
+ * Structure used to create a linked list of streams that share the same lookup
+ * table entry. This structure may be embedded in either a dentry (for the
+ * un-named data stream) or an ads_entry (for an alternate data stream). The
+ * @type field indicates which of these structures the stream_list_head is
+ * embedded in.
+ */
struct stream_list_head {
struct list_head list;
enum {
#define LIST_HEAD_INIT(name) { &(name), &(name) }
+#ifdef LIST_HEAD /* BSD sys/queue.h defines this... */
+#undef LIST_HEAD
+#endif
+
#define LIST_HEAD(name) \
struct list_head name = LIST_HEAD_INIT(name)