typdef in iw_handler.h

2010-11-01 Thread Bond
I have used typedef in my C programs previously many times. So it is not new to me For example consider following typedef struct var { int data1; int data2; char data3; }; typedef struct var newtype; then we can use newtype instead of struct var. Now see this typedef int

Re: typdef in iw_handler.h

2010-11-01 Thread Darshan Ghumare
On Mon, Nov 1, 2010 at 2:24 PM, Bond jamesbond.2...@gmail.com wrote: I have used typedef in my C programs previously many times. So it is not new to me For example consider following typedef struct var { int data1; int data2; char data3; }; typedef struct var newtype; then we

Re: typdef in iw_handler.h

2010-11-01 Thread Cunsuo Guo
2010/11/1 Bond jamesbond.2...@gmail.com I have used typedef in my C programs previously many times. So it is not new to me For example consider following typedef struct var {    int data1;    int data2;    char data3; }; typedef struct var newtype; then we can use newtype instead of

Re: typdef in iw_handler.h

2010-11-01 Thread Tapas Mishra
On Mon, Nov 1, 2010 at 2:49 PM, Darshan Ghumare darshan.ghum...@gmail.com wrote: http://publications.gbdirect.co.uk/c_book/chapter8/typedef.html iw_handler is the type. For example: int do_something(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)