~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/function.h

  • Committer: Andrew Hutchings
  • Date: 2010-09-26 08:33:47 UTC
  • mto: (1795.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: andrew@linuxjedi.co.uk-20100926083347-fzsc9e7w0j4u7bj1
Disable boost:po allow_guessing which was making some wrong assumptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef PLUGIN_SYSLOG_FUNCTION_H
21
21
#define PLUGIN_SYSLOG_FUNCTION_H
22
22
 
 
23
#include "module.h"
 
24
 
23
25
#include <drizzled/plugin/function.h>
24
26
#include <drizzled/item/func.h>
25
27
#include <drizzled/function/str/strfunc.h>
26
28
 
27
 
namespace drizzle_plugin
28
 
{
29
 
namespace udf
30
 
{
31
 
 
32
 
class Syslog : public drizzled::Item_str_func
 
29
class Function_syslog : public drizzled::Item_str_func
33
30
{
34
31
private:
35
 
  Syslog(const Syslog&);
36
 
  Syslog& operator=(const Syslog&);
 
32
  Function_syslog(const Function_syslog&);
 
33
  Function_syslog& operator=(const Function_syslog&);
37
34
 
38
35
public:
39
 
  Syslog();
 
36
  Function_syslog();
40
37
 
41
38
  const char *func_name() const { return "syslog"; }
42
39
 
45
42
  bool check_argument_count(int n);
46
43
};
47
44
 
48
 
} /* namespace udf */
49
 
} /* namepsace drizzle_plugin */
50
 
 
51
 
 
52
45
#endif /* PLUGIN_SYSLOG_FUNCTION_H */