Commit 9e64ee27 9e64ee275baff7d21fbfa5db76f18f0ff94d9397 by Sergey Poznyakoff

*** empty log message ***

1 parent cd83758b
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......@@ -80,6 +80,9 @@ struct mu_sql_dispatch
int (*get_column) (mu_sql_connection_t conn, size_t nrow, size_t ncol,
char **pdata);
int (*get_field_number) (mu_sql_connection_t conn, const char *fname,
size_t *fno);
const char *(*errstr) (mu_sql_connection_t conn);
};
......@@ -104,6 +107,8 @@ int mu_sql_num_columns (mu_sql_connection_t conn, size_t *np);
int mu_sql_get_column (mu_sql_connection_t conn, size_t nrow, size_t ncol,
char **pdata);
int mu_sql_get_field (mu_sql_connection_t conn, size_t nrow, char *fname,
char **pdata);
const char *mu_sql_strerror (mu_sql_connection_t conn);
......