~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/libdrizzle_priv.h

  • Committer: Monty Taylor
  • Date: 2009-02-08 11:11:30 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mordred@inaugust.com-20090208111130-futpwptxv5he3boe
Renamed non-prefixed things from libdrizzleclient to drizzleclient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#define min(a, b)       ((a) < (b) ? (a) : (b))
42
42
#endif
43
43
 
44
 
const char * sqlstate_get_unknown(void);
45
 
const char * sqlstate_get_not_error(void);
46
 
const char * sqlstate_get_cant_connect(void);
 
44
const char * drizzleclient_sqlstate_get_unknown(void);
 
45
const char * drizzleclient_sqlstate_get_not_error(void);
 
46
const char * drizzleclient_sqlstate_get_cant_connect(void);
47
47
 
48
48
void drizzle_set_default_port(unsigned int port);
49
49
void drizzle_set_error(DRIZZLE *drizzle, int errcode, const char *sqlstate);
50
50
void drizzle_set_extended_error(DRIZZLE *drizzle, int errcode,
51
51
                                const char *sqlstate,
52
52
                                const char *format, ...);
53
 
void free_old_query(DRIZZLE *drizzle);
 
53
void drizzleclient_free_old_query(DRIZZLE *drizzle);
54
54
 
55
 
int connect_with_timeout(int fd, const struct sockaddr *name,
 
55
int drizzleclient_connect_with_timeout(int fd, const struct sockaddr *name,
56
56
                         unsigned int namelen, int32_t timeout);
57
57
 
58
58
void drizzle_close_free_options(DRIZZLE *drizzle);
59
59
void drizzle_close_free(DRIZZLE *drizzle);
60
60
 
61
61
/* Hook Methods */
62
 
bool cli_read_query_result(DRIZZLE *drizzle);
63
 
DRIZZLE_RES *cli_use_result(DRIZZLE *drizzle);
64
 
void cli_fetch_lengths(uint32_t *to, DRIZZLE_ROW column,
 
62
bool drizzleclient_cli_read_query_result(DRIZZLE *drizzle);
 
63
DRIZZLE_RES *drizzleclient_cli_use_result(DRIZZLE *drizzle);
 
64
void drizzleclient_cli_fetch_lengths(uint32_t *to, DRIZZLE_ROW column,
65
65
                       uint32_t field_count);
66
 
void cli_flush_use_result(DRIZZLE *drizzle);
 
66
void drizzleclient_cli_flush_use_result(DRIZZLE *drizzle);
67
67
 
68
68
#endif