- 授权协议: GPLv3
- 开发语言: C/C++
- 操作系统: Linux
- 软件首页: http://code.google.com/p/lighttpd-cpp/
软件介绍
lighttpd-cpp 是一个 C++ 的助手类用来快速创建 lighttpd 的扩展模块,该助手类封装了很多模块编写的复杂度,如下面代码所示:
#include <lighttpd-cpp/plugin.hpp>
#include <boost/mpl/list.hpp>
#include <string>
class mod_blank : public Plugin< mod_blank >
{
public:
mod_blank( server& srv )
: Plugin< mod_blank >( srv ),
some_string ( "some_string" ),
some_int ( "some_int" ),
some_bool ( "some_bool" ),
some_short ( "some_short" )
{}
typedef boost::mpl::list< UriRawHandler,
UriCleanHandler,
DocRootHandler,
PhysicalHandler,
StartBackendHandler > handlers;
handler_t handle_uri_raw( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_uri_clean( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_docroot( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_physical( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_start_backend( connection& con ){ return HANDLER_GO_ON; }
config_option< std::string > some_string;
config_option< int > some_int;
config_option< bool > some_bool;
config_option< short > some_short;
};
MAKE_PLUGIN( mod_blank, "blank", LIGHTTPD_VERSION_ID );
解放战争(上)(1945年8月—1948年9月)
王树增 / 人民文学出版社 / 2009-8 / 60.00
《解放战争》为王树增非虚构文学著述中规模最大的作品。武器简陋、兵力不足的军队对抗拥有现代武器装备的兵力庞大的军队,数量不多、面积有限的解放区最终扩展成为九百六十万平方公里的共和国,解放战争在短短四年时间里演绎的是人类历史上的战争传奇。国际风云,政治智慧,时事洞察,军事谋略,军队意志,作战才能,作品具有宏阔的视角和入微的体察,包含着惊心动魄的人生沉浮和变幻莫测的战场胜负,尽展中国历史上规模最大的一场......一起来看看 《解放战争(上)(1945年8月—1948年9月)》 这本书的介绍吧!
