X-Git-Url: http://git.jankratochvil.net/?p=tac_plus.git;a=blobdiff_plain;f=db_mysql.h;fp=db_mysql.h;h=7e806b695a793802be5ecc3c14d84f8b19f6e5d3;hp=0000000000000000000000000000000000000000;hb=413c510553a773cd16e2b538e4a208b4c4d9f775;hpb=a296ccf128acec69a7db2312ebcc231cd18e5944 diff --git a/db_mysql.h b/db_mysql.h new file mode 100644 index 0000000..7e806b6 --- /dev/null +++ b/db_mysql.h @@ -0,0 +1,15 @@ +#ifndef DB_MYSQL_H +#define DB_MYSQL_H 1 + +#include "tac_plus.h" + +#if defined(DB_MYSQL) && defined(DB) + + +extern int mysql_db_verify TAC_ARGS((const char *user, const char *users_passwd, const char *db_user, const char *db_password, const char *db_hostname, const char *db_name, const char *db_table, const char *dbfield_name, const char *dbfield_passwd)); +extern int mysql_db_acct TAC_ARGS((const char *db_user, const char *db_password, const char *db_hostname, const char *db_name, const char *db_table, const char *s_name, const char *c_name, const char *a_username, const char *elapsed_time, const char *bytes_in, const char *bytes_out)); + + +#endif /* defined(DB_MYSQL) && defined(DB) */ + +#endif /* DB_MYSQL_H */