/************************************************************************
* IRC - Internet Relay Chat, include/s_user.h
* Copyright (C) 1992 Darren Reed
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
* "s_user.h". - Headers file.
*
* $Id: s_user.h,v 1.4 2005/08/27 16:23:49 jpinto Exp $
*
*/
#ifndef INCLUDED_s_user_h
#define INCLUDED_s_user_h
#ifndef INCLUDED_config_h
#include "config.h"
#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h> /* time_t */
#define INCLUDED_sys_types_h
#endif
#ifndef INCLUDED_common_h
#include "common.h"
#endif
extern int user_modes_from_c_to_bitmask[];
extern FLAG_ITEM user_modes[];
extern FLAG_ITEM imodes_map[];
struct Client;
#ifdef PACE_WALLOPS
extern time_t LastUsedWallops;
#endif
extern int user_mode(struct Client *, struct Client *, int, char **);
extern void send_umode (struct Client *, struct Client *,
int, int, char *);
extern void send_umode_out (struct Client*, struct Client *, int);
extern int show_lusers(struct Client *, struct Client *, int, char **);
extern void show_opers(struct Client* client);
extern int valid_hostname(const char* hostname);
extern int valid_username(const char* hostname);
extern int show_isupport(struct Client *sptr);
extern char* imode_change(int old, int new); /* this should be on m_imode.h */
extern char* get_mode_string(struct Client *acptr);
extern void check_idle_actions(struct Client *cptr);
extern void remove_autoway(struct Client *cptr);
#endif
syntax highlighted by Code2HTML, v. 0.9.1