Appendix G. C API ReferenceThis appendix describes the C language application programming interface for the MySQL client library. The API consists of a set of functions for communicating with MySQL servers and accessing databases, and a set of data types used by those functions. The client library functions may be classified into the following categories:
Earlier editions of this book covered several routines that now are considered obsolete. These routines now are described in the Web addendum that is mentioned in the Introduction. Unless otherwise indicated, the data types and functions listed here have been present in the client library at least as early as MySQL 4.1.0. Changes made since then are so noted. This appendix serves as a reference, so it includes only brief code fragments illustrating use of the client library. For complete client programs and instructions for writing them, see Chapter 6, "Writing MySQL Programs Using C." |