1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
elinks/src/config/opttypes.h
Jonas Fonseca acf2ec806b Remove empty lines in start of header files
A left over from the CVS Id removal. Also, for a few files, normalize the
order in which things are declared in headers.
2005-11-15 11:33:27 +01:00

26 lines
716 B
C

#ifndef EL__CONFIG_OPTTYPES_H
#define EL__CONFIG_OPTTYPES_H
#include "config/options.h"
#include "util/string.h"
struct option_type_info {
unsigned char *name;
unsigned char *(*cmdline)(struct option *, unsigned char ***, int *);
unsigned char *(*read)(struct option *, unsigned char **, int *);
void (*write)(struct option *, struct string *);
void (*dup)(struct option *, struct option *);
int (*set)(struct option *, unsigned char *);
int (*add)(struct option *, unsigned char *);
unsigned char *help_str;
};
/* enum option_type is index in this array */
extern const struct option_type_info option_types[];
extern int commandline;
unsigned char *get_option_type_name(enum option_type type);
#endif