~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_get_by_key.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <drizzled/function/str/strfunc.h>
37
37
 
38
38
/* implements memc_get_by_key */
39
 
class MemcachedGetByKey : public Item_str_func
 
39
class MemcachedGetByKey : public drizzled::Item_str_func
40
40
{
41
41
public:
42
42
  MemcachedGetByKey()
43
43
    : 
44
44
      Item_str_func(),
45
 
      failure_buff("FAILURE", &my_charset_bin)
 
45
      failure_buff("FAILURE", &drizzled::my_charset_bin)
46
46
  {}
47
47
 
48
48
  const char *func_name() const
50
50
    return "memc_get_by_key";
51
51
  }
52
52
 
53
 
  String *val_str(String *);
 
53
  drizzled::String *val_str(drizzled::String *);
54
54
 
55
55
  void fix_length_and_dec()
56
56
  {
58
58
  }
59
59
 
60
60
private:
61
 
  String failure_buff;
62
 
  String buffer;
 
61
  drizzled::String failure_buff;
 
62
  drizzled::String buffer;
63
63
};
64
64
 
65
65
#endif /* PLUGIN_MEMCACHED_FUNCTIONS_MEMC_GET_BY_KEY_H */