David List wrote:
I posed a MySQL C API question a few days back here, and got zero
answers. I assume it is because this is not the right place to ask
such questions.
Does anyone here know where I could ask C API questions? I haven't
been able to find a mailing list or newsgroup specifically dealing
with the MySQL C API.
You propably mean this post:
----------------------------------
I'm delving into the MySQL C API these days. I have Paul DuBois book
"MySQL" book by my side. He very quickly introduces functions that I'm
unable to find in the MySQL Reference Manual:
http://dev.mysql.com/doc/mysql/en/Clients.html
The functions I think of are these, for instance: load_defaults() and
handle_options().
Can anyone here tell me where to find a manual for these functions?
Thanks in advance. If this is not the right forum for API questions,
please direct to me to a better place. I have been unable to find one
myself.
----------------------------------
This group is pretty much correct for your question, but as you might
have noticed, there are many questions yet to be answered, because the
amount of people answering to the questions is so low. And those who
answer, sometimes dont't know the answer.
You might get more activity from mysql mailing-list, which I don't
personally read or follow, but others have told that it is more active.
But I can tell you what I can find out, but that's not very much.
---
handle_options I couldn't find at all from the C-Api header-files. From
Google I found some pages referring to it, so I assume it exists.
Perhaps only in version 4.x or higher(?)
---
load_defaults looks like this:
void load_defaults(const char *conf_file, const char **groups,
int *argc, char ***argv);
And from Google I found some other text about it and example code also
from here:
http://www.informit.com/articles/art...30494&seqNum=5
You can try if other pages from Google give you any more information (I
used search words: "load_defaults" mysql ), because I also failed to
find any information from MySQL manual.
This is not much, but I hope it helps. You could also try to contact the
MySQL staff, asking about why are those functions not listed in C API
documentation, and post the answer here also, if possible.