~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2010-04-05 16:40:34 UTC
  • mfrom: (1410.3.5 ded_rm_my)
  • Revision ID: brian@gaz-20100405164034-e0k178oe1rbot6rp
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
#include <errno.h>
79
79
#include <sys/stat.h>
80
 
#include "drizzled/my_getopt.h"
 
80
#include "drizzled/option.h"
81
81
#ifdef HAVE_SYSENT_H
82
82
#include <sysent.h>
83
83
#endif
373
373
extern "C" pthread_handler_t signal_hand(void *arg);
374
374
static void drizzle_init_variables(void);
375
375
static void get_options(int *argc,char **argv);
376
 
int drizzled_get_one_option(int, const struct my_option *, char *);
 
376
int drizzled_get_one_option(int, const struct option *, char *);
377
377
static int init_thread_environment();
378
378
static const char *get_relative_path(const char *path);
379
379
static void fix_paths(string &progname);
1249
1249
  {
1250
1250
    int ho_error;
1251
1251
    char **tmp_argv= defaults_argv;
1252
 
    struct my_option no_opts[]=
 
1252
    struct option no_opts[]=
1253
1253
    {
1254
1254
      {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
1255
1255
    };
1401
1401
};
1402
1402
 
1403
1403
 
1404
 
struct my_option my_long_options[] =
 
1404
struct option my_long_options[] =
1405
1405
{
1406
1406
  {"help", '?', N_("Display this help and exit."),
1407
1407
   (char**) &opt_help, (char**) &opt_help, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
1861
1861
}
1862
1862
 
1863
1863
 
1864
 
int drizzled_get_one_option(int optid, const struct my_option *opt,
 
1864
int drizzled_get_one_option(int optid, const struct option *opt,
1865
1865
                             char *argument)
1866
1866
{
1867
1867
  switch(optid) {