~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session/state.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-08 12:15:12 UTC
  • mto: (2275.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2276.
  • Revision ID: olafvdspek@gmail.com-20110408121512-a824wng0dy94hbli
Session Times

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#pragma once
22
22
 
23
 
#include <boost/shared_ptr.hpp>
24
23
#include <vector>
25
24
 
26
25
namespace drizzled {
29
28
class State 
30
29
{
31
30
public:
32
 
  typedef boost::shared_ptr<State> shared_ptr;
33
 
  typedef boost::shared_ptr<State> const_shared_ptr;
34
 
 
35
 
  State(const char *in_packet, size_t in_packet_length);
36
 
 
37
 
  const char *query() const;
38
 
 
39
 
  const char *query(size_t &size) const;
 
31
  State(const char*, size_t);
 
32
 
 
33
  const char* query() const;
 
34
  const char* query(size_t&) const;
40
35
 
41
36
protected:
42
37
  friend class Session;
46
41
 
47
42
} /* namespace session */
48
43
} /* namespace drizzled */
49