// $Id: wap.h,v 1.4 2006/09/29 08:51:40 lynx Exp $ // vim:syntax=lpc // #define HTOK htok3(prot, "text/vnd.wap.wml", "Cache-Control: no-cache\n") // wml.textdb is the correct way to do this these days... #define WML_START "\ \ " #define WML_END "" #define LOGIN_WML write("User:"); \ write("Pass:"); \ write("[login]") #define HEADER_WML(x) write(WML_START+"") #define NAV_WML write("[inbox][send msg]"); #define SEND_PERSON(x) (""+(x)+"") #define FOOTER_WML write("\n" + WML_END)
") #define NAV_WML write("[inbox][send msg]"); #define SEND_PERSON(x) (""+(x)+"") #define FOOTER_WML write("