~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/gearman_udf/gman_do.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:
21
21
 
22
22
#include <libgearman/gearman.h>
23
23
 
24
 
class Item_func_gman_do :public Item_str_func
 
24
class Item_func_gman_do :public drizzled::Item_str_func
25
25
{
26
26
protected:
27
27
  typedef enum
36
36
private:
37
37
  gman_do_options_t options;
38
38
  gearman_client_st client;
39
 
  String buffer;
 
39
  drizzled::String buffer;
40
40
 
41
41
public:
42
42
  Item_func_gman_do():
48
48
  ~Item_func_gman_do();
49
49
  void fix_length_and_dec() { max_length=10; }
50
50
  virtual const char *func_name() const{ return "gman_do"; }
51
 
  String *val_str(String *);
 
51
  drizzled::String *val_str(drizzled::String *);
52
52
  void *realloc(size_t size);
53
53
};
54
54