~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/service/function.cc

Renamed namespace slot to namespace service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <drizzled/server_includes.h>
18
18
#include <drizzled/gettext.h>
19
19
#include <drizzled/registry.h>
20
 
#include "drizzled/slot/function.h"
 
20
#include "drizzled/service/function.h"
21
21
 
22
22
using namespace std;
23
23
using namespace drizzled;
24
24
 
25
25
 
26
 
const plugin::Function *slot::Function::get(const char *name, size_t length) const
 
26
const plugin::Function *service::Function::get(const char *name, size_t length) const
27
27
{
28
28
  return udf_registry.find(name, length);
29
29
}
30
30
 
31
 
void slot::Function::add(const plugin::Function *udf)
 
31
void service::Function::add(const plugin::Function *udf)
32
32
{
33
33
  udf_registry.add(udf);
34
34
}
35
35
 
36
 
void slot::Function::remove(const plugin::Function *udf)
 
36
void service::Function::remove(const plugin::Function *udf)
37
37
{
38
38
  udf_registry.remove(udf);
39
39
}