📄 messageelement.hh
字号:
// -*- c-basic-offset: 4 -*-#ifndef CLICK_MESSAGEELEMENT_HH#define CLICK_MESSAGEELEMENT_HH#include <click/element.hh>CLICK_DECLS/*=cMessage(MESSAGE [, TYPE])=s debuggingprints a message on configuration=dThe Message element prints a message, warning, or error when configured. Itcan be used to provide configuration-level documentation. The MESSAGEargument is the message (a string); TYPE should be MESSAGE, WARNING, orERROR. The default is MESSAGE.If TYPE is ERROR the router will fail to initialize.=e Message("This configuration is deprecated; use test-tun.click instead.", WARNING) tun :: KernelTap(1.0.0.1/8); ...=aError */class MessageElement : public Element { public: MessageElement(); ~MessageElement(); const char *class_name() const { return "Message"; } int configure(Vector<String> &, ErrorHandler *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -