PageRenderTime 51ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/libs/cgi/src/library_sources.cpp

http://github.com/darrengarvey/cgi
C++ | 35 lines | 13 code | 4 blank | 18 comment | 0 complexity | 3a412f27e8757c50a47b991ba91844d9 MD5 | raw file
  1. /**
  2. * Include this file into your project to compile the library "in-place".
  3. *
  4. * If you're using Boost.Jam, the library can be built by specifying
  5. * "--build-cgi" on the command line.
  6. *
  7. * eg.
  8. * libs/cgi/build$ bjam --build-cgi (builds the library)
  9. *
  10. * libs/cgi/example$ bjam --build-cgi install
  11. *
  12. * (builds and installs all the examples using the compiled binary
  13. * - which will be installed if necessary - see the docs for more)
  14. *
  15. **/
  16. #ifndef BOOST_CGI_LIBRARY_SOURCES_INCLUDE_ONCE
  17. # define BOOST_CGI_LIBRARY_SOURCES_INCLUDE_ONCE
  18. #else
  19. # error "CGI library sources included twice (don't do that)."
  20. #endif
  21. #ifndef BOOST_CGI_BUILD_LIB
  22. # warning "BOOST_CGI_BUILD_LIB not defined (are you sure you want to "
  23. # warning "build the library?)"
  24. # warning "Building anyway"
  25. # define BOOST_CGI_BUILD_LIB
  26. #endif // BOOST_CGI_BUILD_LIB
  27. //////////// the sources
  28. //#include <boost/cgi/impl/form_parser.ipp>
  29. //#include <boost/cgi/impl/response.ipp>
  30. #include <boost/cgi/impl/fcgi_request_service.ipp>
  31. #include <boost/cgi/detail/url_decode.ipp>