[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

struct



Hi all,
 
I have a struct:
 
struct input_handle {
 
 void *private;
 
 int open;
 char *name;
 
 struct input_dev *dev;
 struct input_handler *handler;
 
 struct list_head d_node;
 struct list_head h_node;
};
 
The problem is that I am wondering what d_node and h_node represent. I think that they represent a struct of list_head. But am I right? I can't figure out what list_head is because I don't think that is declared anywhere. The only declaration I can find about list_head is:
 
static inline void init_input_dev(struct input_dev *dev)
{
 INIT_LIST_HEAD(&dev->h_list);
 INIT_LIST_HEAD(&dev->node);
}
 
Can somebody help me and tell me what d_node and h_node represent in the struct handle?
 
Thanks in advance,
 
PA

Reply to: