⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- c-basic-offset: 4 -*-#ifndef CLICK_INSTALL_COMMON_HH#define CLICK_INSTALL_COMMON_HH#include <click/pathvars.h>	// defines HAVE_X_DRIVER symbols#include <click/string.hh>#include <click/hashmap.hh>#include <click/error.hh>#include "routert.hh"		// for StringMap// check whether we are compiling for Linux or FreeBSD#if !FOR_LINUXMODULE && !FOR_BSDMODULE# if HAVE_LINUXMODULE_DRIVER && HAVE_BSDMODULE_DRIVER#  error "Not sure whether to compile for linuxmodule or bsdmodule"# elif !HAVE_LINUXMODULE_DRIVER && !HAVE_BSDMODULE_DRIVER#  error "Must compile one of linuxmodule and bsdmodule"# elif HAVE_LINUXMODULE_DRIVER#  define FOR_LINUXMODULE 1# else#  define FOR_BSDMODULE 1# endif#endif#if FOR_LINUXMODULE# define OBJSUFFIX ".ko"# define CXXSUFFIX ".k.cc"# define COMPILETARGET "linuxmodule"#elif FOR_BSDMODULE# define OBJSUFFIX ".bo"# define CXXSUFFIX ".b.cc"# define COMPILETARGET "bsdmodule"#endifextern const char *clickfs_prefix;extern bool verbose;bool read_package_file(String filename, StringMap &packages, ErrorHandler *);bool read_active_modules(StringMap &packages, ErrorHandler *);int remove_unneeded_packages(const StringMap &active, const StringMap &packages, ErrorHandler *);int unload_click(ErrorHandler *);#endif

⌨️ 快捷键说明

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