~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/connect.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 01:02:23 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321010223-j8cph7eeyt1u3xol
Fixed function object to ensure it correctly returns a boolean type since
memcmp returns an integer. Added some more comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef DRIZZLE_SERVER_CONNECT_H
27
27
#define DRIZZLE_SERVER_CONNECT_H
28
28
 
29
 
int check_user(THD *thd, const char *passwd, uint32_t passwd_len, const char *db, bool check_count);
 
29
extern "C"
30
30
pthread_handler_t handle_one_connection(void *arg);
31
31
bool init_new_connection_handler_thread();
32
 
void time_out_user_resource_limits(THD *thd, USER_CONN *uc);
33
 
void decrease_user_connections(USER_CONN *uc);
34
 
void thd_init_client_charset(THD *thd, uint32_t cs_number);
35
 
bool setup_connection_thread_globals(THD *thd);
36
 
bool login_connection(THD *thd);
37
 
void prepare_new_connection_state(THD* thd);
38
 
void end_connection(THD *thd);
39
32
 
40
33
#endif /* DRIZZLE_SERVER_CONNECT_H */