1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-14 05:53:36 -04:00
elinks/src/config/domain.h
Miciah Dashiel Butler Masters 9f6ce80da3 Add config/domain.[ch] (doh!)
2007-08-30 23:36:20 +00:00

30 lines
543 B
C

#ifndef EL__CONFIG_DOMAIN_H
#define EL__CONFIG_DOMAIN_H
#include "config/options.h"
#include "util/lists.h"
struct session;
struct domain_tree {
LIST_HEAD(struct domain_tree);
struct option *tree;
int len;
unsigned char name[1]; /* Must be at end of struct. */
};
extern LIST_OF(struct domain_tree) domain_trees;
struct option *get_domain_tree(unsigned char *);
struct option *get_domain_option_from_session(unsigned char *,
struct session *);
void done_domain_trees(void);
#endif