html.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 32 行

HH
32
字号
// -*- c-basic-offset: 4 -*-#ifndef CLICK_PRETTY_HTML_HH#define CLICK_PRETTY_HTML_HH#include <click/string.hh>#include <click/straccum.hh>#include <click/hashmap.hh>#include <stdio.h>String html_quote_attr(const String &);String html_quote_text(const String &);String html_unquote(const String &);String html_unquote(const char *x, const char *end);const char *process_tag(const char *x, String &tag,	HashMap<String, String> &attr, bool &ended, bool unquote_value = true);const char *output_template_until_tag	(const char *templ, FILE *outf, String &tag,	 HashMap<String, String> &attrs, bool unquote = true, String *sep = 0);const char *output_template_until_tag	(const char *templ, StringAccum &sa, String &tag,	 HashMap<String, String> &attrs, bool unquote = true, String *sep = 0);inline Stringhtml_unquote(const String &s){    return html_unquote(s.data(), s.data() + s.length());}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?