~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_http/auth_http.cc

Merge default plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  CURLcode rv;
31
31
  CURL *curl_handle;
32
32
public:
33
 
  Auth_http() : drizzled::plugin::Authentication()
 
33
  Auth_http(std::string name_arg)
 
34
    : drizzled::plugin::Authentication(name_arg)
34
35
  {
35
36
    // we are trusting that plugin initializers are called singlethreaded at startup
36
37
    // if something else also calls curl_global_init() in a threadrace while we are here,
112
113
  if (curl_global_init(CURL_GLOBAL_NOTHING) != 0)
113
114
    return 1;
114
115
 
115
 
  auth= new Auth_http();
 
116
  auth= new Auth_http("auth_http");
116
117
  registry.add(auth);
117
118
 
118
119
  return 0;