~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/function.h

  • Committer: Brian Aker
  • Date: 2010-12-16 20:27:14 UTC
  • mto: (2002.1.4 clean) (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2003.
  • Revision ID: brian@tangent.org-20101216202714-fmzbmyoetoi8pr6j
First pass through, removing the need for us track the position in this
manner.

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