Skip to content

Commit

Permalink
mx_mysql: Add prototypes for mx_mysql_option*()
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 20, 2015
1 parent 5cb770f commit e8da4d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mx_mysql.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ static inline void mx_mysql_bind_string3(struct mx_mysql_bind *b, int index, cha
int mx_mysql_init(struct mx_mysql **);
int mx_mysql_free(struct mx_mysql **mysql);

int mx_mysql_option_set_default_file(struct mx_mysql *mysql, char *fname);
int mx_mysql_option_set_default_group(struct mx_mysql *mysql, char *group);

char *mx_mysql_option_get_default_file(struct mx_mysql *mysql);
char *mx_mysql_option_get_default_group(struct mx_mysql *mysql);

int mx_mysql_connect(struct mx_mysql **mysql);
int mx_mysql_connect_forever(struct mx_mysql **mysql, unsigned int seconds);
int mx_mysql_disconnect(struct mx_mysql *mysql);
Expand Down

0 comments on commit e8da4d7

Please sign in to comment.