boots.h
lotos123/src/boots.h · 1.5 KB
From the archive lotos123.tar.gz
Download the archive « Back to the archive contents
/* vi: set ts=4 sw=4 ai: */
/*
* boots.h
*
* Lotos v1.2.3 : (c) 1999-2003 Pavol Hluchy (Lopo)
* last update : 30.1.2003
* email : lotos@losys.sk
* homepage : lotos.losys.sk
*/
#ifndef __BOOTS_H__
#define __BOOTS_H__ 1
extern UR_OBJECT user_first, user_last;
extern struct {
char name[USER_NAME_LEN+1],time[80];
short int on;
} last_login_info[];
extern RM_OBJECT room_first, room_last;
extern TR_OBJECT transport_first, transport_last;
#ifdef NETLINKS
extern NL_OBJECT nl_first, nl_last;
#endif
extern SYSPP_OBJECT syspp;
extern struct user_dir_struct *first_dir_entry;
extern struct wiz_list_struct *first_wiz_entry, *last_wiz_entry;
extern struct command_struct *first_command;
extern char cmd_history[16][128];
extern SYS_OBJECT amsys;
extern char verification[];
extern int listen_sock[], port[], port_total;
extern char text[];
extern char wrd[8][81];
extern char confile[];
extern int force_listen, no_prompt, logon_flag;
extern int config_line;
extern int use_hostsfile;
extern char susers_restrict[];
extern char *no_leave;
struct {
char *name;
char *alias;
} user_level[]={
{ "VAZEN", "J" },
{ "PP06", "N" },
{ "286", "2" },
{ "386", "3" },
{ "486", "4" },
{ "PENTIUM", "5" },
{ "MMX", "6" },
{ "P_II", "7" },
{ "P_III", "8" },
{ "P_IV", "9" },
{ "XEON", "X" },
{ "BOT", "B" },
{ "ROOT", "R" }
};
extern struct {
char *name,*alias; int level,function;
} command_table[];
#endif /* __BOOTS_H__ */