"Fossies" - the Fresh Open Source Software archive

Member "cftp-0.12/options.h" of archive cftp-0.12.tar.gz:


#ifndef HAD_OPTIONS_H
#define HAD_OPTIONS_H
/*
   This file is automatically created from ``options.op''; don't make
   changes to this file, change ``options.op'' instead.

  Created from:
    $NiH: mkoptab-h.m4,v 1.9 2002/09/16 12:42:39 dillo Exp $
    $NiH: options.op,v 1.23 2002/09/16 12:42:40 dillo Exp $
*/

#define OPT_INT 0
#define OPT_CHR 1
#define OPT_STR 2
#define OPT_BOOL 3
#define OPT_ENUM 4

union optvar {
    int *i;
    char **s;
};

struct uoption {
    char *name, *shrt;
    char *help;
    int type;
    union optvar var;
    void (*func)();
    char **values;
};

extern struct uoption option[];
extern int opt_mode;
extern int opt_pasv;
extern int opt_stall;
extern int opt_tagchar;
extern int ftp_hist_size;
extern int opt_beep;
extern int opt_scrlimit;
extern char *opt_pager;
extern int opt_sort;
extern int opt_wrap;
extern int opt_user_anon_passwd;

#endif /* options.h */