Ns_Set *Ns_ConnHeaders( Ns_Conn *conn );
/* Log the Referer header. */ Ns_Set *headers; char *refer; headers = Ns_ConnHeaders(conn); if (headers != NULL) { refer = Ns_SetGetValue(headers, "Referer"); if (refer != NULL) { Ns_Log(Notice, "Referer: %s", refer); } }