By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,012 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,012 IT Pros & Developers. It's quick & easy.

Where to ask C API questions

P: n/a
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.

--
Med venlig hilsen / Best regards
David List
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
Jul 20 '05 #2

P: n/a
On Sat, 03 Jul 2004 21:17:31 GMT,
Aggro <sp**********@yahoo.com>
wrote in <Ln**************@read3.inet.fi>:

....<snip>...
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(?)
It does - I'm using it!
It would just be very nice to have the specification for it at hand,
since DuBois is not giving that in hos book. I may not be able to
remember the exact arguments for it next time I have to use it :)
---
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
I tried Googling too, but still: what I ask for is a specification for
these and other functions, that are at least as useful as the
documented mysql_xxxx() functions.
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.


That sounds like a good idea. I will try it.

Thank you for your answer.

--
Med venlig hilsen / Best regards
David List
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.