Mercurial > dovecot > original-hg > dovecot-1.2
view src/auth/db-sql.h @ 6429:65c69a53a7be HEAD
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 14:34:22 +0300 |
parents | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef DB_SQL_H #define DB_SQL_H #include "sql-api.h" struct sql_settings { const char *driver; const char *connect; const char *password_query; const char *user_query; const char *update_query; const char *default_pass_scheme; }; struct sql_connection { struct sql_connection *next; pool_t pool; int refcount; char *config_path; struct sql_settings set; struct sql_db *db; }; struct sql_connection *db_sql_init(const char *config_path); void db_sql_unref(struct sql_connection **conn); #endif