| 37 | namespace dena { |
| 38 | |
| 39 | struct dbconnstate { |
| 40 | string_buffer readbuf; |
| 41 | string_buffer writebuf; |
| 42 | std::vector<prep_stmt> prep_stmts; |
| 43 | size_t resp_begin_pos; |
| 44 | size_t find_nl_pos; |
| 45 | void reset() { |
| 46 | readbuf.clear(); |
| 47 | writebuf.clear(); |
| 48 | prep_stmts.clear(); |
| 49 | resp_begin_pos = 0; |
| 50 | find_nl_pos = 0; |
| 51 | } |
| 52 | dbconnstate() : resp_begin_pos(0), find_nl_pos(0) { } |
| 53 | }; |
| 54 | |
| 55 | struct hstcpsvr_conn; |
| 56 | typedef auto_ptrcontainer< std::list<hstcpsvr_conn *> > hstcpsvr_conns_type; |
nothing calls this directly
no outgoing calls
no test coverage detected