can i use TYPEDEF keywordin the header file as i m using KEIL microvision3 c51 compiler
"error missing ; before u_char"
You should take the error message seriously. It is a huge hint that you need to terminate your type definitions with a semicolon.
"i think that KEIL didnot support typedef keyword in header file. am i right or wrong?"
Wrong.