~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.cc

  • Committer: Super-User
  • Date: 2008-11-24 22:51:33 UTC
  • mto: This revision was merged to the branch mainline in revision 611.
  • Revision ID: root@bitters-20081124225133-rllwss4v51tzx1cf
Yay! Compiles on Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
  one. Call function 'get_one_option()' once for each option.
101
101
*/
102
102
 
103
 
static char** (*getopt_get_addr)(const char *, uint, const struct my_option *);
 
103
static getopt_get_addr_func getopt_get_addr;
104
104
 
105
 
void my_getopt_register_get_addr(char** (*func_addr)(const char *, uint,
106
 
                                                    const struct my_option *))
 
105
void my_getopt_register_get_addr(getopt_get_addr_func func_addr)
107
106
{
108
107
  getopt_get_addr= func_addr;
109
108
}