it's ok you will find attached three file rs232.c , rs232.h and lpc2214.h
add this in your project and in your make file to be compiled. if you aren't using the same board lpc2214 just change the name in rs232.c and rs232.h of the variable from your file lpcxxxx.h