~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/function.h

  • Committer: Stewart Smith
  • Author(s): Vasil Dimov
  • Date: 2010-12-06 06:43:46 UTC
  • mto: (2021.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1986.
  • Revision ID: stewart@flamingspork.com-20101206064346-nufczti0ml6c6ilk
Merge Revision revid:vasil.dimov@oracle.com-20100927170812-jma17im0ni8ve7ku from MySQL InnoDB

Original revid:vasil.dimov@oracle.com-20100927170812-jma17im0ni8ve7ku

Original Authors: Vasil Dimov <vasil.dimov@oracle.com>
Original commit message:
Use C-style comment instead of C++ in a C header.

Spotted by:     Davi Arnaut

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 */