int mysql_listdbs
(void);mysql_listdbs() will return a result pointer containing the databases available from the current mysql daemon. Use the mysql_dbname() function to traverse this result pointer.
For downward compatibility mysql_listdbs() can also be used.