*** empty log message ***
Showing
1 changed file
with
6 additions
and
1 deletions
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. | 2 | Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. |
3 | 3 | ||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Lesser General Public | 5 | modify it under the terms of the GNU Lesser General Public |
... | @@ -80,6 +80,9 @@ struct mu_sql_dispatch | ... | @@ -80,6 +80,9 @@ struct mu_sql_dispatch |
80 | int (*get_column) (mu_sql_connection_t conn, size_t nrow, size_t ncol, | 80 | int (*get_column) (mu_sql_connection_t conn, size_t nrow, size_t ncol, |
81 | char **pdata); | 81 | char **pdata); |
82 | 82 | ||
83 | int (*get_field_number) (mu_sql_connection_t conn, const char *fname, | ||
84 | size_t *fno); | ||
85 | |||
83 | const char *(*errstr) (mu_sql_connection_t conn); | 86 | const char *(*errstr) (mu_sql_connection_t conn); |
84 | }; | 87 | }; |
85 | 88 | ||
... | @@ -104,6 +107,8 @@ int mu_sql_num_columns (mu_sql_connection_t conn, size_t *np); | ... | @@ -104,6 +107,8 @@ int mu_sql_num_columns (mu_sql_connection_t conn, size_t *np); |
104 | 107 | ||
105 | int mu_sql_get_column (mu_sql_connection_t conn, size_t nrow, size_t ncol, | 108 | int mu_sql_get_column (mu_sql_connection_t conn, size_t nrow, size_t ncol, |
106 | char **pdata); | 109 | char **pdata); |
110 | int mu_sql_get_field (mu_sql_connection_t conn, size_t nrow, char *fname, | ||
111 | char **pdata); | ||
107 | 112 | ||
108 | const char *mu_sql_strerror (mu_sql_connection_t conn); | 113 | const char *mu_sql_strerror (mu_sql_connection_t conn); |
109 | 114 | ... | ... |
-
Please register or sign in to post a comment