ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
377 B

  1. #ifndef CPPCMS_CGI_API_H
  2. #define CPPCMS_CGI_API_H
  3. #include "cgicc_connection.h"
  4. namespace cppcms {
  5. class cgi_session {
  6. public:
  7. virtual cgicc_connection &get_connection() = 0;
  8. virtual bool prepare() = 0;
  9. virtual ~cgi_session() {};
  10. };
  11. class cgi_api {
  12. public:
  13. virtual int get_socket() = 0;
  14. virtual cgi_session *accept_session() = 0;
  15. virtual ~cgi_api() {};
  16. };
  17. };
  18. #endif