diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-02-23 11:50:46 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-02-23 11:50:46 +0000 |
commit | 9e64ee275baff7d21fbfa5db76f18f0ff94d9397 (patch) | |
tree | 98bc973c5f30f5d853dbb1b49dab480d968232bf /include | |
parent | cd83758b07623cc60cf145f1b15f2984a55c3943 (diff) | |
download | mailutils-9e64ee275baff7d21fbfa5db76f18f0ff94d9397.tar.gz mailutils-9e64ee275baff7d21fbfa5db76f18f0ff94d9397.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/sql.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mailutils/sql.h b/include/mailutils/sql.h index 2eb96bc84..1f9ded940 100644 --- a/include/mailutils/sql.h +++ b/include/mailutils/sql.h @@ -1,5 +1,5 @@ /* 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); |