2001-08-17 05:46:24 +00:00
|
|
|
/*****************************************************************************
|
|
|
|
*
|
2003-10-11 21:22:16 +00:00
|
|
|
* $Id$
|
2001-08-17 05:46:24 +00:00
|
|
|
* File ..................: libs.h
|
|
|
|
* Purpose ...............: Libraries include list
|
|
|
|
*
|
|
|
|
*****************************************************************************
|
2003-10-11 21:22:16 +00:00
|
|
|
* Copyright (C) 1997-2003
|
2001-08-17 05:46:24 +00:00
|
|
|
*
|
|
|
|
* Michiel Broek FIDO: 2:280/2802
|
|
|
|
* Beekmansbos 10
|
|
|
|
* 1971 BV IJmuiden
|
|
|
|
* the Netherlands
|
|
|
|
*
|
|
|
|
* This file is part of MBSE BBS.
|
|
|
|
*
|
|
|
|
* This BBS 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 2, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* MBSE BBS 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 MBSE BBS; see the file COPYING. If not, write to the Free
|
2003-08-15 20:05:34 +00:00
|
|
|
* Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
2001-08-17 05:46:24 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _LIBS_H
|
|
|
|
#define _LIBS_H
|
|
|
|
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
#define _GNU_SOURCE 1
|
|
|
|
#endif
|
|
|
|
#define _REGEX_RE_COMP
|
|
|
|
|
|
|
|
#define TRUE 1
|
|
|
|
#define FALSE 0
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <sys/fcntl.h>
|
|
|
|
#include <unistd.h>
|
2001-08-25 19:53:11 +00:00
|
|
|
#include <termios.h>
|
2001-08-17 05:46:24 +00:00
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/wait.h>
|
|
|
|
#include <dirent.h>
|
|
|
|
#include <utime.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <pwd.h>
|
|
|
|
#include <netdb.h>
|
2001-08-25 19:53:11 +00:00
|
|
|
#ifdef SHADOW_PASSWORD
|
2001-08-17 05:46:24 +00:00
|
|
|
#include <shadow.h>
|
2001-08-25 19:53:11 +00:00
|
|
|
#endif
|
2001-08-17 05:46:24 +00:00
|
|
|
#include <sys/ioctl.h>
|
2001-08-25 19:53:11 +00:00
|
|
|
#ifdef HAVE_SYS_VFS_H
|
2001-08-17 05:46:24 +00:00
|
|
|
#include <sys/vfs.h>
|
2001-08-25 19:53:11 +00:00
|
|
|
#endif
|
2001-08-17 05:46:24 +00:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
#include <sys/utsname.h>
|
|
|
|
#include <sys/file.h>
|
|
|
|
#include <syslog.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
#include <arpa/ftp.h>
|
|
|
|
#include <arpa/telnet.h>
|
|
|
|
#include <sys/un.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <regex.h>
|
|
|
|
#include <setjmp.h>
|
|
|
|
#include <grp.h>
|
|
|
|
#include <sys/resource.h>
|
2003-11-29 14:45:39 +00:00
|
|
|
#include <pthread.h>
|
2003-05-10 14:14:16 +00:00
|
|
|
#ifdef HAVE_ICONV_H
|
2003-05-10 12:35:45 +00:00
|
|
|
#include <iconv.h>
|
2003-05-10 14:14:16 +00:00
|
|
|
#endif
|
2003-10-11 21:22:16 +00:00
|
|
|
#ifdef HAVE_ZLIB_H
|
|
|
|
#include <zlib.h>
|
|
|
|
#endif
|
2001-08-17 05:46:24 +00:00
|
|
|
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|