mailfilter-0.8.2/0000777000175000017500000000000011241450773010662 500000000000000mailfilter-0.8.2/ylwrap0000755000175000017500000001407411212607131012036 00000000000000#! /bin/sh # ylwrap - wrapper for lex/yacc invocations. scriptversion=2007-11-22.22 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, # 2007 Free Software Foundation, Inc. # # Written by Tom Tromey . # # 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 2, 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case "$1" in '') echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 ;; --basedir) basedir=$2 shift 2 ;; -h|--h*) cat <<\EOF Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]... Wrapper for lex/yacc invocations, renaming files as desired. INPUT is the input file OUTPUT is one file PROG generates DESIRED is the file we actually want instead of OUTPUT PROGRAM is program to run ARGS are passed to PROG Any number of OUTPUT,DESIRED pairs may be used. Report bugs to . EOF exit $? ;; -v|--v*) echo "ylwrap $scriptversion" exit $? ;; esac # The input. input="$1" shift case "$input" in [\\/]* | ?:[\\/]*) # Absolute path; do nothing. ;; *) # Relative path. Make it absolute. input="`pwd`/$input" ;; esac pairlist= while test "$#" -ne 0; do if test "$1" = "--"; then shift break fi pairlist="$pairlist $1" shift done # The program to run. prog="$1" shift # Make any relative path in $prog absolute. case "$prog" in [\\/]* | ?:[\\/]*) ;; *[\\/]*) prog="`pwd`/$prog" ;; esac # FIXME: add hostname here for parallel makes that run commands on # other machines. But that might take us over the 14-char limit. dirname=ylwrap$$ trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 mkdir $dirname || exit 1 cd $dirname case $# in 0) "$prog" "$input" ;; *) "$prog" "$@" "$input" ;; esac ret=$? if test $ret -eq 0; then set X $pairlist shift first=yes # Since DOS filename conventions don't allow two dots, # the DOS version of Bison writes out y_tab.c instead of y.tab.c # and y_tab.h instead of y.tab.h. Test to see if this is the case. y_tab_nodot="no" if test -f y_tab.c || test -f y_tab.h; then y_tab_nodot="yes" fi # The directory holding the input. input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` # Quote $INPUT_DIR so we can use it in a regexp. # FIXME: really we should care about more than `.' and `\'. input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'` while test "$#" -ne 0; do from="$1" # Handle y_tab.c and y_tab.h output by DOS if test $y_tab_nodot = "yes"; then if test $from = "y.tab.c"; then from="y_tab.c" else if test $from = "y.tab.h"; then from="y_tab.h" fi fi fi if test -f "$from"; then # If $2 is an absolute path name, then just use that, # otherwise prepend `../'. case "$2" in [\\/]* | ?:[\\/]*) target="$2";; *) target="../$2";; esac # We do not want to overwrite a header file if it hasn't # changed. This avoid useless recompilations. However the # parser itself (the first file) should always be updated, # because it is the destination of the .y.c rule in the # Makefile. Divert the output of all other files to a temporary # file so we can compare them to existing versions. if test $first = no; then realtarget="$target" target="tmp-`echo $target | sed s/.*[\\/]//g`" fi # Edit out `#line' or `#' directives. # # We don't want the resulting debug information to point at # an absolute srcdir; it is better for it to just mention the # .y file with no path. # # We want to use the real output file name, not yy.lex.c for # instance. # # We want the include guards to be adjusted too. FROM=`echo "$from" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` TARGET=`echo "$2" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \ -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$? # Check whether header files must be updated. if test $first = no; then if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then echo "$2" is unchanged rm -f "$target" else echo updating "$2" mv -f "$target" "$realtarget" fi fi else # A missing file is only an error for the first file. This # is a blatant hack to let us support using "yacc -d". If -d # is not specified, we don't want an error when the header # file is "missing". if test $first = yes; then ret=1 fi fi shift shift first=no done else ret=$? fi # Remove the directory. cd .. rm -rf $dirname exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: mailfilter-0.8.2/configure.ac0000644000175000017500000001007111134562527013065 00000000000000# configure.in: Autoconfigure input file for mailfilter # $Id: configure.ac,v 1.1.2.4.2.12 2007/01/01 15:32:29 baueran Exp $ # # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a configuration # script generated by Autoconf, you may include it under the same # distribution terms that you use for the rest of that program. # # Process this file with autoconf to produce a configure script. AC_PREREQ(2.54) AC_INIT(mailfilter, 0.8.2, [mailfilter-dev@lists.sourceforge.net]) AC_REVISION($Revision: 1.1.2.4.2.12 $) AC_SUBST(PACKAGE_COPYRIGHT) AC_DEFINE(PACKAGE_COPYRIGHT, "Copyright (c) 2000 - 2009 Andreas Bauer ", [Copyright information.]) AC_COPYRIGHT(Copyright (c) 2000 - 2009 Andreas Bauer ) AC_CONFIG_SRCDIR([src/mailfilter.cc]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE # Checks for programs. AC_PROG_AWK AC_PROG_CXX AC_PROG_CC AC_ISC_POSIX AC_PROG_MAKE_SET AC_PROG_YACC AC_PROG_LEX # More specifically, check for installed SSL library. AC_ARG_WITH(openssl, [ --with-openssl use OpenSSL (default="yes")]) if test "$with_openssl" != "no" ; then AC_CHECK_LIB(crypto,BIO_new) AC_CHECK_LIB(ssl,SSL_new) AC_DEFINE([USE_SSL],[1], [Is set if SSL encryption via OpenSSL is desired.]) fi # Static or dynamic linking? Look inside m4/ for further information. # PETI_ENABLED_DYNAMIC_LINKING # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h \ wordexp.h \ fcntl.h \ inttypes.h \ libintl.h \ locale.h \ netdb.h \ netinet/in.h \ stdlib.h \ string.h \ sys/socket.h \ sys/time.h \ unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_TIME AC_CHECK_FUNC(getopt_long, [AC_DEFINE(HAVE_GETOPT_H,1, [Define this if there is a system getopt.h header]) AM_CONDITIONAL([GETOPT], true)], [AC_MSG_RESULT(Using included getopt header) AM_CONDITIONAL([GETOPT], false)]) # Checks for (library) functions. AC_FUNC_ERROR_AT_LINE AC_TYPE_SIGNAL AC_CHECK_LIB(socket,connect) AC_CHECK_LIB(nsl,gethostbyname) AC_CHECK_LIB(regex,regcomp) AC_CHECK_FUNCS([alarm \ gethostbyname \ gettimeofday \ memset \ regcomp \ select \ setlocale \ socket \ strcasecmp \ strdup \ snprintf \ strerror]) # Usually this should not be changed. AC_DEFINE(PREVIEW_COMMAND, "TOP %d 0\r\n", [Define different only if you really know what you're doing!]) # File names for mailfilter's preferences AC_DEFINE(RC_FILE_NAME, "/.mailfilterrc", [.mailfilterrc is for Unix users.]) AC_DEFINE(RC_FILE_NAME_WIN, "/_mailfilterrc", [_mailfilterrc is for Windows users.]) AC_DEFINE(HOME_ENV, "HOME", [Most likely your home directory is stored in $HOME.]) AC_CONFIG_FILES([Makefile \ mailfilter.spec \ src/Makefile \ man/Makefile \ doc/Makefile \ contrib/Makefile \ doc/Doxyfile]) AC_OUTPUT cat <, 1996. # 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 2, 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: mailfilter-0.8.2/mailfilter.spec.in0000644000175000017500000000652310672706605014222 00000000000000# mailfilter.spec: used for building rpms. # $Id: mailfilter.spec.in,v 1.18.2.4.2.1 2004/06/02 19:45:37 baueran Exp $ # -*- rpm-spec -*- %define name mailfilter %define version 0.7.1 %define release 1 Name: %{name} Version: %{version} Release: %{release} Summary: A program that filters your incoming e-mail to help remove spam. Copyright: GPL Group: Applications/Internet Source: %{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root URL: http://mailfilter.sourceforge.net/ Packager: Andreas Bauer %description Mailfilter is very flexible utility for UNIX (-like) operating systems to get rid of unwanted e-mail messages, before having to go through the trouble of downloading them to the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc. Install Mailfilter if you'd like to remove spam from your POP mail accounts. %prep %setup -q %build %configure make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc contrib %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS ABOUT-NLS %doc doc/FAQ doc/README.Slackware doc/README.Windows doc/rcfile.example1 doc/rcfile.example2 doc/rcfile.example2.ru doc/rcfile.example1.it doc/win_Makefile.am doc/win_configure.in doc/win_src_Makefile.am doc/supported_servers %{_bindir}/mailfilter %{_datadir}/locale/*/LC_MESSAGES/mailfilter.mo %{_mandir}/man1/mailfilter.1* %{_mandir}/man5/mailfilterrc.5* %{_mandir}/man5/mailfilterex.5* %changelog * Sat Oct 26 2002 Andreas Bauer - Added contrib/ to the list of files being packaged * Tue Feb 20 2002 Andreas Bauer - Added doc/supported_servers * Sat Dec 01 2001 Andreas Bauer - Chucked out the "misplaced" make install-strip * Sat Jul 28 2001 Andreas Bauer - Added translations * Mon Jul 09 2001 Andreas Bauer - Changed version number and added rcfile-examples * Thu May 31 2001 Andreas Bauer - Changed to %configure, make install-strip, %makeinstall * Wed Apr 25 2001 Andreas Bauer - Removed BUGS from the distribution and added ABOUT-NLS - Changed installation part to %make and %makeinstall * Fri Jan 26 2001 Andreas Bauer - Removed api/ from the doc/ directory - Added more man pages - Added INSTALL file - Added wildcards to man page file names * Wed Jan 24 2001 Andreas Bauer - Added new man path * Thu Jan 18 2001 Andreas Bauer - Changed to standard paths defined in /usr/lib/rpm/macros * Tue Jan 09 2001 Andreas Bauer - Adjusted to new version and moved location of doc files * Fri Dec 22 2000 Andreas Bauer - Adjusted to a new version and fixed a couple of small things * Sat Dec 09 2000 Matthew R. MacIntyre - Added api documentation to rpm * Wed Dec 06 2000 Matthew R. MacIntyre - Added missing THANKS file to documentation files list * Mon Dec 04 2000 Matthew R. MacIntyre - Initial creation of rpm package - Added manual page mailfilter-0.8.2/config.h.in0000644000175000017500000001046311212607125012616 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME /* Define this if there is a system getopt.h header */ #undef HAVE_GETOPT_H /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H /* Define to 1 if you have the `nsl' library (-lnsl). */ #undef HAVE_LIBNSL /* Define to 1 if you have the `regex' library (-lregex). */ #undef HAVE_LIBREGEX /* Define to 1 if you have the `socket' library (-lsocket). */ #undef HAVE_LIBSOCKET /* Define to 1 if you have the `ssl' library (-lssl). */ #undef HAVE_LIBSSL /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the `regcomp' function. */ #undef HAVE_REGCOMP /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF /* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the header file. */ #undef HAVE_WORDEXP_H /* Most likely your home directory is stored in $HOME. */ #undef HOME_ENV /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Copyright information. */ #undef PACKAGE_COPYRIGHT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define different only if you really know what you're doing! */ #undef PREVIEW_COMMAND /* .mailfilterrc is for Unix users. */ #undef RC_FILE_NAME /* _mailfilterrc is for Windows users. */ #undef RC_FILE_NAME_WIN /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Is set if SSL encryption via OpenSSL is desired. */ #undef USE_SSL /* Version number of package */ #undef VERSION /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a `char[]'. */ #undef YYTEXT_POINTER /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `unsigned int' if does not define. */ #undef size_t mailfilter-0.8.2/man/0000777000175000017500000000000011241450773011435 500000000000000mailfilter-0.8.2/man/mailfilterrc.50000644000175000017500000002610711212607433014115 00000000000000.TH MAILFILTERRC "5" "January 2009" Mailfilter "File Format Descriptions" .SH NAME mailfilterrc \- Mailfilter configuration file .SH SYNOPSIS .B $HOME/.mailfilterrc .SH DESCRIPTION For a quick start read the INSTALL file provided with the Mailfilter distribution and copy its example configuration. This is enough to run the program with some basic features. .PP Generally the rcfile contains all of Mailfilter's settings and information on the mail accounts that should be checked for spam. It is possible to place remarks in that file by beginning a line with `#'. .PP It does not matter in which order keywords are inserted, except for the account set-up. To define an account you .B must use this whole block of commands: .PP .RS SERVER = "your.pop.server.com" .br USER = "your.username" .br PASS = "your.password" .br PROTOCOL = "pop3" .br PORT = 110 .RE .PP Currently Mailfilter supports the POP3, and APOP protocols which usually communicate over port 110. However, port 995 is required, if Mailfilter is instructed to communicate using the SSL layer as in: .PP .RS SERVER = "your.pop.ssl.server.com" .br USER = "your.username" .br PASS = "your.password" .br PROTOCOL = "pop3/ssl" .br PORT = 995 .RE .PP .SH "KEYWORDS" Generally the rcfile is not case-sensitive, which means it does not matter whether the keywords are spelled in capitals or not. You can place white space characters before and in between a command and its parameters. .PP .RS # This is a typical comment .br DENY = "^Subject:.*Get rich fast" .RE .PP To see some example applications of the engaged keywords, please refer to the .BR mailfilterex(5) man page. .PP .SM ALLOW = """\fBexpression\fR""" .RS This keyword can be used to override spam filters i.e. to define `friends'. A message that matches any ALLOW rules will not be filtered or deleted. ALLOW takes a Regular Expression as argument. .RE .PP .SM DEL_DUPLICATES = """\fB[yes|no]\fR""" .RS This keyword can be used to delete duplicates of messages sent to one or several accounts at once, i.e. it removes redundant e-mails. DEL_DUPLICATES takes either `yes' or `no' as argument. The default value is `no'. .RE .PP .SM DENY = """\fBexpression\fR""" .RS This keyword can be used to define spam filters. Messages that match spam filters (unless they match an ALLOW rule at the same time) are being deleted from the mail server. DENY takes a Regular Expression as argument. .RE .PP .SM DENY <> """\fBexpression\fR""" .RS This keyword can be used to define a negative spam filter. Messages that do not match the negative filters are being deleted from the server. DENY<> takes a Regular Expression as argument, e.g. `DENY<>^To:.*my_username'. .RE .PP .SM DENY_CASE = """\fBexpression\fR""" .RS This keyword can be used to define case-sensitive spam filters. It overrides the default settings for case-sensivity (see REG_CASE for details). DENY_CASE takes a Regular Expression as argument. .RE .PP .SM DENY_CASE <> """\fBexpression\fR""" .RS This keyword can be used to define negative case-sensitive spam filters. It overrides the default settings for case-sensivity (see REG_CASE for details). DENY_CASE<> takes a Regular Expression as argument. .RE .PP .SM DENY_NOCASE = """\fBexpression\fR""" .RS This keyword can be used to define case-insensitive spam filters. It overrides the default settings for case-sensivity (see REG_CASE for details). DENY_NOCASE takes a Regular Expression as argument. .RE .PP .SM DENY_NOCASE <> """\fBexpression\fR""" .RS This keyword can be used to define negative case-insensitive spam filters. It overrides the default settings for case-sensivity (see REG_CASE for details). DENY_NOCASE<> takes a Regular Expression as argument. .RE .PP .SM HIGHSCORE = \fBvalue\fR .RS This keyword can be used to define a discrete threshold upon which messages should be deleted. Individual scores are accumulated by assigning values and filters with the SCORE or MAXSIZE_SCORE keywords. Its default value is 100. .RE .PP .SM INCLUDE = """\fBpath\fR""" .RS This keyword can be used to include additional configuration files into the main Mailfilter rcfile. That is, the program settings may be conveniently split into several different files. INCLUDE expects a path and file name as argument. .RE .PP .SM LOGFILE = """\fBpath\fR""" .RS This keyword can be used to define a log file for Mailfilter. The log file is being used to store error messages and information on deleted messages. LOGFILE expects a path and file name as argument. .RE .PP .SM MAXLENGTH = \fBvalue\fR .RS This keyword can be used to define a maximum string length that must not be exceeded by any field of a message header. The according Internet standard RFC 822 suggests a limit of 998 characters per field. This option even overrides any `friendly' ALLOW rules, i.e. deletes them if they exceed the limit. Assigning a `0' disables the feature. .RE .PP .SM MAXSIZE_ALLOW = \fBvalue\fR .RS This keyword can be used to define a maximum message size that must not be exceeded by all messages that match any ALLOW rule. (One could say, this is the size limit `friends' should not exceed.) The limit does not affect other messages. To define a more general message size limit, use MAXSIZE_DENY instead. MAXSIZE_ALLOW takes the number of bytes as argument. Assigning a `0' disables this feature. .RE .PP .SM MAXSIZE_DENY = \fBvalue\fR .RS This keyword can be used to define a general message size limit that must not be exceeded. (Unless the incoming message matches an ALLOW rule. In that case MAXSIZE_ALLOW would apply.) MAXSIZE_DENY takes the number of bytes as argument. Assigning a `0' disables this feature. .RE .PP .SM MAXSIZE_SCORE \fBvalue\fR = \fBvalue\fR .RS This keyword can be used to attach a score to a size limit. If that limit is exceeded, then the score will be added to the accumulated score from applying other scored filters (see the SCORE keyword below). The first value (before `=') is the score, the second value (after `=') is the size limit. Assigning a `0' to either the score or the size limit disables this feature. .RE .PP .SM NORMAL = """\fB[yes|no]\fR""" .RS This keyword tells Mailfilter to `normalise' the subject strings in messages. A normalised string consists only of alpha-numeric characters. When normalisation is turned on, Mailfilter tries to apply its filters first to the original subject line, before it tries to match the normalised one. NORMAL takes either `yes' or `no' as argument. The default value is `no'. .RE .PP .SM REG_CASE = """\fB[yes|no]\fR""" .RS This keyword can be used to define how Mailfilter should treat its Regular Expressions, case-sensitive or case-insensitive. REG_CASE takes either `yes' as argument to enable case-sensivity or otherwise `no' to disable it. The default behaviour is to ignore the case. .RE .PP .SM REG_TYPE = """\fB[basic|extended]\fR""" .RS This keyword can be used to define which type of Regular Expression Mailfilter should use. REG_TYPE can either be switched to `extended' or `basic'. The default value is `basic'. .RE .PP .SM SCORE \fBvalue\fR = """\fBexpression\fR""" .RS This keyword can be used to assign a score to a filter. It expects a discrete number and a Regular Expression filter as input. If the filter matches a line of the message header, the score is being accumulated to previously matched filters. (See mailfilterex (5) for an example.) .RE .PP .SM SCORE \fBvalue\fR <> """\fBexpression\fR""" .RS This keyword can be used in the same fashion as SCORE, but it assigns the score only if the filter can not be matched to any line of the message header. .RE .PP .SM SCORE_CASE \fBvalue\fR = """\fBexpression\fR""" .RS This keyword is similar to SCORE, but it treats the Regular Expression as case sensitive filter, regardless of other program settings. .RE .PP .SM SCORE_CASE \fBvalue\fR <> """\fBexpression\fR""" .RS This keyword can be used in the same fashion as SCORE_CASE, but it assigns the score only if the filter can not be matched to any line of the message header. .RE .PP .SM SCORE_NOCASE \fBvalue\fR = """\fBexpression\fR""" .RS This keyword is similar to SCORE, but it treats the Regular Expression as case insensitive filter, regardless of other program settings. .RE .PP .SM SCORE_NOCASE \fBvalue\fR <> """\fBexpression\fR""" .RS This keyword can be used in the same fashion as SCORE_NOCASE, but it assigns the score only if the filter can not be matched to any line of the message header. .RE .PP .SM SERVER / USER / PASS / PROTOCOL / PORT .RS These keywords can only be used as a whole and in the given order. Such a block defines an e-mail account to be checked for spam by Mailfilter. A typical block looks like this: .PP .RS SERVER = "your.pop.server.com" .br USER = "your.username" .br PASS = "your.password" .br PROTOCOL = "protocol" .br PORT = 110 .RE .PP It is especially important to not change the arrangement of this block. At the moment, PROTOCOL supports either `pop3' (`pop3/ssl'), or `apop' (`apop/ssl'). The normal variant usually corresponds to port 110, while encrypted communication via SSL, typically, requires port 995. .RE .PP .SM SHOW_HEADERS = """\fBpath\fR""" .RS This keyword can be used to store the message headers of absolutely all filtered e-mails of an account. SHOW_HEADERS expects a path and a file name as argument indicating where to store the headers in. .RE .PP .SM TEST = """\fB[yes|no]\fR""" .RS This keyword prevents Mailfilter from deleting any messages on any e-mail accounts. It is useful to experiment with filters and Regular Expressions and to see how Mailfilter reacts to the user's changes. The option can be turned on by assigning `yes' to TEST. The default value is `no'. .RE .PP .SM TIMEOUT = \fBvalue\fR .RS This keyword can be used to define a server response time out in seconds. That is, the mail server has to respond to an issued command within a given time span, otherwise Mailfilter will drop the connection and issue an error. TIMEOUT takes an integer value as argument. The default is set to 30 (seconds). .RE .PP .SM VERBOSE = \fBvalue\fR .RS This keyword can be used to define the level of verbosity. It takes an integer as argument. .IP 0 Silent, show nothing at all .IP 1 Only show errors .IP 2 Only show "Deleted..." messages and errors .IP 3 Default; Show "Deleted..." messages, errors and "Examining..." messages .IP 4 Like (3), except this also shows the current account's username .IP 5 Like (4), except this also shows which filter matched which string of an e-mail header .IP 6 Debugging mode; prints out almost everything .RE .SH "DEPRECATED KEYWORDS" There are a few keywords from older versions of Mailfilter that are not supported anymore. The following list contains all these keywords and recommends substitutes. .IP ICASE Use REG_CASE instead. .IP MAXSIZE Use MAXSIZE_ALLOW and MAXSIZE_DENY instead. .IP MODE Use VERBOSE instead. .PP Even though Mailfilter still `silently' supports some of these words, you can not rely on that for future versions. It is highly recommended to update old configuration files. .SH SEE ALSO .BR mailfilter (1), .BR mailfilterex (5), .BR regex (7) .SH COPYRIGHT Copyright \(co 2000-2009 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mailfilter-0.8.2/man/mailfilterex.50000644000175000017500000002154511212607416014127 00000000000000.TH MAILFILTEREX "5" "January 2009" Mailfilter "File Format Descriptions" .SH NAME mailfilterex \- Mailfilter configuration file examples .SH SYNOPSIS .B $HOME/.mailfilterrc examples .SH DESCRIPTION For a description of the rcfile format and its keywords see the .BR mailfilterrc (5) man page or get a basic set of options from either the INSTALL file or the doc/ directory of the Mailfilter distribution. .PP This man page contains several configuration examples and real-life use cases for the Mailfilter program. .SH "EXAMPLES" If not stated otherwise, the following examples assume you are using extended Regular Expressions, compared to Mailfilter's default, basic type. General information on Regular Expressions can be found in the .BR regex (7) man page or in any good book on UNIX/POSIX. You could also use slightly modified examples from .BR procmail (1) if it is available on your system. .SS Filtering Domains To create a very restrictive set of filter rules at least two keywords should be used: ALLOW and DENY. DENY could match all messages coming from an annoying public mail service, while ALLOW matches messages from a good friend who also uses this annoying public mailer. .PP .RS DENY = "^From:.*public-mail\e\.com" .br ALLOW = "^From:.*friend@public-mail\e\.com" .RE .PP These two lines are enough to block all but your friend's e-mail from the public-mail.com domain. .SS Case Sensivity In general case-sensivity is controlled by the REG_CASE keyword. Having Mailfilter treat expressions case-insensitive is almost always more efficient. .PP .RS REG_CASE = "no" .br DENY = "^Subject:.*win money" .RE .PP In this example Mailfilter would delete all messages with subject lines like `WIN MONEY', `Win Money' or any other mix of capital and non-capital characters. REG_CASE makes filters ignore the case. .PP A more complex set up can be achieved by additionally using the DENY_CASE keyword. .PP .RS DENY_CASE = "^Subject:.*BUSINESS" .RE .PP In this example only e-mails that have `BUSINESS' in their subject match the filter, even though in general Mailfilter ignores the case. So in this example all messages with `business' or `Business' in their subjects would not be affected by this filter. .PP Such an option is very useful if you are not interested in commercial bulk mail that offers amazing business opportunities, but in all your business partners who contact you by e-mail. .SS Defining Friends The keyword ALLOW can be used to override any spam filters. Similar to the earlier example ALLOW defines a `friend'. .PP .RS ALLOW = "^Subject:.*mailfilter" .RE .PP Adding this rule to the rcfile would mean all messages that contain anything about Mailfilter in their subject lines can pass the spam filters. But even friends tend to send large e-mails sometimes to share their joy about the latest joke that just made the round in their office. In such cases a limit can be defined that affects particularly `friends'. .PP .RS MAXSIZE_ALLOW = 500000 .RE .PP Setting MAXSIZE_ALLOW to 500000 means no message can be larger than 500 kBytes. (Scanned `office-jokes' are usually around that size.) .SS Negative Message Filters In order to create a very restrictive spam protection it can be more useful sometimes to define which e-mails should not be deleted instantly and consequently get rid of messages that can not be matched to this criterion - rather than vice versa. This can be achieved by using negation. The typical use case is looking at the message tags `To:' or `Cc:' of an e-mail. .PP .RS DENY <> "^(To|Cc):.*my-email@address\e\.com" .RE .PP Having added such a filter to your personal rule set keeps away a lot of spam that is not directly addressed to your e-mail account. Since this is a very aggressive way of filtering, you are well advised to keep your `friends list' up to date. Also note that the above example, using the logical OR operator, works only with extended Regular Expressions. .SS Scores Instead of setting up spam filters, it is also possible to define scores which can be accumulated until a certain threshold is reached. This is very useful to delete advertisements on mailing lists, for instance. Highscore marks the threshold: .PP .RS HIGHSCORE = 100 .br SCORE +100 = "^Subject:.*viagra" .br SCORE +100 = "^Content-Type:.*html" .br SCORE -100 = "^(To|From):.*my_mailing_list" .RE .PP This simple example is useful to delete mails with a score greater than 100, i.e. if someone sends an HTML mail to my_mailing_list, the message will reach score 0. However, should an HTML mail regarding Viagra reach the list, then the message will classify as spam, because it reached an overall score of 100. .PP The MAXSIZE_SCORE keyword can be used to add to the accumulated score for an e-mail. The following will cause all emails not directly addressed to the recipient and greater than 60000 bytes in size to be deleted (a useful way of rejecting many common MS targeted worms and trojans which can clog up your inbox). .PP .RS HIGHSCORE = 100 .br MAXSIZE_SCORE +50 = 60000 .br SCORE +50 <> "^(To|Cc):.*my-email@address\e\.com" .RE .PP This is a less aggressive way of dealing with e-mail sizes than the using the MAXSIZE_DENY keyword. Note that this example (by using the expression (To|Cc):.*my-email@address\e\.com) works only with extended Regular Expressions. .PP .SS General Message Size Limits It is always a good idea to define a very general size limit for e-mails. Mailfilter uses the keyword MAXSIZE_DENY for that purpose. .PP .RS MAXSIZE_DENY = 200000 .RE .PP Setting it to 200 kBytes can save you a couple of hours, depending on how much mail you get everyday. Messages bigger than that get deleted on the server, unless they match any of the ALLOW rules. To achieve maximum efficiency it makes sense to use both MAXSIZE_DENY and MAXSIZE_ALLOW. No one should block up your mail box, no `friends', no others. .PP A rule of thumb is to be twice as tolerant towards friends than you are towards anonymous people. .SS Dealing with Duplicates Most people want to download a message only once, even though it might have been sent to two or three of their accounts at the same time. The simple line .PP .RS DEL_DUPLICATES = "yes" .RE .PP will take care of duplicates and makes sure that only one copy of a message has to be delivered. .SS Normalisation of Message Subjects Every now and then some clever sales person comes up with the brilliant idea to wrap spam in funny little characters. If you get a message with a subject line similar to this one `,L.E-G,A.L; ,C.A-B`L`E, .B-O`X`', then ordinary filters would fail to detect the junk. .PP .RS NORMAL = "yes" .RE .PP Adding this directive to the rcfile tells Mailfilter to `normalise' subject strings, i.e. leave in only the alpha-numeric characters and delete the rest. `,L.E-G,A.L; ,C.A-B`L`E, .B-O`X`' would then become `LEGAL CABLE BOX' which can easily be matched to a spam filter. .PP Note that Mailfilter first tries to match the original subject string, before it checks on the normalised one. .SS Control Mechanism Since Mailfilter deletes e-mails remotely, before they have to be downloaded into the local machine, it is also important to know what is going on while the program is being executed. The least you should do is define a proper level of verbosity and a log file. .PP .RS LOGFILE = "$HOME/logs/mailfilter-`date +"%h%y"'" .br VERBOSE = 3 .RE .PP Level three is the default verbosity level. Using it, Mailfilter reports information on deleted messages, run-time errors and dates to the screen and the log file. .PP You can use `command' to embedd shell skripts into your path names. In the above example it is used to store log files separately for each month and year. .SS Extended Regular Expressions For advanced applications, the basic Regular Expressions are typically not sufficient. If you know the syntax and usage of the extended expressions, it is almost always a good idea to set REG_TYPE accordingly. .PP .RS REG_TYPE = "extended" .RE .PP Extended expressions are more flexible, but also more sensitive towards syntax errors and the like. Examples in this man page all use extended type. .SH "NOTES" If you are new to Regular Expressions and new to Mailfilter, you might want to experiment a bit, before you accidently delete messages for real. For such cases Mailfilter provides two keywords. TEST can be used to only simulate the deletion of messages and SHOW_HEADERS stores all the e-mail headers that get examined by the program. .PP .RS TEST = "yes" .br SHOW_HEADERS = "$HOME/logs/mailfilter-headers.txt" .RE .PP Use this setup if you are not yet comfortable with the concept of spam filtering. It may help to understand Regular Expressions better and how to use them. .SH SEE ALSO .BR mailfilter (1), .BR mailfilterrc (5), .BR procmailrc (5), .BR procmailex (5), .BR regex (7) .SH COPYRIGHT Copyright \(co 2000-2009 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mailfilter-0.8.2/man/Makefile.in0000644000175000017500000003116511212607131013412 00000000000000# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Makefile.am: help build documentation files # $Id: Makefile.am,v 1.4.2.1.2.4 2007/01/01 15:32:29 baueran Exp $ # # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = man DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" man5dir = $(mandir)/man5 NROFF = nroff MANS = $(man_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ man_MANS = mailfilter.1 mailfilterrc.5 mailfilterex.5 EXTRA_DIST = $(man_MANS) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $$i; then file=$$i; \ else file=$(srcdir)/$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done install-man5: $(man5_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)" @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.5*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $$i; then file=$$i; \ else file=$(srcdir)/$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 5*) ;; \ *) ext='5' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \ done uninstall-man5: @$(NORMAL_UNINSTALL) @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.5*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 5*) ;; \ *) ext='5' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man5dir)/$$inst"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-man1 install-man5 install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am ps: ps-am ps-am: uninstall-am: uninstall-man uninstall-man: uninstall-man1 uninstall-man5 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-man5 install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-man \ uninstall-man1 uninstall-man5 mailfilter_manpages.ps: for i in $(man_MANS); \ do \ groff -t -e -mandoc -Tps $$i > $$i.ps; \ groff -t -e -mandoc -Tascii $$i > $$i.txt; \ groff -t -e -mandoc -Thtml $$i > $$i.html; \ done; pdf-am: mailfilter.1.ps for i in *.ps; do ps2pdf $$i; done; clean: rm -f *.pdf *.html *.ps *.txt # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mailfilter-0.8.2/man/mailfilter.10000644000175000017500000000517211212607377013572 00000000000000.TH MAILFILTER "1" "January 2009" Mailfilter "User Manuals" .SH NAME mailfilter \- Filters e-mail, gets rid of spam .SH SYNOPSIS .B mailfilter [\fIOPTION\fR]... .SH DESCRIPTION Mailfilter is a very flexible utility to get rid of unwanted spam mails, before having to go through the trouble of downloading them into the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc. .PP Mailfilter connects to any POP mail box and compares part of its content to a set of user defined filter rules. That way the spam gets deleted directly on the mail server. .PP With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as .BR procmail (1) for example. .SH "RETURN VALUE" The mailfilter program normally returns 0 but -1 if an error occurs. However, if it has been invoked with the return-value command line switch, it gives back a positive integer in case there are messages on the POP server. Empty POP accounts would then result in a return value of 0. Using the switch, mailfilter can be embedded into a shell script more easily. .SH "CONFIGURATION" The behaviour of Mailfilter is controlled by command-line options and a configuration file. The program will not start without it. Example configurations can be looked up in the .BR mailfilterex (5) man page, in the INSTALL document or inside the doc/ directory of the Mailfilter distribution. .PP By default Mailfilter tries to read $HOME/.mailfilterrc to get all its settings from. This is the place where all changes should be made, unless it is explicitly specified otherwise. A comprehensive list of all supported options and keywords can be found in the .BR mailfilterrc (5) man page. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR Display help information .TP \fB\-L\fR, \fB\-\-logfile\fR=\fIFILE\fR Specify logfile location .TP \fB\-M\fR, \fB\-\-mailfilterrc\fR=\fIFILE\fR Specify rcfile location .TP \fB\-r\fR, \fB\-\-return-value\fR Enable additional return values .TP \fB\-t\fR, \fB\-\-test\fR Simulate deletes .TP \fB\-v\fR, \fB\-\-verbose\fR=\fILEVEL\fR Specify level of verbosity .TP \fB\-V\fR, \fB\-\-version\fR Display version information .SH "SEE ALSO" .BR mailfilterrc (5), .BR mailfilterex (5), .BR procmail (1), .BR regex (7) .SH COPYRIGHT Copyright \(co 2000-2009 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mailfilter-0.8.2/man/Makefile.am0000644000175000017500000000236211134565114013405 00000000000000# Makefile.am: help build documentation files # $Id: Makefile.am,v 1.4.2.1.2.4 2007/01/01 15:32:29 baueran Exp $ # # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. man_MANS = mailfilter.1 mailfilterrc.5 mailfilterex.5 mailfilter_manpages.ps: for i in $(man_MANS); \ do \ groff -t -e -mandoc -Tps $$i > $$i.ps; \ groff -t -e -mandoc -Tascii $$i > $$i.txt; \ groff -t -e -mandoc -Thtml $$i > $$i.html; \ done; pdf-am: mailfilter.1.ps for i in *.ps; do ps2pdf $$i; done; clean: rm -f *.pdf *.html *.ps *.txt EXTRA_DIST = $(man_MANS) mailfilter-0.8.2/Makefile.in0000644000175000017500000005357111212607132012645 00000000000000# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Makefile.am: help build sources on mulitiple architectures # $Id: Makefile.am,v 1.20.2.3.2.8 2007/01/01 13:38:40 baueran Exp $ # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/mailfilter.spec.in $(top_srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL NEWS THANKS depcomp install-sh \ missing ylwrap ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = mailfilter.spec SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.Z $(distdir).shar.gz \ $(distdir).zip GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = dist-shar dist-zip dist-tarZ SUBDIRS = doc man src contrib EXTRA_DIST = ylwrap # EXTRA_DIST = config.rpath mkinstalldirs ABOUT-NLS ylwrap ACLOCAL_AMFLAGS = -I all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 mailfilter.spec: $(top_builddir)/config.status $(srcdir)/mailfilter.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am # build a distribution snapshot # TODO: # add a snap documentation target # check to see if there is already a previous snapshot there, # and don't overwrite it! @MAINT@snapshot: README-snapshot maintainer-clean @MAINT@ @a=`date -R` ;\ @MAINT@ echo "Last built on $$a" >> README-snapshot @MAINT@ @d=`pwd` ;\ @MAINT@ d=`basename $$d` ;\ @MAINT@ echo $$d ;\ @MAINT@ cd .. ;\ @MAINT@ tar -cvzf $$d-`date +%m%d%y`.tar.gz $$d ;\ @MAINT@ mv $$d-`date +%m%d%y`.tar.gz $$d/ ;\ @MAINT@ cd $$d @MAINT@doxygen: @MAINT@ cd $(top_srcdir)/doc ;\ @MAINT@ ${MAKE} doxygen @MAINT@alldist: man doxygen @MAINT@ ${MAKE} distcheck @MAINT@ ${MAKE} dist-shar @MAINT@ ${MAKE} dist-zip @MAINT@ ${MAKE} dist-tarZ @MAINT@cvsclean: maintainer-clean @MAINT@ @-rm -f `find . -name Makefile.in` @MAINT@ @-rm -f configure aclocal.m4 config.h.in stamp-h.in depcomp ylwrap @MAINT@ @-rm -f config.guess config.sub config.cache config.log config.status @MAINT@ @-rm -f mkinstalldirs missing install-sh COPYING @MAINT@ @-rm -fr @PACKAGE@-@VERSION@* *~ */*~ @MAINT@ @-rm -fr $(top_srcdir)/doc/api @MAINT@ @-rm -fr $(top_srcdir)/intl @MAINT@ @-rm -fr $(top_srcdir)/src/y.* @MAINT@ @-rm -fr $(top_srcdir)/src/rcfile.c* @MAINT@ @-rm -fr $(top_srcdir)/src/lex.* @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822.cc @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822scanner.* @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822parser.* @MAINT@ @-rm -fr $(top_srcdir)/src/rcparser.* @MAINT@ @-rm -fr $(top_srcdir)/src/yy.tab.* @MAINT@ @-rm -fr $(top_srcdir)/src/lex.* @MAINT@ @echo "=================================================" @MAINT@ @echo "Don't forget your ChangeLog and NEWS entries ...." @MAINT@ @echo "=================================================" # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mailfilter-0.8.2/depcomp0000755000175000017500000004271311212607131012150 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # 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 2, 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: mailfilter-0.8.2/install-sh0000755000175000017500000003246411212607127012606 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: mailfilter-0.8.2/ChangeLog0000644000175000017500000001623411212616532012351 00000000000000Mailfilter ChangeLog -=-=-=-=-=-=-=-=-=-= Sun Jun 7 11:51:11 EST 2009 baueran - src/header.hh: new custom exception, add_entry throws it when pop header is malformed - src/rfc822.yy: pass on exception to main filtering code Sun Jan 18 19:11:38 EST 2009 baueran - src/apop.cc: fix strlen dependency by including cstring - *: update email address and copyright information Sat Sep 15 17:48:33 EST 2007 baueran - src/socket.cc: update licensing to reflect SSL use - README: update licensing to reflect SSL use - TODO: remove 2007-03-12 07:25:35 -0700 (Mon, 12 Mar 2007) baueran - src/Makefile.am: make getopt conditional on GETOPT - configure.ac: add GETOPT conditional to check getopt 2007-03-12 07:31:00 -0700 (Mon, 12 Mar 2007) baueran - man/mailfilter*: reflect recent date 2007-03-03 13:14:15 -0800 (Sat, 03 Mar 2007) baueran - src/mailfilter.cc: add return_val to capture failed attempt to check mailbox for spam - src/socket.cc: syntax change 2007-01-22 14:00:26 -0800 (Mon, 22 Jan 2007) baueran - src/i18n.hh: remove - src/apop.cc, src/preferences.cc, src/rcfile.yy, src/pop3.cc, src/rfc822.yy, src/feedback.cc, src/rcfile.ll, src/header.cc, src/socket.cc, src/account.cc, src/mailfilter.hh, src/weeder.cc, src/Makefile.am, src/mailfilter.cc: remove all references to gettext, replace occurrences of "\n" with endl in the mailfilter output messages Mon Jan 1 14:37:49 CET 2007 Andreas Bauer * configure.ac: remove all m4 and gettext references * Makefile.am: reflect changes Sun Dec 31 21:40:38 CET 2006 Andreas Bauer * configure.ac: update version number and copyright information * src/preferences.*: use singleton design pattern * src/rcfile.yy: reflect changes * src/mailfilter.cc: reflect changes * src/socket.cc: reflect changes * src/feedback.*: use singleton design pattern Fri Jul 8 11:29:20 CEST 2005 Andreas Bauer * src/protocol.hh: add virtual destructor * all file: change date in copyright statement Fri Jul 8 11:29:20 CEST 2005 Alexander Kaganyuk * src/Makefile.am: change $^ to $< Sun Dec 5 10:01:16 CET 2004 Andreas Bauer * src/rcfile.ll, configure.ac: check for presence of wordexp.h Sat Dec 4 22:11:28 MET 2004 Andreas Bauer * src/apop.cc: add include * src/Makefile.am: remove mv long options Sun Nov 21 10:40:39 CET 2004 Kai Hildebrandt Andreas Bauer * src/Makefile.am: fix 'mv-dependencies' in rfc822parser.cc target Sat Nov 20 16:51:58 CET 2004 Andreas Bauer * src/preferences.*: remove prefs namespace and make class static * src/*.cc,*.hh: remove all references to prefs namespace Sun Oct 10 15:11:44 CEST 2004 Andreas Bauer * src/*.cc,*.hh: change const functions to function type const Sat Aug 7 20:21:47 CEST 2004 Andreas Bauer * src/socket.cc: prepare IMAP support * src/apop.cc:login: check for timestamp server message Sat Jun 5 15:22:58 CEST 2004 Hilmar Preusse * NEWS: add information about rcfile changes Sun May 30 16:03:58 CEST 2004 Andreas Bauer * src/apop.cc:login: new * src/socket.cc: added preliminary SSL support using OpenSSL * configure.ac: check for OpenSSL * src/account.cc: fix up error messages * src/preferences.cc: add protocol variant pop3/ssl and apop/ssl Sat Apr 24 19:44:37 CEST 2004 Andreas Bauer * src/weeder.cc:check_maxlength: unignore default value Sat Feb 14 12:13:21 CET 2004 Andreas Bauer * src/weeder.cc:check_duplicates: add check for empty Message-ID Sun Jan 25 13:54:44 CET 2004 Andreas Bauer * src/feedback.cc: print_header: new * man/mailfilterrc.1: reflect changes of SHOW_HEADERS Sat Jan 24 18:20:21 CET 2004 Andreas Bauer * man/Makefile.am: pdf: new target Sun Dec 28 13:20:58 CET 2003 Andreas Bauer * src/mailfilter.cc: fix today_ to store date properly Sat 27 Dec 2003 00:57:26 -0000 Til Schubbe * contrib/selectheader: changed Fri 26 Dec 2003 17:40:29 -0000 Til Schubbe * TODO: changed * contrib/selectheader: new * contrib/FILES: reflect changes Thu Dec 25 15:39:40 CET 2003 Andreas Bauer * src/rcfile.ll: rearranged state precedences * src/preferences.cc: fixed up open() to use its argument Tue Nov 25 21:47:48 CET 2003 Chris Vine * src/rcfile.yy: MAXSIZE_SCORE: new * src/rcfile.ll: MAXSIZE_SCORE: new * src/preferences.cc: set_max_size_score: new * src/preferences.cc: max_size_score: new Mon Nov 24 22:29:25 CET 2003 Andreas Bauer * src/rcfile.yy: RCParser: new class declarations * src/preferences.cc: rcflexer: remove all references * src/rcfile.hh: new file 13 Nov 2003 23:21:40 -0000 Til Schubbe * contrib/chrcformat_05-07: new * contrib/rmcrlf: new * contrib/FILES: updated * contrib/Makefile.am: updated Sun Oct 12 16:43:46 CEST 2003 Andreas Bauer * src/weeder.cc:check_scores: Fixed a bug concerning case sensivity * src/rcfile.ll: Include can handle environment variables now Sat Oct 11 19:36:26 CEST 2003 Andreas Bauer * src/pop3.cc: added delete functionality * src/rcfile.*: extended scanner and parser definitions * src/weeder.cc: added support for normalised subject filtering Thu Oct 9 15:55:34 CEST 2003 Andreas Bauer * src/weeder.cc:check_allow_rules: new * src/weeder.cc:check_deny_rules: new * src/weeder.cc:check_scores: new * src/weeder.cc:check_duplicates: new Mi Okt 8 22:19:22 CEST 2003 Andreas Bauer * src/score.cc: new Tue Oct 7 22:37:34 CEST 2003 Andreas Bauer * src/weeder.cc: is_weed: added support for negative deny rules Sun Oct 5 20:17:18 CEST 2003 Andreas Bauer * src/weeder.cc: is_weed: added support for negative allow rules Sat Oct 4 13:42:14 CEST 2003 Andreas Bauer * src/weeder.hh: new * src/weeder.cc: new * src/Makefile.am: add weeder.* to make targets Mi Aug 13 18:45:02 CEST 2003 Andreas Bauer * src/rcfile.yy: renamed lexer to rclexer * src/rfc822.yy: renamed lexer to rfclexer Sat Jul 26 15:26:22 CEST 2003 Andreas Bauer * src/rfc822.ll: new * src/rfc822.yy: new * src/Makefile.am: rfc_test: new compiler target Wed Jul 23 22:05:28 CEST 2003 Andreas Bauer * src/pop3.cc: status (): new Mon Jul 21 10:16:23 CEST 2003 Andreas Bauer * ChangeLog.1: new * src/account.cc: include header * src/RFC822.cc src/RFC822.hh: remove mailfilter-0.8.2/configure0000755000175000017500000065071311212607134012512 00000000000000#! /bin/sh # From configure.ac Revision: 1.1.2.4.2.12 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for mailfilter 0.8.2. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # # Copyright (c) 2000 - 2009 Andreas Bauer ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='mailfilter' PACKAGE_TARNAME='mailfilter' PACKAGE_VERSION='0.8.2' PACKAGE_STRING='mailfilter 0.8.2' PACKAGE_BUGREPORT='mailfilter-dev@lists.sourceforge.net' ac_unique_file="src/mailfilter.cc" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS GETOPT_FALSE GETOPT_TRUE EGREP GREP CPP LEXLIB LEX_OUTPUT_ROOT LEX YFLAGS YACC am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE ac_ct_CC CFLAGS CC am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CXX CPPFLAGS LDFLAGS CXXFLAGS CXX MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM PACKAGE_COPYRIGHT target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_dependency_tracking with_openssl ' ac_precious_vars='build_alias host_alias target_alias CXX CXXFLAGS LDFLAGS LIBS CPPFLAGS CCC CC CFLAGS YACC YFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures mailfilter 0.8.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/mailfilter] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of mailfilter 0.8.2:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-openssl use OpenSSL (default="yes") Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CC C compiler command CFLAGS C compiler flags YACC The `Yet Another C Compiler' implementation to use. Defaults to the first program found out of: `bison -y', `byacc', `yacc'. YFLAGS The list of arguments that will be passed by default to $YACC. This script will default YFLAGS to the empty string to avoid a default value of `-d' given by some make applications. CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF mailfilter configure 0.8.2 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Copyright (c) 2000 - 2009 Andreas Bauer _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by mailfilter $as_me 0.8.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >>confdefs.h <<\_ACEOF #define PACKAGE_COPYRIGHT "Copyright (c) 2000 - 2009 Andreas Bauer " _ACEOF ac_config_headers="$ac_config_headers config.h" am__api_version='1.10' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='mailfilter' VERSION='0.8.2' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # Checks for programs. for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:$LINENO: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 $as_echo_n "checking for C++ compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables See \`config.log' for more details." >&5 $as_echo "$as_me: error: C++ compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 $as_echo_n "checking whether the C++ compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi fi fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } if test "${ac_cv_cxx_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CXX" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 $as_echo_n "checking for library containing strerror... " >&6; } if test "${ac_cv_search_strerror+set}" = set; then $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_search_strerror=$ac_res else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_strerror+set}" = set; then break fi done if test "${ac_cv_search_strerror+set}" = set; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 $as_echo "$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi for ac_prog in 'bison -y' byacc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_YACC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_YACC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then { $as_echo "$as_me:$LINENO: result: $YACC" >&5 $as_echo "$YACC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$YACC" && break done test -n "$YACC" || YACC="yacc" for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LEX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LEX="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LEX=$ac_cv_prog_LEX if test -n "$LEX"; then { $as_echo "$as_me:$LINENO: result: $LEX" >&5 $as_echo "$LEX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$LEX" && break done test -n "$LEX" || LEX=":" if test "x$LEX" != "x:"; then cat >conftest.l <<_ACEOF %% a { ECHO; } b { REJECT; } c { yymore (); } d { yyless (1); } e { yyless (input () != 0); } f { unput (yytext[0]); } . { BEGIN INITIAL; } %% #ifdef YYTEXT_POINTER extern char *yytext; #endif int main (void) { return ! yylex () + ! yywrap (); } _ACEOF { (ac_try="$LEX conftest.l" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$LEX conftest.l") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { $as_echo "$as_me:$LINENO: checking lex output file root" >&5 $as_echo_n "checking lex output file root... " >&6; } if test "${ac_cv_prog_lex_root+set}" = set; then $as_echo_n "(cached) " >&6 else if test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yy elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy else { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} { (exit 1); exit 1; }; } fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 $as_echo "$ac_cv_prog_lex_root" >&6; } LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root if test -z "${LEXLIB+set}"; then { $as_echo "$as_me:$LINENO: checking lex library" >&5 $as_echo_n "checking lex library... " >&6; } if test "${ac_cv_lib_lex+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_LIBS=$LIBS ac_cv_lib_lex='none needed' for ac_lib in '' -lfl -ll; do LIBS="$ac_lib $ac_save_LIBS" cat >conftest.$ac_ext <<_ACEOF `cat $LEX_OUTPUT_ROOT.c` _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_lex=$ac_lib else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext test "$ac_cv_lib_lex" != 'none needed' && break done LIBS=$ac_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 $as_echo "$ac_cv_lib_lex" >&6; } test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex fi { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 $as_echo_n "checking whether yytext is a pointer... " >&6; } if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then $as_echo_n "(cached) " >&6 else # POSIX says lex can declare yytext either as a pointer or an array; the # default is implementation-dependent. Figure out which it is, since # not all implementations provide the %pointer and %array declarations. ac_cv_prog_lex_yytext_pointer=no ac_save_LIBS=$LIBS LIBS="$LEXLIB $ac_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #define YYTEXT_POINTER 1 `cat $LEX_OUTPUT_ROOT.c` _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_prog_lex_yytext_pointer=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } if test $ac_cv_prog_lex_yytext_pointer = yes; then cat >>confdefs.h <<\_ACEOF #define YYTEXT_POINTER 1 _ACEOF fi rm -f conftest.l $LEX_OUTPUT_ROOT.c fi # More specifically, check for installed SSL library. # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then withval=$with_openssl; fi if test "$with_openssl" != "no" ; then { $as_echo "$as_me:$LINENO: checking for BIO_new in -lcrypto" >&5 $as_echo_n "checking for BIO_new in -lcrypto... " >&6; } if test "${ac_cv_lib_crypto_BIO_new+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char BIO_new (); int main () { return BIO_new (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_crypto_BIO_new=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_crypto_BIO_new=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_BIO_new" >&5 $as_echo "$ac_cv_lib_crypto_BIO_new" >&6; } if test "x$ac_cv_lib_crypto_BIO_new" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBCRYPTO 1 _ACEOF LIBS="-lcrypto $LIBS" fi { $as_echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5 $as_echo_n "checking for SSL_new in -lssl... " >&6; } if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lssl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char SSL_new (); int main () { return SSL_new (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_ssl_SSL_new=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_ssl_SSL_new=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5 $as_echo "$ac_cv_lib_ssl_SSL_new" >&6; } if test "x$ac_cv_lib_ssl_SSL_new" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSSL 1 _ACEOF LIBS="-lssl $LIBS" fi cat >>confdefs.h <<\_ACEOF #define USE_SSL 1 _ACEOF fi # Static or dynamic linking? Look inside m4/ for further information. # PETI_ENABLED_DYNAMIC_LINKING # Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in arpa/inet.h \ wordexp.h \ fcntl.h \ inttypes.h \ libintl.h \ locale.h \ netdb.h \ netinet/in.h \ stdlib.h \ string.h \ sys/socket.h \ sys/time.h \ unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## --------------------------------------------------- ## ## Report this to mailfilter-dev@lists.sourceforge.net ## ## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if test "${ac_cv_c_const+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset cs; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_const=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const /**/ _ACEOF fi { $as_echo "$as_me:$LINENO: checking for size_t" >&5 $as_echo_n "checking for size_t... " >&6; } if test "${ac_cv_type_size_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_size_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((size_t))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 $as_echo "$ac_cv_type_size_t" >&6; } if test "x$ac_cv_type_size_t" = x""yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } if test "${ac_cv_header_time+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_time=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 $as_echo "$ac_cv_header_time" >&6; } if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for getopt_long" >&5 $as_echo_n "checking for getopt_long... " >&6; } if test "${ac_cv_func_getopt_long+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define getopt_long to an innocuous variant, in case declares getopt_long. For example, HP-UX 11i declares gettimeofday. */ #define getopt_long innocuous_getopt_long /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getopt_long (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef getopt_long /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char getopt_long (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_getopt_long || defined __stub___getopt_long choke me #endif int main () { return getopt_long (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_getopt_long=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getopt_long=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5 $as_echo "$ac_cv_func_getopt_long" >&6; } if test "x$ac_cv_func_getopt_long" = x""yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETOPT_H 1 _ACEOF if true; then GETOPT_TRUE= GETOPT_FALSE='#' else GETOPT_TRUE='#' GETOPT_FALSE= fi else { $as_echo "$as_me:$LINENO: result: Using included getopt header" >&5 $as_echo "Using included getopt header" >&6; } if false; then GETOPT_TRUE= GETOPT_FALSE='#' else GETOPT_TRUE='#' GETOPT_FALSE= fi fi # Checks for (library) functions. { $as_echo "$as_me:$LINENO: checking for error_at_line" >&5 $as_echo_n "checking for error_at_line... " >&6; } if test "${ac_cv_lib_error_at_line+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_error_at_line=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_error_at_line=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 $as_echo "$ac_cv_lib_error_at_line" >&6; } if test $ac_cv_lib_error_at_line = no; then case " $LIBOBJS " in *" error.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if test "${ac_cv_type_signal+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_signal=int else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 $as_echo_n "checking for connect in -lsocket... " >&6; } if test "${ac_cv_lib_socket_connect+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char connect (); int main () { return connect (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_socket_connect=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_connect=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 $as_echo "$ac_cv_lib_socket_connect" >&6; } if test "x$ac_cv_lib_socket_connect" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" fi { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char gethostbyname (); int main () { return gethostbyname (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_nsl_gethostbyname=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_gethostbyname=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF LIBS="-lnsl $LIBS" fi { $as_echo "$as_me:$LINENO: checking for regcomp in -lregex" >&5 $as_echo_n "checking for regcomp in -lregex... " >&6; } if test "${ac_cv_lib_regex_regcomp+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lregex $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char regcomp (); int main () { return regcomp (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_regex_regcomp=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_regex_regcomp=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regcomp" >&5 $as_echo "$ac_cv_lib_regex_regcomp" >&6; } if test "x$ac_cv_lib_regex_regcomp" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBREGEX 1 _ACEOF LIBS="-lregex $LIBS" fi for ac_func in alarm \ gethostbyname \ gettimeofday \ memset \ regcomp \ select \ setlocale \ socket \ strcasecmp \ strdup \ snprintf \ strerror do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Usually this should not be changed. cat >>confdefs.h <<\_ACEOF #define PREVIEW_COMMAND "TOP %d 0\r\n" _ACEOF # File names for mailfilter's preferences cat >>confdefs.h <<\_ACEOF #define RC_FILE_NAME "/.mailfilterrc" _ACEOF cat >>confdefs.h <<\_ACEOF #define RC_FILE_NAME_WIN "/_mailfilterrc" _ACEOF cat >>confdefs.h <<\_ACEOF #define HOME_ENV "HOME" _ACEOF ac_config_files="$ac_config_files Makefile mailfilter.spec src/Makefile man/Makefile doc/Makefile contrib/Makefile doc/Doxyfile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${GETOPT_TRUE}" && test -z "${GETOPT_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"GETOPT\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"GETOPT\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${GETOPT_TRUE}" && test -z "${GETOPT_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"GETOPT\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"GETOPT\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by mailfilter $as_me 0.8.2, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ mailfilter config.status 0.8.2 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "mailfilter.spec") CONFIG_FILES="$CONFIG_FILES mailfilter.spec" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi cat <, but that does not exist if we are standalone. So: if __GNU_LIBRARY__ is not defined, include , which will pull in for us if it's from glibc. (Why ctype.h? It's guaranteed to exist and it doesn't flood the namespace with stuff the way some other headers do.) */ #if !defined __GNU_LIBRARY__ # include #endif #ifdef __cplusplus extern "C" { #endif /* For communication from `getopt' to the caller. When `getopt' finds an option that takes an argument, the argument value is returned here. Also, when `ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ extern char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to `getopt'. On entry to `getopt', zero means this is the first call; initialize. When `getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, `optind' communicates from one call to the next how much of ARGV has been scanned so far. */ extern int optind; /* Callers store zero here to inhibit the error message `getopt' prints for unrecognized options. */ extern int opterr; /* Set to an option character which was unrecognized. */ extern int optopt; #ifndef __need_getopt /* Describe the long-named options requested by the application. The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector of `struct option' terminated by an element containing a name which is zero. The field `has_arg' is: no_argument (or 0) if the option does not take an argument, required_argument (or 1) if the option requires an argument, optional_argument (or 2) if the option takes an optional argument. If the field `flag' is not NULL, it points to a variable that is set to the value given in the field `val' when the option is found, but left unchanged if the option is not found. To have a long-named option do something other than set an `int' to a compiled-in constant, such as set a value from `optarg', set the option's `flag' field to zero and its `val' field to a nonzero value (the equivalent single-letter option character, if there is one). For long options that have a zero `flag' field, `getopt' returns the contents of the `val' field. */ struct option { # if (defined __STDC__ && __STDC__) || defined __cplusplus const char *name; # else char *name; # endif /* has_arg can't be an enum because some compilers complain about type mismatches in all the code that assumes it is an int. */ int has_arg; int *flag; int val; }; /* Names for the values of the `has_arg' field of `struct option'. */ # define no_argument 0 # define required_argument 1 # define optional_argument 2 #endif /* need getopt */ /* Get definitions and prototypes for functions to process the arguments in ARGV (ARGC of them, minus the program name) for options given in OPTS. Return the option character from OPTS just read. Return -1 when there are no more options. For unrecognized options, or options missing arguments, `optopt' is set to the option letter, and '?' is returned. The OPTS string is a list of characters which are recognized option letters, optionally followed by colons, specifying that that letter takes an argument, to be placed in `optarg'. If a letter in OPTS is followed by two colons, its argument is optional. This behavior is specific to the GNU `getopt'. The argument `--' causes premature termination of argument scanning, explicitly telling `getopt' that there are no more options. If OPTS begins with `--', then non-option arguments are treated as arguments to the option '\0'. This behavior is specific to the GNU `getopt'. */ #if (defined __STDC__ && __STDC__) || defined __cplusplus # ifdef __GNU_LIBRARY__ /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); # else /* not __GNU_LIBRARY__ */ extern int getopt (); # endif /* __GNU_LIBRARY__ */ # ifndef __need_getopt extern int getopt_long (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind); extern int getopt_long_only (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind); /* Internal only. Users should not call this directly. */ extern int _getopt_internal (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only); # endif #else /* not __STDC__ */ extern int getopt (); # ifndef __need_getopt extern int getopt_long (); extern int getopt_long_only (); extern int _getopt_internal (); # endif #endif /* __STDC__ */ #ifdef __cplusplus } #endif /* Make sure we later can get all the definitions and declarations. */ #undef __need_getopt #endif /* getopt.h */ mailfilter-0.8.2/src/imap.hh0000644000175000017500000000402211134563010012620 00000000000000// imap.hh - source file for the mailfilter program // Copyright (c) 2004 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef IMAP_HH #define IMAP_HH #include "header.hh" #include "protocol.hh" using namespace std; // True, if the server replied and its status message was anything, // but an error. #define REPLY_OK ((conn->c_read () > 0 && conn->c_reply ()) ? \ (((conn->c_reply ()->find_first_of ("a OK", 0))) ? true : false) \ : false) // This macro is similar to REPLY_OK, except it sets a flag for c_read // in order to tell the function that an entire message header is // about to be received. Further comments inside socket.cc:c_read(). #define HEADER_OK ((conn->c_read (true) > 0 && conn->c_reply ())? \ (((conn->c_reply ()->find_first_of ("a OK", 0))) ? true : false) \ : false) class IMAP : public Protocol { private: int invoke_msg_parser (const string*, const Header*); public: bool login (const char* usr, const char* pass, const unsigned int enc); bool logout (void); int remove_msg (unsigned int num); int status (void); int scan (void); }; #endif mailfilter-0.8.2/src/filter.cc0000644000175000017500000000417011134562734013165 00000000000000// filter.cc - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include extern "C" { #include #include } #include "filter.hh" #include "mailfilter.hh" #include "preferences.hh" using namespace std; Filter :: Filter (void) { compiled = false; } Filter :: ~Filter (void) { if (compiled) regfree (&comp_expr); } string Filter :: expression (void) const { return expr; } void Filter :: set_expression (const char* exp) { expr = exp; } int Filter :: compile (void) { int comp_err; if ((comp_err = regcomp (&comp_expr, expr.c_str (), Preferences :: Instance ().reg_type () | ccase ())) != 0) { try { char* err_buf = new char[regerror (comp_err, &comp_expr, (char*)NULL, (size_t)0) + 1]; regerror (comp_err, &comp_expr, err_buf, sizeof *err_buf); ERROR_MSG(err_buf); delete (err_buf); } catch (...) { throw; } } else compiled = true; return comp_err; } void Filter :: set_negativity (bool t) { negativity = t; } bool Filter :: is_negative (void) const { return negativity; } int Filter :: ccase (void) const { return case_sensitivity; } void Filter :: set_case (int c) { case_sensitivity = c; } const regex_t* Filter :: comp_exp (void) const { return &comp_expr; } mailfilter-0.8.2/src/weeder.cc0000644000175000017500000003321011134563316013145 00000000000000// weeder.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include "weeder.hh" #include "header.hh" #include "preferences.hh" #include "mailfilter.hh" #include "feedback.hh" #include "defines.hh" using namespace std; extern string int_to_string (int); // The function takes a pointer to a Header class which contains a // message header. It then determines whether this header is spam, a // duplicate, or "good" mail. It returns 1 if the mail qualifies as // spam, 0 if it should not be deleted, and a negative integer upon // error. int Weeder :: is_weed (Header* the_header) { int status; status = check_duplicates (the_header); if (status == 1) return 1; // Spam. else if (status < 0) return status; // Error. status = check_allow_rules (the_header); if (status == 1) return 1; // Spam. else if (status == 0) return 0; // Friend. else if (status < 0) return status; // Error. status = check_maxlength (the_header); if (status == 1) return 1; // Spam. status = check_deny_rules (the_header); if (status == 1) return 1; // Spam. else if (status < 0) return status; // Error. status = check_scores (the_header); if (status == 1) return 1; // Spam. return 0; // Leave message alone. } // This function returns 1 if the message was considered being a // duplicate, and 0 otherwise. A negative integer is returned upon // error. int Weeder :: check_duplicates (Header* the_header) { Feedback* logger = Feedback :: Instance (); if (!the_header) return GEN_FAILURE_FLAG; // If the mailer didn't attach a valid message-ID, give up scanning // for duplicated messages immediately. if (the_header->ID ()->length() <= 0) return 0; string cur_line; if (Preferences :: Instance ().delete_duplicates ()) { for (vector :: iterator cur_ID = msg_ids.begin (); cur_ID != msg_ids.end (); cur_ID++) if (*(the_header->ID ()) == *cur_ID) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Duplicate].", 2); return 1; } msg_ids.push_back (*(the_header->ID ())); } return 0; } // This function returns 1 if the message was considered being spam, 0 // if it is a friend. A negative integer is returned upon error. int Weeder :: check_allow_rules (Header* the_header) const { Feedback* logger = Feedback :: Instance (); if (!the_header) return GEN_FAILURE_FLAG; string cur_line; for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; for (vector :: iterator cur_allow = Preferences :: Instance ().allow_filters ()->begin (); cur_allow != Preferences :: Instance ().allow_filters ()->end (); cur_allow++) { if (!cur_allow->is_negative () && regexec (cur_allow->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) { logger->print_msg ("Allow: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [\"" + cur_allow->expression () + "\" matches \"" + cur_line + "\"].", 4); // OK, friendly message detected. Now check, whether // MAXSIZE_ALLOW applies. if (Preferences :: Instance ().max_size_allow () > 0 && the_header->size () > Preferences :: Instance ().max_size_allow ()) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Maxsize_Allow exceeded].", 2); return 1; } return 0; } } } // Evaluate the negative allow rules which works slightly different // to the above algorithm: instead of going through each line and // each filter, we go through each negative filter and then through // all lines of the header. if (Preferences :: Instance ().neg_allows () > 0) { for (vector :: iterator cur_allow = Preferences :: Instance ().allow_filters ()->begin (); cur_allow != Preferences :: Instance ().allow_filters ()->end (); cur_allow++) { if (cur_allow->is_negative ()) { for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; if (regexec (cur_allow->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) break; if (cur_entry + 1 == the_header->entries ()->end ()) { logger->print_msg ("Allow: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Negative allow rule \"" + cur_allow->expression () + "\" did not match].", 4); return 0; } } } } } return 2; } int Weeder :: check_maxlength (Header* the_header) const { Feedback* logger = Feedback :: Instance (); string cur_line; if (Preferences :: Instance ().maxlength () == 0) return 0; for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; if (cur_line.length () > (unsigned int)Preferences :: Instance ().maxlength ()) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [\"" + cur_entry->tag + "\" exceeded maxlength].", 2); return 1; } } return 0; } // This function returns 1 if the message was considered being spam, 0 // otherwise. A negative integer is returned upon error. int Weeder :: check_deny_rules (Header* the_header) const { Feedback* logger = Feedback :: Instance (); if (!the_header) return GEN_FAILURE_FLAG; string cur_line; if (Preferences :: Instance ().max_size_deny () > 0 && the_header->size () > Preferences :: Instance ().max_size_deny ()) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Maxsize_Deny exceeded].", 2); return 1; } for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; for (vector :: iterator cur_deny = Preferences :: Instance ().deny_filters ()->begin (); cur_deny != Preferences :: Instance ().deny_filters ()->end (); cur_deny++) { if (!cur_deny->is_negative () && regexec (cur_deny->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [\"" + cur_deny->expression () + + "\" matches \"" + cur_line + "\"].", 2); return 1; } // Check normalised subject, if necessary. if (Preferences :: Instance ().normal () && !cur_deny->is_negative () && strcmp (cur_entry->tag.c_str (), "Subject") == 0 && regexec (cur_deny->comp_exp (), (the_header->normal_subject ())->c_str (), 0, NULL, 0) == 0) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [\"" + cur_deny->expression () + + "\" matches \"" + cur_line + "\" (normalised)].", 2); return 1; } } } // Evaluate the negative deny rules in a similar fashion as negative // allow rules (see above, for comments). if (Preferences :: Instance ().neg_denies () > 0) { for (vector :: iterator cur_deny = Preferences :: Instance ().deny_filters ()->begin (); cur_deny != Preferences :: Instance ().deny_filters ()->end (); cur_deny++) { if (cur_deny->is_negative ()) { for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; if (regexec (cur_deny->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) break; // Check for normalised subject, if applicable. if (Preferences :: Instance ().normal () && strcmp (cur_entry->tag.c_str (), "Subject") == 0 && regexec (cur_deny->comp_exp (), (the_header->normal_subject ())->c_str (), 0, NULL, 0) == 0) break; if (cur_entry + 1 == the_header->entries ()->end ()) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Negative deny rule \"" + cur_deny->expression () + "\" did not match].", 4); return 1; } } } } } return 0; } // This function returns the score the message achieved. int Weeder :: check_scores (Header* the_header) const { Feedback* logger = Feedback :: Instance (); string cur_line; int msg_score = 0; // First test against the MAXSIZE_SCORE setting if (Preferences :: Instance ().max_size_score().score != 0 && Preferences :: Instance ().max_size_score().size > 0 && the_header->size() > Preferences :: Instance ().max_size_score().size) msg_score = Preferences :: Instance ().max_size_score().score; // Now check ordinary score rules. for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; for (vector :: iterator cur_score = Preferences :: Instance ().score_filters ()->begin (); cur_score != Preferences :: Instance ().score_filters ()->end (); cur_score++) { if (!cur_score->is_negative () // Check ordinary score rules... && ((regexec (cur_score->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) || // ...or, if that doesn't match, ... // ...check normalised subject, if applicable. (Preferences :: Instance ().normal () && strcmp (cur_entry->tag.c_str (), "Subject") == 0 && regexec (cur_score->comp_exp (), (the_header->normal_subject ())->c_str (), 0, NULL, 0) == 0))) { msg_score += cur_score->score (); logger->print_msg ("Score: \"" + cur_score->expression () + "\" matches \"" + cur_line + "\" [" + int_to_string (cur_score->score ()) + "].", 5); } } } // Check negative scores now. for (vector :: iterator cur_score = Preferences :: Instance ().score_filters ()->begin (); cur_score != Preferences :: Instance ().score_filters ()->end (); cur_score++) { if (cur_score->is_negative ()) { for (vector :: iterator cur_entry = the_header->entries ()->begin (); cur_entry != the_header->entries ()->end (); cur_entry++) { cur_line = cur_entry->tag + ": " + cur_entry->body; if (regexec (cur_score->comp_exp (), cur_line.c_str (), 0, NULL, 0) == 0) break; // Check normalised subject, if applicable. if (Preferences :: Instance ().normal () && strcmp (cur_entry->tag.c_str (), "Subject") == 0 && regexec (cur_score->comp_exp (), (the_header->normal_subject ())->c_str (), 0, NULL, 0) == 0) break; if (cur_entry + 1 == the_header->entries ()->end ()) { msg_score += cur_score->score (); logger->print_msg ("Score: <> \"" + cur_score->expression () + "\" did not match " + "[" + int_to_string (cur_score->score ()) + "].", 5); } } } } if (msg_score >= Preferences :: Instance ().highscore ()) { logger->print_msg ("Deny: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Score: " + int_to_string (msg_score) + "].", 2); return 1; } logger->print_msg ("Pass: " + *(the_header->from ()) + ": " + *(the_header->subject ()) + ", " + *(the_header->date ()) + " [Score: " + int_to_string (msg_score) + "].", 5); return 0; } mailfilter-0.8.2/src/score.hh0000644000175000017500000000210611134563257013023 00000000000000// score.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef SCORE_HH #define SCORE_HH #include "filter.hh" class Score; class Size_score { public: int score; int size; }; class Score : public Filter { protected: int scr; public: int score (void) const; void set_score (int); }; #endif mailfilter-0.8.2/src/preferences.cc0000644000175000017500000002640711134563107014203 00000000000000// preferences.cc - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include #include #include #include #include "preferences.hh" #include "filter.hh" #include "mailfilter.hh" #include "account.hh" #include "protocol.hh" #include "score.hh" #include "rcfile.hh" extern "C" { #include #include #include } #ifdef HAVE_CONFIG_H #include "config.h" #endif using namespace std; extern "C" { int rcparse (void*); } extern int cmp_no_case (const string&, const string&); Preferences :: Preferences () { icase = CASE_DEFAULT; norm = false; test = false; show_headers = false; del_duplicates = false; ret_status = false; high_score = 100; time_out_val = 30; negative_allows = 0; negative_denies = 0; negative_scores = 0; max_size = 0; max_size_friends = 0; max_line_length = 0; rreg_type = 0; verbosity = 3; // Flags indicate whether a value was touched before. See comments // inside preferences.hh for further details. verbosity_changed = false; test_changed = false; } Preferences& Preferences :: Instance () { static Preferences* instance = new Preferences; return *instance; } void Preferences :: init (void) { ((Size_score)(Preferences :: size_score)).score = 0; ((Size_score)(Preferences :: size_score)).size = 0; } void Preferences :: kill (void) { vector :: iterator die_account = (Preferences :: accnts).begin (); while (die_account != (Preferences :: accnts).end ()) { die_account->clear (); die_account++; } } // This function tries to locate a preferences file and, upon success, // stores the file path in prefs_file. However, no data is loaded by // the open() function. bool Preferences :: open (const char* name) { prefs_file_name = name; if (!prefs_file_name.length ()) { char* home_env; if ((home_env = getenv ("HOME"))) { string home_dir = home_env; prefs_file_name = home_dir + (string)RC_FILE_NAME; prefs_stream.open (prefs_file_name.c_str ()); // Windoze people have trouble with the leading dot so // here's an extra check, in case .mailfilterrc can't be // located in the user's home directory. if (!prefs_stream.is_open ()) prefs_file_name = home_dir + (string)RC_FILE_NAME_WIN; } else return false; } else prefs_stream.open (prefs_file_name.c_str ()); if (!prefs_stream.is_open ()) return false; return true; } // This function loads the user's preferences file which is specified // in prefs_file. This string, containing the path, must not be empty // at this point. bool Preferences :: load (void) { if (!prefs_stream.is_open ()) return false; try { RCParser rcparser (&prefs_stream); rcparser.parse ((void*)NULL); } catch (...) { throw; } return true; } void Preferences :: add_deny_rule (const char* keyword, const char* operat, const char* id) { Filter cur_filter; if (strcmp (operat, "=") == 0) cur_filter.set_negativity (false); else { negative_denies++; cur_filter.set_negativity (true); } cur_filter.set_expression (id); if (cmp_no_case (keyword, "deny_case") == 0) cur_filter.set_case (CASE_SENSITIVE); else if (cmp_no_case (keyword, "deny_nocase") == 0) cur_filter.set_case (CASE_INSENSITIVE); else cur_filter.set_case (default_case ()); denies.push_back (cur_filter); } void Preferences :: add_allow_rule (const char* keyword, const char* operat, const char* id) { Filter cur_filter; if (strcmp (operat, "=") == 0) cur_filter.set_negativity (false); else { negative_allows++; cur_filter.set_negativity (true); } cur_filter.set_expression (id); if (cmp_no_case (keyword, "allow_case") == 0) cur_filter.set_case (CASE_SENSITIVE); else if (cmp_no_case (keyword, "allow_nocase") == 0) cur_filter.set_case (CASE_INSENSITIVE); else cur_filter.set_case (default_case ()); allows.push_back (cur_filter); } void Preferences :: add_score (const char* keyword, int given_score, const char* operat, const char* id) { Score cur_score; if (strcmp (operat, "=") == 0) cur_score.set_negativity (false); else { negative_scores++; cur_score.set_negativity (true); } cur_score.set_expression (id); cur_score.set_score (given_score); if (cmp_no_case (keyword, "score_case") == 0) cur_score.set_case (CASE_SENSITIVE); else if (cmp_no_case (keyword, "score_nocase") == 0) cur_score.set_case (CASE_INSENSITIVE); else cur_score.set_case (default_case ()); scores.push_back (cur_score); } void Preferences :: set_headers_file (const char* name) { // Expand the given file name. wordexp_t result; if (wordexp (name, &result, 0) == 0) headers_file_name = result.we_wordv[0]; else { ERROR_MSG("Invalid file name: " + (string)name + "."); exit (-1); } wordfree (&result); } string Preferences :: headers_file (void) { return headers_file_name; } void Preferences :: set_rc_file (const char* name) { prefs_file_name = name; } string Preferences :: rc_file (void) { return prefs_file_name; } void Preferences :: set_log_file (const char* name) { // Only expand logfile name if none was already specified, eg on the // command line. if (log_file_name.length () == 0) { wordexp_t result; if (wordexp (name, &result, 0) == 0) log_file_name = result.we_wordv[0]; else { ERROR_MSG("Invalid file name: " + (string)name + "."); exit (-1); } wordfree (&result); } } string Preferences :: log_file (void) { return log_file_name; } void Preferences :: set_verbose_level (int level) { if (!verbosity_changed) { verbosity = level; verbosity_changed = true; } } int Preferences :: verbose_level (void) { return verbosity; } void Preferences :: set_default_case (const char* new_case) { icase = ((cmp_no_case (new_case, "yes") == 0) ? 0 : REG_ICASE); } int Preferences :: default_case (void) { return icase; } void Preferences :: set_reg_type (const char* new_type) { if (cmp_no_case (new_type, "extended") == 0) rreg_type = REG_EXTENDED; else if (cmp_no_case (new_type, "basic") == 0) rreg_type = 0; else { ERROR_MSG((string)"Regular expressions must either be of type " + (string)"'extended', or 'basic'."); exit (-1); } } int Preferences :: reg_type (void) { return rreg_type; } void Preferences :: set_server (const char* server) { cur_account.set_server (server); } void Preferences :: set_usr (const char* user) { cur_account.set_usr (user); } void Preferences :: set_passwd (const char* pass) { cur_account.set_passwd (pass); } void Preferences :: set_protocol (const char* prot) { try { if (cmp_no_case (prot, "POP3") == 0) cur_account.set_protocol (PROTOCOL_POP3); else if (cmp_no_case (prot, "APOP") == 0) cur_account.set_protocol (PROTOCOL_APOP); #ifdef USE_SSL else if (cmp_no_case (prot, "POP3/SSL") == 0) cur_account.set_protocol (PROTOCOL_POP3 | SSL_C); else if (cmp_no_case (prot, "APOP/SSL") == 0) cur_account.set_protocol (PROTOCOL_APOP | SSL_C); #endif else { ERROR_MSG ((string)"Only supported protocols are POP3 and " + (string)"APOP (SSL only if OpenSSL is available)."); exit (-1); } } catch (const exception& r_err) { // Most likely an error is the result of insufficient memory; // set_protocol tries to reserve space for a protocol object. // // The error cannot be passed on here, cause it would have to // pass the parser which is not exception-save. (Maybe, this // can be fixed in the future?) ERROR_MSG (r_err.what ()); exit (-1); } } // This function is pretty much a dummy wrapper. See comments // inside account.cc for further information about it. void Preferences :: set_connection (unsigned int p) { try { cur_account.set_connection (); } catch (const exception& r_err) { ERROR_MSG (r_err.what ()); exit (-1); } } void Preferences :: set_port (unsigned int p) { // Port is the last instruction in the server-defining block from // the rcfile, hence, we have to push the current server data onto // the stack of stored accounts. // TODO: shift this functionality into the rcfile parser! cur_account.set_port (p); accnts.push_back (cur_account); } bool Preferences :: delete_duplicates (void) { return del_duplicates; } void Preferences :: set_del_duplicates (const char* del) { del_duplicates = (cmp_no_case (del, "yes") == 0 ? true : false); } vector* Preferences :: accounts (void) { return &accnts; } vector* Preferences :: allow_filters (void) { return &allows; } vector* Preferences :: deny_filters (void) { return &denies; } vector* Preferences :: score_filters (void) { return &scores; } void Preferences :: set_time_out (unsigned int val) { time_out_val = val; } unsigned int Preferences :: time_out (void) { return time_out_val; } int Preferences :: max_size_allow (void) { return max_size_friends; } void Preferences :: set_max_size_allow (int val) { max_size_friends = val; } int Preferences :: max_size_deny (void) { return max_size; } void Preferences :: set_max_size_deny (int val) { max_size = val; } Size_score Preferences :: max_size_score (void) { return size_score; } void Preferences :: set_max_size_score (int score, int size) { size_score.score = score; size_score.size = size; } int Preferences :: neg_allows (void) { return negative_allows; } int Preferences :: neg_denies (void) { return negative_denies; } int Preferences :: highscore (void) { return high_score; } void Preferences :: set_highscore (int val) { high_score = val; } void Preferences :: set_normal (const char* par) { norm = (cmp_no_case (par, "yes") == 0 ? true : false); } bool Preferences :: normal (void) { return norm; } bool Preferences :: test_mode (void) { return test; } void Preferences :: set_test_mode (const char* par) { if (!test_changed) { test = (cmp_no_case (par, "yes") == 0 ? true : false); test_changed = true; } } void Preferences :: set_maxlength (int val) { max_line_length = val; } int Preferences :: maxlength (void) { return max_line_length; } bool Preferences :: return_status (void) { return ret_status; } void Preferences :: set_return_status (bool st) { ret_status = st; } mailfilter-0.8.2/src/getopt1.c0000644000175000017500000001065010555236121013112 00000000000000/* getopt_long and getopt_long_only entry points for GNU getopt. Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifdef HAVE_CONFIG_H #include #endif #include "getopt.h" #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ #ifndef const #define const #endif #endif #include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C Library, but also included in many other GNU distributions. Compiling and linking in this code is a waste when using the GNU C library (especially if it is a shared library). Rather than having every GNU program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ #define GETOPT_INTERFACE_VERSION 2 #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 #include #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION #define ELIDE_CODE #endif #endif #ifndef ELIDE_CODE /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ #include #endif #ifndef NULL #define NULL 0 #endif int getopt_long (argc, argv, options, long_options, opt_index) int argc; char *const *argv; const char *options; const struct option *long_options; int *opt_index; { return _getopt_internal (argc, argv, options, long_options, opt_index, 0); } /* Like getopt_long, but '-' as well as '--' can indicate a long option. If an option that starts with '-' (not '--') doesn't match a long option, but does match a short option, it is parsed as a short option instead. */ int getopt_long_only (argc, argv, options, long_options, opt_index) int argc; char *const *argv; const char *options; const struct option *long_options; int *opt_index; { return _getopt_internal (argc, argv, options, long_options, opt_index, 1); } #endif /* Not ELIDE_CODE. */ #ifdef TEST #include int main (argc, argv) int argc; char **argv; { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; int option_index = 0; static struct option long_options[] = { {"add", 1, 0, 0}, {"append", 0, 0, 0}, {"delete", 1, 0, 0}, {"verbose", 0, 0, 0}, {"create", 0, 0, 0}, {"file", 1, 0, 0}, {0, 0, 0, 0} }; c = getopt_long (argc, argv, "abc:d:0123456789", long_options, &option_index); if (c == -1) break; switch (c) { case 0: printf ("option %s", long_options[option_index].name); if (optarg) printf (" with arg %s", optarg); printf ("\n"); break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value `%s'\n", optarg); break; case 'd': printf ("option d with value `%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ mailfilter-0.8.2/src/imap.cc0000644000175000017500000000153111134563002012611 00000000000000// imap.cc - source file for the mailfilter program // Copyright (c) 2004 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include "imap.hh" mailfilter-0.8.2/src/defines.hh0000644000175000017500000000210711134562671013325 00000000000000// defines.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef DEFINES_HH #define DEFINES_HH #define GEN_FAILURE_FLAG -1 #define MEM_FAILURE_FLAG -2 #define POSIX_SOCKETS 1 #define WIN_SOCKS 2 // TODO: Currently not supported. #endif mailfilter-0.8.2/src/rfc822.yy0000644000175000017500000000644611212616240012757 00000000000000/* *********************************************************************** */ /* A parser definition for Mailfilter's RFC 822 parser */ /* Copyright (c) 2000 - 2009 Andreas Bauer */ /* */ /* 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, */ /* USA. */ /* *********************************************************************** */ %{ #include #include #include #include #include #include "header.hh" // This is necessary to use multiple lexer classes. See the flex man // page for further information. #undef yyFlexLexer #define yyFlexLexer rfcFlexLexer #include #ifdef HAVE_CONFIG_H #include "config.h" #endif // We want to give the Preferences object as parameter for yyparse #define YYPARSE_PARAM param using namespace std; extern FlexLexer* rfclexer; inline int yylex () { return rfclexer->rfclex (); } extern "C" { int rfcparse (void*); void rfcerror (const char* str) { cerr << PACKAGE_NAME << ": Error: Parser reported " << str; cerr << "." << endl; exit (-1); } } %} %union { char* sval; }; %token HEADER_END %token TOPLINE %token TAG %token BODY %token BODY_MULTI_LINE %type bodies %right BODY %% header: /* empty */ | header entry ; entry: the_end | TAG bodies { try { ((Header*)param)->add_entry ($1, $2); free ($1); free ($2); } catch (const std::exception &e) { throw e; } } ; bodies: BODY { $$ = $1; } | bodies BODY { char* tmp = (char*)malloc ((strlen ($1) + strlen ($2) + 2) * sizeof (char)); if (tmp) { strcpy (tmp, $1); $$ = strcat (tmp, $2); free ($1); free ($2); } else { std::cerr << "Out of memory error in rfcparser." << std::endl; exit (-1); } } ; the_end: HEADER_END { ; } ; %% mailfilter-0.8.2/src/mailfilter.hh0000644000175000017500000000265711134563030014040 00000000000000// mailfilter.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef MAILFILTER_HH #define MAILFILTER_HH #include #ifdef HAVE_CONFIG_H #include "config.h" #endif using namespace std; // Mailfilter's command line options and arguments. #define VALUE_HELP 1 #define VALUE_VERBOSE 2 #define VALUE_MAILFILTERRC 3 #define VALUE_LOGFILE 4 #define VALUE_VERSION 5 #define VALUE_TEST 6 #define VALUE_RETURN 7 #define ERROR_MSG(msg) \ cerr << PACKAGE_NAME \ << ": Error: " \ << msg \ << endl #endif mailfilter-0.8.2/src/rcfile.hh0000644000175000017500000000246411134563156013161 00000000000000// rcfile.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef RCFILE_HH #define RCFILE_HH // This is necessary to use multiple lexer classes. See the flex man // page for further information. #undef yyFlexLexer #define yyFlexLexer rcFlexLexer #include #include using namespace std; // Note: Bodies of the functions are defined inside rcfile.yy. class RCParser { private: istream* isp; ostream* osp; public: RCParser (istream* ip = 0, ostream* = 0); ~RCParser (); void parse (void* = 0); }; #endif mailfilter-0.8.2/src/account.hh0000644000175000017500000000357311134562624013352 00000000000000// account.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef ACCOUNT_HH #define ACCOUNT_HH #include #include #include "defines.hh" #include "protocol.hh" #include "pop3.hh" #include "apop.hh" #include "connection.hh" using namespace std; class Account { protected: string serv; string user; string pass; int the_port; vector msg_ids; Protocol* proto; Connection* conn; public: void clear (void); string server (void); void set_server (const char*); string usr (void); void set_usr (const char*); string passwd (void); void set_passwd (const char*); unsigned int port (void); void set_port (unsigned int); void set_protocol (unsigned int); unsigned int protocol (void); void set_connection (unsigned int = POSIX_SOCKETS) __attribute__ ((unused)); int check (void); }; #endif mailfilter-0.8.2/src/rcfile.ll0000644000175000017500000002515611134563167013176 00000000000000/* *********************************************************************** */ /* A scanner definition for Mailfilter's config files */ /* Copyright (c) 2000 - 2009 Andreas Bauer */ /* */ /* 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, */ /* USA. */ /* *********************************************************************** */ /* The states are numbered from 1...n and are stored in YY_START. */ %s CTRL %x INCL %x PARAM %s PARAM_NUM %s PARAM_BOOL %option noyywrap %{ #include #include #include #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "rcparser.hh" extern "C" { #include } using namespace std; /* Only allow 'recursion depth' of 1 when including files. */ #define MAX_INCLUDE_DEPTH 1 /* Define L_DEBUG_MODE to get extra output from the scanner. */ #ifdef L_DEBUG_MODE #undef L_DEBUG_MSG #define L_DEBUG_MSG(msg) \ cout << "Lexer: " \ << msg \ << endl #else #define L_DEBUG_MSG(msg) \ ; #endif YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; int include_stack_ptr; extern string expand_path (const string&); extern string int_to_string (int val); %} ALLOW allow ALLOW_CASE allow_case ALLOW_NOCASE allow_nocase DEL_DUPLICATES del_duplicates DENY_NOCASE deny_nocase DENY_CASE deny_case DENY deny HIGHSCORE highscore INCLUDE include[ \t]*= LOGFILE logfile MAXLENGTH maxlength MAXSIZE_ALLOW maxsize_allow MAXSIZE_DENY maxsize_deny MAXSIZE_SCORE maxsize_score NORMAL normal REG_CASE reg_case REG_TYPE reg_type SERVER server USER user PASS pass PROTOCOL protocol PORT port SHOW_HEADERS show_headers SCORE score SCORE_CASE score_case SCORE_NOCASE score_nocase TEST test TIMEOUT timeout VERBOSE verbose REM ^[[:blank:]]*#.* NOT_EQUAL <> EXP \"([[:graph:]]+)|([[:graph:]]+.*[[:graph:]]+)\" TEXT_ID [[:alnum:]]+ YES_NO_ID (yes|no) SHELL_CMD \`([[:graph:]]|[[:blank:]])+\' ENV_VAR [\$]([[:alnum:]]|_)+ NUM_ID (\+|\-|[0-9])[0-9]* CTRL_CHAR . int num_lines = 0; int temp_num_lines = 0; string sub_file; %% {INCLUDE} { BEGIN(INCL); temp_num_lines = num_lines; num_lines = 0; } [ \t]* {; /* Eat the whitespace. */ } [^ \t\n]+ { /* Include further rcfiles: */ wordexp_t result; if (include_stack_ptr >= MAX_INCLUDE_DEPTH) { cerr << PACKAGE_NAME << ": Error: Files nested too deep." << endl; exit (-1); } include_stack[include_stack_ptr++] = YY_CURRENT_BUFFER; try { if (wordexp (yytext, &result, 0) == 0) { sub_file = result.we_wordv[0]; wordfree (&result); } else { cerr << PACKAGE_NAME << ": Error: Nested rcfile '"; cerr << yytext << "' could not be found." << endl; exit (-1); } yyin = new ifstream (sub_file.c_str ()); if (!((ifstream*) yyin)->is_open ()) { cerr << PACKAGE_NAME << ": Error: Nested rcfile '"; cerr << sub_file << "' could not be opened." << endl; exit (-1); } yy_switch_to_buffer (yy_create_buffer (yyin, YY_BUF_SIZE)); } catch (...) { cerr << PACKAGE_NAME << ": Error: Exception was thrown when " << "trying to read '" << yytext << "'." << endl; exit (-1); } BEGIN(INITIAL); } <> { if (--include_stack_ptr < 0) yyterminate (); else { yy_delete_buffer (YY_CURRENT_BUFFER); yy_switch_to_buffer (include_stack[include_stack_ptr]); } num_lines = temp_num_lines; sub_file = ""; } {REM} {; /* Do nothing with remarks. */ } {ALLOW} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Allow."); return ALLOW; } {ALLOW_CASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Allow_Case."); return ALLOW_CASE; } {ALLOW_NOCASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Allow_Nocase."); return ALLOW_NOCASE; } {DEL_DUPLICATES} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Del_Duplicates."); BEGIN(PARAM_BOOL); return DEL_DUPLICATES; } {DENY} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Deny."); return DENY; } {DENY_CASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Deny_Case."); return DENY_CASE; } {DENY_NOCASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Deny_Nocase."); return DENY_NOCASE; } {HIGHSCORE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Highscore."); BEGIN(PARAM_NUM); return HIGHSCORE; } {LOGFILE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Logfile."); return LOGFILE; } {MAXLENGTH} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Maxlength."); BEGIN(PARAM_NUM); return MAXLENGTH; } {MAXSIZE_ALLOW} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Maxsize_Allow."); BEGIN(PARAM_NUM); return MAXSIZE_ALLOW; } {MAXSIZE_DENY} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Maxsize_Deny."); BEGIN(PARAM_NUM); return MAXSIZE_DENY; } {MAXSIZE_SCORE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Maxsize_Score."); BEGIN(PARAM_NUM); return MAXSIZE_SCORE; } {NORMAL} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Normal."); BEGIN(PARAM_BOOL); return NORMAL; } {SERVER} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Server."); return SERVER; } {USER} { rclval.sval = strdup (yytext); L_DEBUG_MSG("User."); return USER; } {PASS} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Pass."); return PASS; } {PROTOCOL} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Protocol."); return PROTOCOL; } {PORT} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Port."); BEGIN(PARAM_NUM); return PORT; } {REG_CASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Reg_Case."); BEGIN(PARAM_BOOL); return REG_CASE; } {REG_TYPE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Reg_Type."); return REG_TYPE; } {SHOW_HEADERS} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Show_Headers."); return SHOW_HEADERS; } {SCORE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Score."); BEGIN(PARAM_NUM); return SCORE; } {SCORE_CASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Score_Case."); BEGIN(PARAM_NUM); return SCORE_CASE; } {SCORE_NOCASE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Score_Nocase."); BEGIN(PARAM_NUM); return SCORE_NOCASE; } {TEST} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Test."); BEGIN(PARAM_BOOL); return TEST; } {TIMEOUT} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Timeout."); BEGIN(PARAM_NUM); return TIMEOUT; } {VERBOSE} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Verbose."); BEGIN(PARAM_NUM); return VERBOSE; } "=" { rclval.sval = strdup (yytext); L_DEBUG_MSG((string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return '='; } "<>" { rclval.sval = strdup (yytext); L_DEBUG_MSG((string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return NOT_EQUAL; } "\"" { /* Beginning of an argument: */ rclval.sval = strdup (yytext); if (YY_START != PARAM_BOOL) BEGIN(PARAM); L_DEBUG_MSG((string)"Opening \"" + " (" + int_to_string (YY_START) + ")"); return '"'; } {NUM_ID} { rclval.ival = atoi (yytext); L_DEBUG_MSG("Num_Id: " + (string)yytext + " (" + int_to_string (YY_START) + ")"); return NUM_ID; } {SHELL_CMD} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Shell_Cmd: " + (string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return SHELL_CMD; } {ENV_VAR} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Env_Var: " + (string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return ENV_VAR; } {YES_NO_ID} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Yes_No_Id: " + (string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return YES_NO_ID; } {TEXT_ID} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Text_Id: " + (string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return TEXT_ID; } \"[[:blank:]]*$ { /* Ending of an argument: */ rclval.sval = strdup (yytext); L_DEBUG_MSG((string)"Closing \"" + " (" + int_to_string (YY_START) + ")"); return '"'; } {CTRL_CHAR} { rclval.sval = strdup (yytext); L_DEBUG_MSG("Ctrl_Char: " + (string)rclval.sval + " (" + int_to_string (YY_START) + ")"); return CTRL_CHAR; } <*>[ \t] {; /* Do nothing with tabs and spaces. */ } <*>"\n" { ++num_lines; BEGIN(0); } <*>. { if (sub_file != "") { cerr << PACKAGE_NAME << ": Error: Lexicographical error in line "; cerr << (num_lines + 1) << " of your rcfile '" << sub_file; cerr << "'." << endl; } else { cerr << PACKAGE_NAME << ": Error: Lexicographical error in line "; cerr << (num_lines + 1) << " of your main rcfile." << endl; } cerr << PACKAGE_NAME << ": The term '" << yytext; cerr << "' could not be interpreted." << endl; exit (-1); } %% mailfilter-0.8.2/src/Makefile.in0000644000175000017500000004664711212607131013441 00000000000000# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Makefile.am: help build program sources # $Id: Makefile.am,v 1.9.2.6.2.22 2006/12/31 21:44:18 baueran Exp $ # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = mailfilter$(EXEEXT) @GETOPT_FALSE@am__append_1 = getopt.c getopt1.c getopt.h subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in rcfile.cc \ rfc822.cc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__mailfilter_SOURCES_DIST = md5c.c md5.h defines.hh rcfile.ll \ rcfile.hh rfc822.ll mailfilter.hh mailfilter.cc header.hh \ header.cc weeder.hh weeder.cc preferences.hh preferences.cc \ feedback.hh feedback.cc filter.hh filter.cc score.hh score.cc \ account.hh account.cc protocol.hh protocol.cc connection.hh \ socket.hh socket.cc pop3.hh pop3.cc apop.hh apop.cc imap.hh \ imap.cc getopt.c getopt1.c getopt.h @GETOPT_FALSE@am__objects_1 = getopt.$(OBJEXT) getopt1.$(OBJEXT) am_mailfilter_OBJECTS = md5c.$(OBJEXT) rcfile.$(OBJEXT) \ rfc822.$(OBJEXT) mailfilter.$(OBJEXT) header.$(OBJEXT) \ weeder.$(OBJEXT) preferences.$(OBJEXT) feedback.$(OBJEXT) \ filter.$(OBJEXT) score.$(OBJEXT) account.$(OBJEXT) \ protocol.$(OBJEXT) socket.$(OBJEXT) pop3.$(OBJEXT) \ apop.$(OBJEXT) imap.$(OBJEXT) $(am__objects_1) mailfilter_OBJECTS = $(am_mailfilter_OBJECTS) \ $(nodist_mailfilter_OBJECTS) mailfilter_DEPENDENCIES = rcparser.o rfc822parser.o DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ @MAINTAINER_MODE_FALSE@am__skiplex = test -f $@ || LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) YLWRAP = $(top_srcdir)/ylwrap SOURCES = $(mailfilter_SOURCES) $(nodist_mailfilter_SOURCES) DIST_SOURCES = $(am__mailfilter_SOURCES_DIST) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBOBJS = @LIBOBJS@ LIBS = @LEXLIB@ @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = -d -v abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = rcfile.yy rfc822.yy AM_CXXFLAGS = -Wall AM_LFLAGS = -+ -i # This thing is a workaround to avoid compile errors. # We always re-generate the source from the flex/bison input, so it # always matches the installed versions and does not lead to errors. CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ rfc822parser.output rfc822parser.cc rfc822parser.hh \ rfc822.cc y.output nodist_mailfilter_SOURCES = rcfile.cc rcparser.hh y.tab.c rfc822.cc nodist_mailfilter_OBJECTS = y.tab.$(OBJEXT) # If this gets updated, remember to update the doxygen.in config file! mailfilter_SOURCES = md5c.c md5.h defines.hh rcfile.ll rcfile.hh \ rfc822.ll mailfilter.hh mailfilter.cc header.hh header.cc \ weeder.hh weeder.cc preferences.hh preferences.cc feedback.hh \ feedback.cc filter.hh filter.cc score.hh score.cc account.hh \ account.cc protocol.hh protocol.cc connection.hh socket.hh \ socket.cc pop3.hh pop3.cc apop.hh apop.cc imap.hh imap.cc \ $(am__append_1) mailfilter_LDADD = rcparser.o rfc822parser.o INCLUDES = -I$(includedir) \ -I$(srcdir) -I$(top_srcdir)/include -I$(top_srcdir) \ -DLOCALEDIR=\"$(datadir)/locale\" \ -I$(top_srcdir)/intl \ -I$(top_builddir) -I$(top_builddir)/include -I. all: all-am .SUFFIXES: .SUFFIXES: .c .cc .ll .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) mailfilter$(EXEEXT): $(mailfilter_OBJECTS) $(mailfilter_DEPENDENCIES) @rm -f mailfilter$(EXEEXT) $(CXXLINK) $(mailfilter_OBJECTS) $(mailfilter_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/apop.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/feedback.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/header.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mailfilter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5c.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pop3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rcfile.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc822.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/score.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socket.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weeder.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/y.tab.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .ll.cc: $(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -rm -f rcfile.cc -rm -f rfc822.cc clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-binPROGRAMS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags dist-hook distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS # Some dependencies to invoke flex + bison before compilation of # lex output starts: rcfile.cc: rcfile.ll rcparser.hh $(LEX) $(AM_LFLAGS) -Prc -o$@ $< # The final `touch' is necessary to be able to invoke flex/bison more # than once and to not confuse the ../ylwrap script. rcparser.hh: y.tab.c y.tab.c: rcfile.yy $(YACC) -p rc $(YFLAGS) -o$@ $<; \ mv -f y.tab.c rcparser.cc; \ mv -f y.tab.h rcparser.hh; \ $(CXXCOMPILE) -c rcparser.cc; \ touch y.tab.c # Almost the same as above, but this time for the RFC 822 parser: rfc822.cc: rfc822.ll rfc822parser.hh $(LEX) $(AM_LFLAGS) -Prfc -o$@ $< rfc822parser.hh: rfc822parser.cc rfc822parser.cc: rfc822.yy $(YACC) $(YFLAGS) -p rfc -o$@ $<; \ mv -f y.tab.h rfc822parser.hh; \ $(CXXCOMPILE) -c rfc822parser.cc; \ touch y.tab.c # Looks like automake still wants to distribute rcfile.cc, even if it # is in nodist_*_sources. dist-hook: rm -f $(distdir)/rcfile.cc \ $(distdir)/rfc822parser.cc \ $(distdir)/rfcparser.cc # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mailfilter-0.8.2/src/pop3.hh0000644000175000017500000000407011134563076012572 00000000000000// pop3.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef POP3_HH #define POP3_HH #include "header.hh" #include "protocol.hh" using namespace std; // True, if the server replied and its status message was anything, // but an error. #define REPLY_OK ((conn->c_read () > 0 && conn->c_reply ()) ? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) // This macro is similar to REPLY_OK, except it sets a flag for c_read // in order to tell the function that an entire message header is // about to be received. Further comments inside socket.cc:c_read(). #define HEADER_OK ((conn->c_read (true) > 0 && conn->c_reply ())? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) class POP3 : public Protocol { private: int invoke_msg_parser (const string*, const Header*) const; public: bool login (const char*, const char*, const unsigned int) const; bool logout (void) const; int remove_msg (const unsigned int) const; int status (void) const; int scan (void) const; }; #endif mailfilter-0.8.2/src/apop.hh0000644000175000017500000000212111212606043012630 00000000000000// apop.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef APOP_HH #define APOP_HH #include "pop3.hh" using namespace std; class APOP : public POP3 { public: bool login (const char* usr, const char* pass, const unsigned int enc) const; private: void get_hash (char*, const char*, const char*) const; }; #endif mailfilter-0.8.2/src/preferences.hh0000644000175000017500000001153611134563121014206 00000000000000// preferences.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef PREFERENCES_HH #define PREFERENCES_HH #include #include #include #include "defines.hh" #include "socket.hh" #include "filter.hh" #include "score.hh" #include "account.hh" using namespace std; class Preferences { protected: ifstream prefs_stream; vector allows; vector denies; vector scores; vector accnts; Account cur_account; string prefs_file_name; string log_file_name; string headers_file_name; int icase; bool norm; bool test; bool show_headers; bool del_duplicates; bool ret_status; int high_score; unsigned time_out_val; int max_size; Size_score size_score; int max_size_friends; int max_line_length; int rreg_type; int verbosity; int conn_type; int negative_allows; int negative_denies; int negative_scores; // These flags indicate whether a value was already set, or // whether it's still set to the default values defined by the // constructor. bool verbosity_changed; bool test_changed; public: Preferences (); static Preferences& Instance (); void init (void); void kill (void); bool open (const char*); bool load (void); void add_deny_rule (const char*, const char*, const char*); void add_allow_rule (const char*, const char*, const char*); void add_score (const char*, int, const char*, const char*); int neg_allows (void); int neg_denies (void); void set_rc_file (const char*); string rc_file (void); void set_log_file (const char*); string log_file (void); void set_verbose_level (int); int verbose_level (void); void set_headers_file (const char*); string headers_file (void); void set_default_case (const char*); int default_case (void); void set_reg_type (const char*); int reg_type (void); void set_server (const char*); void set_usr (const char*); void set_passwd (const char*); void set_protocol (const char*); void set_connection (unsigned int = POSIX_SOCKETS) __attribute__ ((unused)); void set_port (unsigned int); unsigned int time_out (void); void set_time_out (unsigned int); bool delete_duplicates (void); void set_del_duplicates(const char*); int max_size_allow (void); void set_max_size_allow(int); int max_size_deny (void); void set_max_size_deny (int); Size_score max_size_score (void); void set_max_size_score(int, int); int highscore (void); void set_highscore (int); bool normal (void); void set_normal (const char*); bool test_mode (void); void set_test_mode (const char*); int maxlength (void); void set_maxlength (int); bool return_status (void); void set_return_status (bool); vector* accounts (void); vector* allow_filters (void); vector* deny_filters (void); vector* score_filters (void); }; #endif mailfilter-0.8.2/src/pop3.cc0000644000175000017500000001535211134563063012561 00000000000000// pop3.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include "socket.hh" #include "pop3.hh" #include "feedback.hh" #include "preferences.hh" #include "mailfilter.hh" #include "header.hh" #include "weeder.hh" #include "defines.hh" #include "protocol.hh" // This is necessary to use multiple lexer classes. See the flex man // page for further information. #undef yyFlexLexer #define yyFlexLexer rfcFlexLexer #include extern "C" { int rfcparse (void*); } using namespace std; // Declare lexer globally, so the parser can find it. FlexLexer* rfclexer; extern Weeder weeder; bool POP3 :: login (const char* usr, const char* pass, const unsigned int enc) const { string usr_name = (string)"USER " + usr + (string)"\r\n"; string pass_wd = (string)"PASS " + pass + (string)"\r\n"; if (conn->c_read () == -1) return false; Feedback* logger = Feedback :: Instance (); // Send user name and read server reply. if (conn->c_write (usr_name.c_str ()) == -1 || !REPLY_OK) { logger->print_err("Error occured while sending username to server."); return false; } // Send password and read server reply. if (conn->c_write (pass_wd.c_str ()) == -1 || !REPLY_OK) { logger->print_err("Error occured while sending password to server."); return false; } return true; } int POP3 :: status (void) const { // Send user name and read server reply. if (conn->c_write ("STAT\r\n") == -1) return GEN_FAILURE_FLAG; if (!REPLY_OK) return GEN_FAILURE_FLAG; istringstream response (conn->c_reply ()->c_str ()); string no_msgs; // The second word in the server's output string contains the number // of unread messages in a POP3 mailbox. Hence we shift the reply // string twice. for (int i = 1; i <= 2; i++) response >> no_msgs; return atoi (no_msgs.c_str ()); } // The function scans the headers inside a POP3 account for spam. It // will delete all spam messages in the account and return 0 when all // the hard work is done. A negative integer is returned if an error // occured. int POP3 :: scan (void) const { Feedback* logger = Feedback :: Instance (); Header* msg_header; int num_messages; stringstream msg_no; string cmd; // Determine number of messages waiting to be examined. if ((num_messages = status ()) < 0) { logger->print_err ("Error occured while sending STAT to server."); return GEN_FAILURE_FLAG; } try { for (int i = 1; i <= num_messages; i++) { // Reserve heap for the message to be stored, parsed, and // processed. msg_header = new Header; // Convert current message number to string. msg_no << i; // Determine message size. cmd = "LIST " + msg_no.str () + "\r\n"; if (conn->c_write (cmd.c_str ()) == -1 || !REPLY_OK) { logger->print_err ("Error occured while sending LIST to server."); return GEN_FAILURE_FLAG; } msg_header->set_size (atoi ((conn->c_reply ()-> substr (conn->c_reply ()-> find_last_of (" ") + 1)).c_str ())); // Read the header of the current message. cmd = "TOP " + msg_no.str () + " 0\r\n"; if (conn->c_write (cmd.c_str ()) == -1 || !HEADER_OK) { logger->print_err ("Error occured while sending TOP to server."); return GEN_FAILURE_FLAG; } // Store the header in a separate file, if the user has given // a path definition via SHOW_HEADERS. if (Preferences :: Instance ().headers_file ().length ()) if (!logger->print_header (conn->c_reply ()->c_str ())) logger->print_err ("Could not write headers to separate file."); // Strip topmost status line of server reply, e.g. "+OK Message // follows." The +1 in the end is necessary to skip the actual // first newline itself. string message = conn->c_reply ()->substr (conn->c_reply ()->find_first_of ("\n") + 1); // Now parse the header of the current message and store it in // the msg_header object. if (invoke_msg_parser (&message, msg_header) < 0) { logger->print_err ("Parsing the header of message " + msg_no.str () + " failed."); return GEN_FAILURE_FLAG; } // Now pass msg_header on to the weeder in order to determine // whether it stores a spam mail. if (weeder.is_weed (msg_header) == 1) remove_msg (i); // Delete memory occupied by the current message header. delete msg_header; // Reset stringstream for next int to string conversion. msg_no.clear (); msg_no.str (string ()); } } catch (...) { throw; } return 0; } // This function accepts a string pointer as argument which contains // the entire header of an email message. It is used to parse that // header and store it in a Header-class, msg_header, in order to // determine whether that particular message qualifies as Spam. The // function returns a positive integer upon success, and a negative // one otherwise. Failure is usually related to out-of-memory errors. int POP3 :: invoke_msg_parser (const string* header, const Header* msg_header) const { if (header && msg_header) { try { stringstream cur_header; cur_header << *header; rfclexer = new rfcFlexLexer; rfclexer->switch_streams (&cur_header); int error = rfcparse ((void*) msg_header); delete rfclexer; return error; } catch (...) { return MEM_FAILURE_FLAG; } } else return GEN_FAILURE_FLAG; } bool POP3 :: logout (void) const { return (conn->c_write ("QUIT\r\n") == -1) ? false : true; } int POP3 :: remove_msg (const unsigned int num) const { if (Preferences :: Instance ().test_mode ()) { Feedback* logger = Feedback :: Instance (); logger->print_msg ("Debugging: Simulating DELE command.", 6); return 0; } ostringstream ostr; ostr << num; string cmd = (string)"DELE " + ostr.str () + (string)"\r\n"; return (conn->c_write (cmd.c_str ()) == -1) ? GEN_FAILURE_FLAG : 0; } mailfilter-0.8.2/src/md5.h0000644000175000017500000000326710555236122012230 00000000000000/* MD5.H - header file for MD5C.C */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. */ #ifndef MD5_H #define MD5_H 1 #include #include /* POINTER defines a generic pointer type */ typedef unsigned char *POINTER; #ifndef HAVE_UINT32_T # if SIZEOF_INT == 4 typedef unsigned int uint32_t; # elif SIZEOF_LONG == 4 typedef unsigned long int uint32_t; # endif #endif /* MD5 context. */ typedef struct { uint32_t state[4]; /* state (ABCD) */ uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX; void MD5Init (MD5_CTX *); void MD5Update (MD5_CTX *, unsigned char *, unsigned int); void MD5Final (unsigned char [16], MD5_CTX *); /* added to define the conversion wrapper */ void gethash (char [33], char *, char *); #endif mailfilter-0.8.2/src/apop.cc0000644000175000017500000000506011212607333012626 00000000000000// apop.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include "apop.hh" #include "feedback.hh" #include "defines.hh" #include "mailfilter.hh" extern "C" { #include #include "md5.h" } using namespace std; bool APOP :: login (const char* usr, const char* pass, const unsigned int enc) const { Feedback* logger = Feedback :: Instance (); string usr_name = (string)"USER " + usr + (string)"\r\n"; string pass_wd = (string)"PASS " + pass + (string)"\r\n"; string greet, command; char *ts,*p, md5hash[33]; // Get server welcome string first. if (conn->c_read () == -1) return false; // Attempt to extract the timestamp from the saved input. // If the server response does not include , // i.e. the comparison with NULL, it does not support the // APOP protocol. greet = *conn->c_reply (); if ( ((ts = index (&greet[0], '<')) == NULL) || ((p = index (ts, '>')) == NULL) ) return false; p[1] = '\0'; // Calculate the hash. get_hash (md5hash, ts, pass); // Send the APOP command as in the username/password code below. command = "APOP " + (string)usr + " " + (string)md5hash + "\r\n"; if (conn->c_write (command.c_str ()) == -1 || !REPLY_OK) { logger->print_err ("APOP protocol initialisation error."); return false; } return true; } void APOP :: get_hash (char* hash, const char* stamp, const char* pass) const { MD5_CTX mdContext; unsigned char digest[16]; MD5Init (&mdContext); MD5Update (&mdContext, (unsigned char*)stamp, strlen (stamp)); MD5Update (&mdContext, (unsigned char*)pass, strlen (pass)); MD5Final (digest, &mdContext); for (unsigned int i = 0; i < sizeof (digest); i++) sprintf (hash + 2 * i, "%02x", digest[i]); } mailfilter-0.8.2/src/rfc822.ll0000644000175000017500000001033311134563220012715 00000000000000/* *********************************************************************** */ /* An oversimplified scanner definition for Mailfilter's RFC822 scanner */ /* Copyright (c) 2000 - 2009 Andreas Bauer */ /* */ /* 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, */ /* USA. */ /* *********************************************************************** */ %x BODY_READY %s TAG_READY %option noyywrap %{ #include #include #include #include #include "rfc822parser.hh" using namespace std; /* Define L_DEBUG_MODE to get extra output from the scanner and to avoid returning too early. Early return is useless if there is no parser which keeps calling the scanners. */ #undef L_DEBUG_MODE /* Return should be defined to a nop-operation, if the programmer really only debugs a single message offline. */ #define RETURN(x) return(x) #ifdef L_DEBUG_MODE #undef L_DEBUG_MSG #define L_DEBUG_MSG(msg) \ cout << "Lexer: " \ << msg #else #undef L_DEBUG_MSG #define L_DEBUG_MSG(msg) \ ; #endif %} NL (\r\n) TOPLINE ^From[[:space:]].* TAG ^[[:alpha:]]+([[:alnum:]]|\-)*\: BODY (.*|[[:space:]]) HEADER_END \. %% {TOPLINE}{NL} { rfclval.sval = strdup (yytext); L_DEBUG_MSG("Topline: " + (string)yytext); RETURN(TOPLINE); } {TAG}[[:space:]]* { string the_tag = yytext; the_tag = the_tag.substr (0, the_tag.find_last_of (":")); rfclval.sval = strdup (the_tag.c_str ()); L_DEBUG_MSG(" Tag: " + the_tag + "\n"); BEGIN(BODY_READY); RETURN(TAG); } {BODY}{NL} { /* Remove trailing newline if it exists. */ if (yytext[strlen(yytext) - 1] == '\n') { char* the_tag = (char*)malloc (sizeof (char) * strlen (yytext)); snprintf (the_tag, strlen (yytext) - 1, "%s", yytext); rfclval.sval = the_tag; } else rfclval.sval = strdup (yytext); L_DEBUG_MSG(" Body: " + (string)yytext); BEGIN(0); RETURN(BODY); } ^[[:space:]].* { /* This is to scan multiple lines of a header body field, e.g. the Received fields are usually spread over multiple lines. In order to handle the leading white spaces, we need to replace them with ordinary blanks. */ char* the_tag = yytext; for (unsigned int i = 0; i <= strlen (the_tag); i++) if (isspace (the_tag[i])) the_tag[i] = ' '; rfclval.sval = strdup (the_tag); L_DEBUG_MSG("M-Body: " + (string)the_tag); BEGIN(TAG_READY); RETURN(BODY); } {NL}{HEADER_END}{NL} { rfclval.sval = strdup (yytext); L_DEBUG_MSG("EOF.\n"); RETURN(HEADER_END); } <*>[ \t] {; /* Do nothing with tabs and spaces. */ } <*>"\n" { BEGIN(0); } %% /* In order to test the following code and to create a standalone scanner, read the comments inside Makefile.am and compile only the Makefile target `rfc_test'. */ int rfcwrap (); #ifdef SCANNER_STANDALONE #include int main (int argc, char** argv) { FlexLexer* lexer = new rfcFlexLexer; ++argv, --argc; /* Skip over program name. */ lexer->switch_streams (new ifstream (argv[0])); lexer->rfclex (); delete lexer; return 0; } #endif int rfcwrap () { return 1; } mailfilter-0.8.2/src/mailfilter.cc0000644000175000017500000002741211134563021014022 00000000000000// mailfilter.cc - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include #include #include #include #include #include "mailfilter.hh" #include "preferences.hh" #include "feedback.hh" #include "weeder.hh" #ifdef HAVE_CONFIG_H #include "config.h" #endif extern "C" { #include "time.h" #include #ifdef HAVE_GETOPT_H #include #else #include "getopt.h" #endif } using namespace std; static struct option long_options[] = { {"help", 0, NULL, VALUE_HELP}, {"verbose", 1, NULL, VALUE_VERBOSE}, {"mailfilterrc", 1, NULL, VALUE_MAILFILTERRC}, {"logfile", 1, NULL, VALUE_LOGFILE}, {"version", 0, NULL, VALUE_VERSION}, {"test", 0, NULL, VALUE_TEST}, {"return-value", 0, NULL, VALUE_RETURN}, {0, 0, 0, 0} }; struct sigaction sigact; Weeder weeder; int mailbox_status; void init_app (void); bool open_prefs (string); void get_opts (int argc, char* argv[]); void override_prefs (string); int cmp_no_case (const string&, const string&); int precompile_expressions (void); void connect_sigint (int); string int_to_string (int); int main (int argc, char* argv[]) { Feedback* logger = Feedback :: Instance (); time_t now; struct timeval tv; struct timezone tz; string options_set; int return_val = 0; init_app (); // Read the user's command line options. if (argc > 1) get_opts (argc, argv); // Try to open the program's configuration file. if (!(Preferences :: Instance (). open (Preferences :: Instance ().rc_file ().c_str ()))) { ERROR_MSG("The rcfile could not be opened."); return -1; } // If an rcfile was located, try to read it. The error handling, // however, is done inside the Preferences class. Should something // go wrong, we merely need to exit here. There's no point in // logging to external files, since they may not yet be defined, or // even be writeable. try { if (!Preferences :: Instance ().load ()) { ERROR_MSG("Loading the rcfile failed."); return -1; } } catch (const exception& r_err) { ERROR_MSG("Runtime exception occured: " + (string)r_err.what ()); return -1; } // Now that the log file should be specified, try to open it and // spit out an error in case it can't be located, or the file // permissions don't allow writing to it. if (!logger->open (Preferences :: Instance ().log_file ().c_str ())) { if (Preferences :: Instance ().log_file ().length ()) ERROR_MSG("Could not open log file '" + Preferences :: Instance ().log_file () + "' for writing."); else ERROR_MSG("Could not locate log file."); return -1; } // Set sigint signal handler sigact.sa_handler = connect_sigint; sigemptyset (&sigact.sa_mask); sigact.sa_flags = 0; if (sigaction (SIGINT, &sigact, NULL) < 0) { ERROR_MSG("Signal handler could not be installed."); exit (-1); } try { // Try to precompile all filters. if (precompile_expressions () != 0) return -1; // Start checking for spam mails in the user defined accounts. vector :: iterator cur_account = Preferences :: Instance ().accounts ()->begin (); while (cur_account != Preferences :: Instance ().accounts ()->end ()) { gettimeofday (&tv, &tz); now = tv.tv_sec; // Some versions of ctime () terminate with "\n\0", some don't. string today_ = ctime (&now); if (today_[today_.length () - 1] == '\n') { char* today = (char*)malloc (sizeof (char) * today_.length ()); snprintf (today, today_.length (), "%s", ctime (&now)); today_ = today; free (today); } logger->print_msg ((string)PACKAGE_VERSION + " querying " + cur_account->usr () + "@" + cur_account->server () + " on " + today_ + ".", 3); if (cur_account->check () != 0) { logger->print_err ("Skipping account " + cur_account->usr () + "@" + cur_account->server () + " due to earlier errors."); return_val = -1; } cur_account++; } } catch (const exception& r_err) { logger->print_err ("Runtime exception occured: " + (string)r_err.what ()); return -1; } // Mailfilter can return the number of pending mails to be // downloaded, e.g., when embeddeding it into a script. if (Preferences :: Instance ().return_status ()) return mailbox_status; return return_val; } // This function is being run before Mailfilter starts to read the // configuration files and establishes any sort of network connection. // All initialisation stuff should go in here. void init_app (void) { mailbox_status = 0; #ifdef USE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE_NAME, LOCALEDIR); textdomain (PACKAGE_NAME); #endif } // The funciton getopts can be used to retrieve user specific command // line options like '--help', for instance. The rcfile file path is // retrieve via get_opts_rcfile as we need to first read the rcfile, // and then later use this function to override its settings. void get_opts (int argc, char* argv[]) { int option = 0; int option_index = 0; while ((option = getopt_long (argc, argv, "hL:M:Vv:tr", long_options, &option_index)) != -1) { switch (option) { case 'h': case VALUE_HELP: cout << "Mailfilter filters e-mail and removes spam in one "; cout << "or many POP accounts." << endl; cout << endl; cout << "Usage: " << PACKAGE_NAME << " [OPTION]..." << endl; cout << endl; cout << "If a long option shows an argument as mandatory, "; cout << "then " << endl; cout << "it is mandatory for the equivalent short option "; cout << "also." << endl; cout << endl; cout << "Options:" << endl; cout << " -h, --help "; cout << "Display this help information" << endl; cout << " -L, --logfile=FILE "; cout << "Specify logfile location" << endl; cout << " -M, --mailfilterrc=FILE "; cout << "Specify rcfile location" << endl; cout << " -r, --return-value "; cout << "Enable additional return values" << endl; cout << " -t, --test "; cout << "Simulate deletes" << endl; cout << " -v, --verbose=LEVEL "; cout << "Specify level of verbosity" << endl; cout << " -V, --version "; cout << "Display version information" << endl; cout << endl; cout << "Report bugs to "; cout << "." << endl; exit (0); break; case 'V': case VALUE_VERSION: cout << PACKAGE_NAME << " " << PACKAGE_VERSION << endl; cout << endl; cout << PACKAGE_COPYRIGHT << endl; cout << endl; cout << "This is free software; see the source for copying "; cout << "conditions. There is NO warranty; not even for "; cout << "MERCHANTABILITY or FITNESS FOR A PARTICULAR "; cout << "PURPOSE." << endl; exit (0); break; case 'L': case VALUE_LOGFILE: Preferences :: Instance ().set_log_file (optarg); break; case 'v': case VALUE_VERBOSE: Preferences :: Instance ().set_verbose_level (atoi (optarg)); break; case 't': case VALUE_TEST: Preferences :: Instance ().set_test_mode ("yes"); break; case 'r': case VALUE_RETURN: Preferences :: Instance ().set_return_status (true); break; case 'M': case VALUE_MAILFILTERRC: Preferences :: Instance ().set_rc_file (optarg); break; default: // Command line option not recognised. cerr << "Try '" << argv[0] << " --help' for more information." << endl; exit (-1); } } } // This function precompiles the allow, deny, and score expressions // of the user's rcfile. It returns a value different to 0 upon error. int precompile_expressions (void) { int comp_err = 0; try { vector :: iterator cur_filter = Preferences :: Instance ().allow_filters ()->begin (); while (cur_filter != Preferences :: Instance ().allow_filters ()->end ()) { if ((comp_err = cur_filter->compile ()) != 0) { ERROR_MSG("Could not compile regular expression (allow)."); return comp_err; } cur_filter++; } cur_filter = Preferences :: Instance ().deny_filters ()->begin (); while (cur_filter != Preferences :: Instance ().deny_filters ()->end ()) { if ((comp_err = cur_filter->compile ()) != 0) { ERROR_MSG("Could not compile regular expression (deny)."); return comp_err; } cur_filter++; } vector :: iterator cur_score = Preferences :: Instance ().score_filters ()->begin (); while (cur_score != Preferences :: Instance ().score_filters ()->end ()) { if ((comp_err = cur_score->compile ()) != 0) { ERROR_MSG("Could not compile regular expression (score)."); return comp_err; } cur_score++; } } catch (...) { throw; } return comp_err; } // Comapre two strings, but disregard case-sensitivity. Returns 0, if // no differences could be determined, a negative integer if s is // lexicographically before s2, and a positive integer otherwise. // (See also Stroustrup 20.3.8.) int cmp_no_case (const string& s, const string& s2) { string :: const_iterator p = s.begin (); string :: const_iterator p2 = s2.begin (); while (p != s.end () && p2 != s2.end ()) { if (toupper (*p) != toupper (*p2)) return (toupper (*p) < toupper (*p2))? -1 : 1; ++p; ++p2; } return (s2.size () == s.size ())? 0 : (s.size () < s2.size ())? -1 : 1; } // This function executes the string given in command through a // POSIX shell. It returns the first string of the shell's // output without the trailing '\n'; instead it terminates with // '\0'. string exec_shell (const char* command) { FILE *fp; const int SIZEBUF = 256; static char buf [SIZEBUF]; string cur_string; if ((fp = popen (command, "r")) != NULL) { fgets (buf, sizeof (buf), fp); cur_string = buf; if (cur_string[cur_string.size () - 1] != '\n') { ERROR_MSG("popen failed."); exit (-1); } else // Remove the trailing new line, or it messes up // the file paths in the config files. cur_string[cur_string.size () - 1] = '\0'; if (pclose(fp) == -1) { ERROR_MSG("pclose failed."); exit (-1); } } return cur_string; } string int_to_string (int val) { string tmp; ostringstream ostr; ostr << val; tmp = ostr.str (); return tmp; } void connect_sigint (int signo) { sigset_t mask_set; sigset_t old_set; // Mask other signals while we prompt to cerr and finally quit signal (SIGINT, connect_sigint); sigfillset (&mask_set); sigprocmask (SIG_SETMASK, &mask_set, &old_set); cout << PACKAGE_NAME \ << ": Error: Program abort due to signal " << signo << "." << endl; exit (-1); } mailfilter-0.8.2/src/header.cc0000644000175000017500000001227511212616305013124 00000000000000// header.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include "header.hh" #include "preferences.hh" #include "mailfilter.hh" #include "defines.hh" #include "feedback.hh" extern "C" { #include } using namespace std; extern int cmp_no_case (const string&, const string&); vector* Header :: entries (void) { return &msg_entries; } // Taken from mutt in response to APOP security vulnerability. /* incomplete. Only used to thwart the APOP MD5 attack (#2846). */ int Header :: rfc822_valid_msgid (const char* msgid) { /* msg-id = "<" addr-spec ">" * addr-spec = local-part "@" domain * local-part = word *("." word) * word = atom / quoted-string * atom = 1* * CHAR = ( 0.-127. ) * specials = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\" / <"> / "." / "[" / "]" * SPACE = ( 32. ) * CTLS = ( 0.-31., 127.) * quoted-string = <"> *(qtext/quoted-pair) <"> * qtext = , "\" and CR> * CR = ( 13. ) * quoted-pair = "\" CHAR * domain = sub-domain *("." sub-domain) * sub-domain = domain-ref / domain-literal * domain-ref = atom * domain-literal = "[" *(dtext / quoted-pair) "]" */ char* dom; unsigned int l, i; if (!msgid || !*msgid) return -1; l = strlen (msgid); if (l < 5) /* */ return -1; if (msgid[0] != '<' || msgid[l-1] != '>') return -1; if (!(dom = strrchr (msgid, '@'))) return -1; /* TODO: complete parser */ for (i = 0; i < l; i++) if (msgid[i] > 127) return -1; return 0; } void Header :: add_entry (const char* tag, const char* body) { struct entry tmp_entry; tmp_entry.tag = tag; tmp_entry.body = body; msg_entries.push_back (tmp_entry); if (cmp_no_case (tag, "Message-Id") == 0) { if (rfc822_valid_msgid (body) < 0) { Feedback* logger = Feedback :: Instance (); logger->print_err ("POP timestamp in message-ID invalid."); throw WrongMessageIDException(); } set_ID (body); return; } if (cmp_no_case (tag, "From") == 0) { set_from (body); return; } if (cmp_no_case (tag, "To") == 0) { set_to (body); return; } if (cmp_no_case (tag, "Subject") == 0) { set_subject (body); try { // set_normal_subject may be throwing out of boundary // exceptions. if (Preferences :: Instance ().normal ()) set_normal_subject (body); } catch (const exception& r_err) { ERROR_MSG("Runtime exception occured while parsing rcfile: " + (string)r_err.what ()); exit (-1); } return; } if (cmp_no_case (tag, "Date") == 0) { set_date (body); return; } } const string* Header :: ID (void) const { return &msg_ID; } void Header :: set_ID (const char* tid) { msg_ID = tid; } const string* Header :: from (void) const { return &msg_from; } void Header :: set_from (const char* tfrom) { msg_from = tfrom; } const string* Header :: to (void) const { return &msg_to; } void Header :: set_to (const char* tto) { msg_to = tto; } const string* Header :: subject (void) const { return &msg_subject; } void Header :: set_subject (const char* tsubject) { msg_subject = tsubject; } const string* Header :: normal_subject (void) const { return &msg_normal_subject; } void Header :: set_normal_subject (string ssubject) { try { unsigned int i = 0; while (i < ssubject.length ()) { // Delete multiple spaces. while (isspace (ssubject[i]) && isspace (ssubject[i+1]) && i < ssubject.length ()) ssubject.erase (i, 1); // Delete all non-alphanumeric characters, except spaces and '@'. if (!isalpha (ssubject[i]) && !isspace (ssubject[i]) && ssubject[i] != '@' && !isdigit (ssubject[i])) { ssubject.erase (i, 1); i -= (i > 0 ? 1 : 0); } else i++; } msg_normal_subject = "Subject: " + ssubject; } catch (...) { // Out-of-Range-Exception could be thrown. throw; } } const string* Header :: date (void) const { return &msg_date; } void Header :: set_date (const char* tdate) { msg_date = tdate; } int Header :: size (void) const { return msg_size; } void Header :: set_size (int tsize) { msg_size = tsize; } mailfilter-0.8.2/src/score.cc0000644000175000017500000000171111134563244013006 00000000000000// score.cc - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include "score.hh" int Score :: score (void) const { return scr; } void Score :: set_score (int new_score) { scr = new_score; } mailfilter-0.8.2/src/account.cc0000644000175000017500000001133111134562612013324 00000000000000// account.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include "account.hh" #include "pop3.hh" #include "apop.hh" #include "preferences.hh" #include "feedback.hh" #include "mailfilter.hh" #include "connection.hh" #include "socket.hh" #include "defines.hh" using namespace std; extern int mailbox_status; extern string int_to_string (int); void Account :: clear (void) { if (proto) delete proto; if (conn) { if (typeid (*conn) == typeid (Socket)) ((Socket*)conn)->clear (); delete conn; } } string Account :: server (void) { return serv; } void Account :: set_server (const char* s) { serv = s; } string Account :: usr (void) { return user; } void Account :: set_usr (const char* s) { user = s; } string Account :: passwd (void) { return pass; } void Account :: set_passwd (const char* s) { pass = s; } void Account :: set_protocol (unsigned int prot) { try { switch (prot) { case PROTOCOL_APOP: proto = new APOP (); proto->set_ident (PROTOCOL_APOP); break; case (PROTOCOL_APOP | SSL_C): proto = new APOP (); proto->set_ident (PROTOCOL_APOP | SSL_C); break; case (PROTOCOL_POP3 | SSL_C): proto = new POP3 (); proto->set_ident (PROTOCOL_POP3 | SSL_C); break; default: proto = new POP3 (); proto->set_ident (PROTOCOL_POP3); break; } } catch (...) { throw; } } // TODO: // This function sets the connection type, but currently only // POSIX Sockets are available. Therefore, the_connection_type // gets ignored and a new Socket object is being instantiated // per default. Right now, the rcfile parser invokes it together // with set_protocol (), but once other connection types are // implemented, it should be handled via a separate keyword and // action of the parser; not implicitly as it happens now. void Account :: set_connection (unsigned int the_connection_type) { try { // Pass a reference to the connection object to the protocol // implementing class, so that it can communicate directly with // the server e.g. via Unix Sockets. conn = new Socket (); proto->set_connection (conn); } catch (...) { throw; } } unsigned int Account :: protocol (void) { return proto->ident (); } void Account :: set_port (unsigned int p) { the_port = p; } unsigned int Account :: port (void) { return the_port; } int Account :: check (void) { Feedback* logger = Feedback :: Instance (); int messages = 0; try { // Open connection to host. if (conn->c_open (server ().c_str (), port (), Preferences :: Instance ().time_out (), proto->ident ()) != 0) { logger->print_err ("Could not establish network connection.", 1); return GEN_FAILURE_FLAG; } // Login. if (!proto->login (usr ().c_str (), passwd ().c_str (), proto->ident ())) { logger->print_err ("Server login failure.", 1); conn->c_close (); return GEN_FAILURE_FLAG; } if ((messages = proto->status ()) < 0) { logger->print_err ("Could not determine mailbox status.", 1); proto->logout (); conn->c_close (); return GEN_FAILURE_FLAG; } logger->print_msg ("Examining " + int_to_string (messages) + " message(s).", 3); // Scan mailbox for spam and unwanted bulk. if (proto->scan () < 0) { logger->print_err ("Scanning of mail account failed.", 1); proto->logout (); conn->c_close (); return GEN_FAILURE_FLAG; } // Determine number of messages in the mailbox for program // return value. if (Preferences :: Instance ().return_status () && (messages = proto->status ()) < 0) { logger->print_err ("Could not determine mailbox status.", 1); proto->logout (); conn->c_close (); return GEN_FAILURE_FLAG; } else mailbox_status += messages; } catch (...) { throw; } // Logout and close the connection. return ((proto->logout () && conn->c_close() == 0) ? 0 : GEN_FAILURE_FLAG); } mailfilter-0.8.2/src/md5c.c0000644000175000017500000002423410555236122012363 00000000000000/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. */ #include "md5.h" /* Constants for MD5Transform routine. */ #define S11 7 #define S12 12 #define S13 17 #define S14 22 #define S21 5 #define S22 9 #define S23 14 #define S24 20 #define S31 4 #define S32 11 #define S33 16 #define S34 23 #define S41 6 #define S42 10 #define S43 15 #define S44 21 static void MD5Transform (uint32_t [4], unsigned char [64]); static void Encode (unsigned char *, uint32_t *, unsigned int); static void Decode (uint32_t *, unsigned char *, unsigned int); static void MD5_memcpy (POINTER, POINTER, unsigned int); static void MD5_memset (POINTER, int, unsigned int); static unsigned char PADDING[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; /* F, G, H and I are basic MD5 functions. */ #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) #define H(x, y, z) ((x) ^ (y) ^ (z)) #define I(x, y, z) ((y) ^ ((x) | (~z))) /* ROTATE_LEFT rotates x left n bits. */ #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) /* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4. Rotation is separate from addition to prevent recomputation. */ #define FF(a, b, c, d, x, s, ac) { \ (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } #define GG(a, b, c, d, x, s, ac) { \ (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } #define HH(a, b, c, d, x, s, ac) { \ (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } #define II(a, b, c, d, x, s, ac) { \ (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } /* MD5 initialization. Begins an MD5 operation, writing a new context. */ void MD5Init (context) MD5_CTX *context; /* context */ { context->count[0] = context->count[1] = 0; /* Load magic initialization constants. */ context->state[0] = 0x67452301; context->state[1] = 0xefcdab89; context->state[2] = 0x98badcfe; context->state[3] = 0x10325476; } /* MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context. */ void MD5Update (context, input, inputLen) MD5_CTX *context; /* context */ unsigned char *input; /* input block */ unsigned int inputLen; /* length of input block */ { unsigned int i, index, partLen; /* Compute number of bytes mod 64 */ index = (unsigned int)((context->count[0] >> 3) & 0x3F); /* Update number of bits */ if ((context->count[0] += ((uint32_t)inputLen << 3)) < ((uint32_t)inputLen << 3)) context->count[1]++; context->count[1] += ((uint32_t)inputLen >> 29); partLen = 64 - index; /* Transform as many times as possible. */ if (inputLen >= partLen) { MD5_memcpy ((POINTER)&context->buffer[index], (POINTER)input, partLen); MD5Transform (context->state, context->buffer); for (i = partLen; i + 63 < inputLen; i += 64) MD5Transform (context->state, &input[i]); index = 0; } else i = 0; /* Buffer remaining input */ MD5_memcpy ((POINTER)&context->buffer[index], (POINTER)&input[i], inputLen-i); } /* MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context. */ void MD5Final (digest, context) unsigned char digest[16]; /* message digest */ MD5_CTX *context; /* context */ { unsigned char bits[8]; unsigned int index, padLen; /* Save number of bits */ Encode (bits, context->count, 8); /* Pad out to 56 mod 64. */ index = (unsigned int)((context->count[0] >> 3) & 0x3f); padLen = (index < 56) ? (56 - index) : (120 - index); MD5Update (context, PADDING, padLen); /* Append length (before padding) */ MD5Update (context, bits, 8); /* Store state in digest */ Encode (digest, context->state, 16); /* Zeroize sensitive information. */ MD5_memset ((POINTER)context, 0, sizeof (*context)); } /* MD5 basic transformation. Transforms state based on block. */ static void MD5Transform (state, block) uint32_t state[4]; unsigned char block[64]; { uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; Decode (x, block, 64); /* Round 1 */ FF (a, b, c, d, x[ 0], S11, 0xd76aa478); /* 1 */ FF (d, a, b, c, x[ 1], S12, 0xe8c7b756); /* 2 */ FF (c, d, a, b, x[ 2], S13, 0x242070db); /* 3 */ FF (b, c, d, a, x[ 3], S14, 0xc1bdceee); /* 4 */ FF (a, b, c, d, x[ 4], S11, 0xf57c0faf); /* 5 */ FF (d, a, b, c, x[ 5], S12, 0x4787c62a); /* 6 */ FF (c, d, a, b, x[ 6], S13, 0xa8304613); /* 7 */ FF (b, c, d, a, x[ 7], S14, 0xfd469501); /* 8 */ FF (a, b, c, d, x[ 8], S11, 0x698098d8); /* 9 */ FF (d, a, b, c, x[ 9], S12, 0x8b44f7af); /* 10 */ FF (c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */ FF (b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */ FF (a, b, c, d, x[12], S11, 0x6b901122); /* 13 */ FF (d, a, b, c, x[13], S12, 0xfd987193); /* 14 */ FF (c, d, a, b, x[14], S13, 0xa679438e); /* 15 */ FF (b, c, d, a, x[15], S14, 0x49b40821); /* 16 */ /* Round 2 */ GG (a, b, c, d, x[ 1], S21, 0xf61e2562); /* 17 */ GG (d, a, b, c, x[ 6], S22, 0xc040b340); /* 18 */ GG (c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */ GG (b, c, d, a, x[ 0], S24, 0xe9b6c7aa); /* 20 */ GG (a, b, c, d, x[ 5], S21, 0xd62f105d); /* 21 */ GG (d, a, b, c, x[10], S22, 0x2441453); /* 22 */ GG (c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */ GG (b, c, d, a, x[ 4], S24, 0xe7d3fbc8); /* 24 */ GG (a, b, c, d, x[ 9], S21, 0x21e1cde6); /* 25 */ GG (d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */ GG (c, d, a, b, x[ 3], S23, 0xf4d50d87); /* 27 */ GG (b, c, d, a, x[ 8], S24, 0x455a14ed); /* 28 */ GG (a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */ GG (d, a, b, c, x[ 2], S22, 0xfcefa3f8); /* 30 */ GG (c, d, a, b, x[ 7], S23, 0x676f02d9); /* 31 */ GG (b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */ /* Round 3 */ HH (a, b, c, d, x[ 5], S31, 0xfffa3942); /* 33 */ HH (d, a, b, c, x[ 8], S32, 0x8771f681); /* 34 */ HH (c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */ HH (b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */ HH (a, b, c, d, x[ 1], S31, 0xa4beea44); /* 37 */ HH (d, a, b, c, x[ 4], S32, 0x4bdecfa9); /* 38 */ HH (c, d, a, b, x[ 7], S33, 0xf6bb4b60); /* 39 */ HH (b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */ HH (a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */ HH (d, a, b, c, x[ 0], S32, 0xeaa127fa); /* 42 */ HH (c, d, a, b, x[ 3], S33, 0xd4ef3085); /* 43 */ HH (b, c, d, a, x[ 6], S34, 0x4881d05); /* 44 */ HH (a, b, c, d, x[ 9], S31, 0xd9d4d039); /* 45 */ HH (d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */ HH (c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */ HH (b, c, d, a, x[ 2], S34, 0xc4ac5665); /* 48 */ /* Round 4 */ II (a, b, c, d, x[ 0], S41, 0xf4292244); /* 49 */ II (d, a, b, c, x[ 7], S42, 0x432aff97); /* 50 */ II (c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */ II (b, c, d, a, x[ 5], S44, 0xfc93a039); /* 52 */ II (a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */ II (d, a, b, c, x[ 3], S42, 0x8f0ccc92); /* 54 */ II (c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */ II (b, c, d, a, x[ 1], S44, 0x85845dd1); /* 56 */ II (a, b, c, d, x[ 8], S41, 0x6fa87e4f); /* 57 */ II (d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */ II (c, d, a, b, x[ 6], S43, 0xa3014314); /* 59 */ II (b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */ II (a, b, c, d, x[ 4], S41, 0xf7537e82); /* 61 */ II (d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */ II (c, d, a, b, x[ 2], S43, 0x2ad7d2bb); /* 63 */ II (b, c, d, a, x[ 9], S44, 0xeb86d391); /* 64 */ state[0] += a; state[1] += b; state[2] += c; state[3] += d; /* Zeroize sensitive information. */ MD5_memset ((POINTER)x, 0, sizeof (x)); } /* Encodes input (uint32_t) into output (unsigned char). Assumes len is a multiple of 4. */ static void Encode (output, input, len) unsigned char *output; uint32_t *input; unsigned int len; { unsigned int i, j; for (i = 0, j = 0; j < len; i++, j += 4) { output[j] = (unsigned char)(input[i] & 0xff); output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); output[j+2] = (unsigned char)((input[i] >> 16) & 0xff); output[j+3] = (unsigned char)((input[i] >> 24) & 0xff); } } /* Decodes input (unsigned char) into output (uint32_t). Assumes len is a multiple of 4. */ static void Decode (output, input, len) uint32_t *output; unsigned char *input; unsigned int len; { unsigned int i, j; for (i = 0, j = 0; j < len; i++, j += 4) output[i] = ((uint32_t)input[j]) | (((uint32_t)input[j+1]) << 8) | (((uint32_t)input[j+2]) << 16) | (((uint32_t)input[j+3]) << 24); } /* Note: Replace "for loop" with standard memcpy if possible. */ static void MD5_memcpy (output, input, len) POINTER output; POINTER input; unsigned int len; { unsigned int i; for (i = 0; i < len; i++) output[i] = input[i]; } /* Note: Replace "for loop" with standard memset if possible. */ static void MD5_memset (output, value, len) POINTER output; int value; unsigned int len; { unsigned int i; for (i = 0; i < len; i++) ((char *)output)[i] = (char)value; } mailfilter-0.8.2/src/feedback.hh0000644000175000017500000000256211134562722013436 00000000000000// feedback.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef FEEDBACK_HH #define FEEDBACK_HH #include #include using namespace std; class Feedback { private: ofstream log_file; ofstream header_file; static Feedback* _instance; public: static Feedback* Instance (void); ~Feedback (void); bool open (const char*); bool print_msg (const string, int); bool print_err (const string, int = 1); bool print_header (const string); }; #endif mailfilter-0.8.2/src/socket.cc0000644000175000017500000002764511134563270013200 00000000000000// socket.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. // // Note that this program is released under the GPL with the additional // exemption that compiling, linking, and/or using OpenSSL is allowed. #include #include #include #include #include #include #ifdef USE_SSL extern "C" { #include #include #include #include } #endif extern "C" { #include #include #include #include #include #include #include #include #include #include } #include "defines.hh" #include "mailfilter.hh" #include "feedback.hh" #include "socket.hh" #include "protocol.hh" using namespace std; static sigjmp_buf curr_env; // TODO: these variables should not "just" be global; maybe static members or something? #ifdef USE_SSL SSL* ssl; BIO* sbio; SSL_METHOD* ssl_meth; SSL_CTX* ssl_ctx; #endif Socket :: Socket (void) { set_ssl (false); } void Socket :: clear (void) { // TODO: the following crashes the program at the end; why? // if (read_buffer) // delete read_buffer; } int Socket :: c_open (const char* host_name, int port, int new_time_out, int the_protocol) { struct sockaddr_in s_address; struct hostent *host; struct sigaction sig_action; Feedback* logger = Feedback :: Instance (); // Install alarm signal handler for interrupts and connnection // time out handling. time_out = new_time_out; sig_action.sa_handler = connect_alarm; sigemptyset (&sig_action.sa_mask); sig_action.sa_flags = 0; // Try to initialise signal handler and save stack context. if (sigaction (SIGALRM, &sig_action, NULL) < 0) { logger->print_err ("Installation of signal handler failed."); return GEN_FAILURE_FLAG; } if (sigsetjmp (curr_env, 1) == 0) { // Set time out. alarm (time_out); #ifdef USE_SSL // Should SSL encryption be desired, establish a CTX object first. if (the_protocol == (PROTOCOL_POP3 | SSL_C) || the_protocol == (PROTOCOL_APOP | SSL_C)) { logger->print_msg ("Debugging: Using SSL encrypted communication.", 6); set_ssl (true); SSL_library_init (); SSL_load_error_strings(); // Here should be some key verification stuff... ssl_meth = SSLv23_client_method (); ssl_ctx = SSL_CTX_new (ssl_meth); } else logger->print_msg ("Debugging: Client-server communication is not encrypted.", 6); #endif // Try to establish a socket communication endpoint and then // try to look up the hostname. if (! host_name || ((sd = socket (PF_INET, SOCK_STREAM, 0)) < 0) || (!(host = gethostbyname (host_name)))) { logger->print_err ("DNS look up error; is the hostname correct?"); alarm (0); return GEN_FAILURE_FLAG; } memset ((char*) &s_address, 0, sizeof (struct sockaddr_in)); s_address.sin_family = AF_INET; memcpy (&(s_address.sin_addr.s_addr), host->h_addr, host->h_length); s_address.sin_port = htons (port); if (connect (sd, (struct sockaddr*) &s_address, sizeof (struct sockaddr)) < 0) { logger->print_err ("Server connection could not be established."); alarm (0); return GEN_FAILURE_FLAG; } #ifdef USE_SSL // Now, we have a TCP connection; start SSL negotiation, if desired. if (use_ssl ()) { if ((ssl = SSL_new (ssl_ctx)) == NULL) { logger->print_err ("SSL connection structure could not be created."); exit (-1); } // Either the following line, or BIO connection object? // SSL_set_fd (ssl, sd); // Create BIO object and attach ssl object to it if ((sbio = BIO_new_socket (sd, BIO_NOCLOSE)) == NULL) { logger->print_err ("Socket-BIO could not be created."); return GEN_FAILURE_FLAG; } SSL_set_bio (ssl, sbio, sbio); if (SSL_connect (ssl) <= 0) { logger->print_err ("SSL connection could not be established."); return GEN_FAILURE_FLAG; } } #endif } else { logger->print_err ("Timeout occured."); return GEN_FAILURE_FLAG; } // Reset alarm again. alarm (0); return 0; } // Like close(2), this function returns 0 on success, and -1 // otherwise. Its purpose is to close the socket connection. int Socket :: c_close (void) const { #ifdef USE_SSL if (use_ssl ()) { SSL_shutdown (ssl); int close_err = close (sd); SSL_free (ssl); SSL_CTX_free (ssl_ctx); return close_err; } else return close (sd); #else return close (sd); #endif } int Socket :: c_write (const char* msg) { if (msg) { Feedback* logger = Feedback :: Instance (); string tmp_msg = msg; ssize_t bytes; #ifdef USE_SSL if (use_ssl ()) bytes = SSL_write (ssl, msg, strlen (msg)); else bytes = write (sd, msg, strlen (msg)); #else bytes = write (sd, msg, strlen (msg)); #endif if (bytes < 0) logger->print_err (strerror (errno)); // Debugging. if (tmp_msg.find ("PASS ") != 0) logger->print_msg ("Debugging: Wrote: " + tmp_msg, 6); else logger->print_msg ("Debugging: Wrote: PASS *****", 6); return bytes; } return GEN_FAILURE_FLAG; } // This function can be used to receive a server's response via the // socket connection. It returns the number of bytes read upon // success, and a negative integer otherwise. The reply string itself // can then be obtained by calling the member function c_reply (). If // read_header is true, the c_read function will not stop reading when // the host stops transmitting data. Instead, it expects an entire // header to be sent and thus, will receive data until \r\n.\r\n is // encountered, i.e. the end of the header according to RFC822. int Socket :: c_read (bool read_header) { Feedback* logger = Feedback :: Instance (); char buffer[MAX_BYTES + 10]; struct timeval tv; string input; int flags; int prem_exit = 0; int bytes; int counter; int error; fd_set rfds; // Empty the current read_buffer which may contain previous server // responses. // if (read_buffer) // delete read_buffer; // First, try to read the current socket descriptor's flags and // store a copy in 'flags', and then change the communication of // that descriptor to nonblocking I/O. if (((flags = fcntl (sd, F_GETFL, 0)) == -1) || (fcntl (sd, F_SETFL, flags | O_NONBLOCK) == -1)) { logger->print_err (strerror (errno)); return GEN_FAILURE_FLAG; } // Set connection time out. tv.tv_sec = time_out; tv.tv_usec = 0; FD_ZERO (&rfds); FD_SET (sd, &rfds); // Only read if the socket is ready and able to send data. error = select (sd + 1, &rfds, NULL, NULL, &tv); // An error occured while trying to poll server. We did not get a // file descriptor. if (error < 0) { logger->print_err (strerror (errno)); return GEN_FAILURE_FLAG; } // One (or many) file descriptors are ready for message exchange. else if (error > 0) { // Check the status of the file descriptor. if (!FD_ISSET (sd, &rfds)) return GEN_FAILURE_FLAG; // Start receiving messages from the server. do { memset (buffer, 0, sizeof buffer); #ifdef USE_SSL if (use_ssl ()) { if (ssl) { bytes = SSL_read (ssl, buffer, MAX_BYTES); int i = SSL_get_error (ssl, bytes); switch (i) { case SSL_ERROR_NONE: prem_exit = 0; break; case SSL_ERROR_WANT_READ: prem_exit = 1; logger->print_msg ("Debugging: Warning: Received SSL_ERROR_WANT_READ.", 6); break; case SSL_ERROR_WANT_WRITE: prem_exit = 1; logger->print_msg ("Debugging: Warning: Received SSL_ERROR_WANT_WRITE.", 6); break; case SSL_ERROR_ZERO_RETURN: prem_exit = 1; logger->print_msg ("Debugging: Warning: Received SSL_ERROR_ZERO_RETURN.", 6); break; default: logger->print_err ("SSL_read returned unknown error."); return GEN_FAILURE_FLAG; } } else { logger->print_err ("For unknown reason the SSL connection was closed."); return GEN_FAILURE_FLAG; } } else bytes = recv (sd, buffer, MAX_BYTES, 0); #else bytes = recv (sd, buffer, MAX_BYTES, 0); #endif if (bytes > 0) { counter += bytes; if (input.length ()) input.append (buffer, bytes); else { input = buffer; input += "\0"; } } // The end condition for reading is as follows: keep reading // as long as there was something to read previously, or, if // there hasn't been (and we've surpassed the MTU), then see // whether we encountered the end of the message header yet, // which has to be ".\r\n". } while (bytes > 0 || (read_header // The following finishes a POP3 server reply. && ( (input[input.length () - 1] != '\n' || input[input.length () - 2] != '\r' || input[input.length () - 3] != '.') // The following finishes an IMAP server reply. && input.find (")\r\na OK FETCH completed\r\n") == string :: npos ) )); } else { logger->print_err ("Connection has timed out."); return GEN_FAILURE_FLAG; } // Put line ending behind the buffer, if needed. Do not use '\0' // instead of "\0" because, somehow this crashes the string append // function! (Why? If it's illegal, the type system should // choke...) Alternatively, one could probably write // input[counter] = '\0'; // TODO: Verify that and chose best code! if (input.length () && input.find_last_of ('\0', input.length ()) == string :: npos) input.append ("\0"); // Debugging. logger->print_msg ("Debugging: Read: " + (input[input.length () - 1] != '\n'? input + "\n" : input), 6); // Reset socket communication to good old blocking mode. if ((fcntl (sd, F_SETFL, flags)) == -1) { logger->print_err (strerror (errno)); return GEN_FAILURE_FLAG; } // Return the length of the server response and catch out of memory // exceptions. I do not want to pass the exception though, in order // to keep the calling code simple. That is, in case of the memory // error, MEM_FAILURE_FLAG is returned. This could be used to react // especially to this case, if necessary at all. Most likely, the // calling code is only interested in the distinction between a // positive and a negative return value anway; the failure flags // are, of course, both negative. try { read_buffer = new string (input); return read_buffer->length (); } catch (const exception& r_err) { logger->print_err (r_err.what ()); return MEM_FAILURE_FLAG; } } const string* Socket :: c_reply (void) const { return read_buffer; } // Alarm signal call back function. void Socket :: connect_alarm (int signo) { // No need to explicitly mask signals in a one-liner, // is there? siglongjmp (curr_env, signo); } bool Socket :: use_ssl (void) const { return ssl_used; } void Socket :: set_ssl (bool the_ssl) { ssl_used = the_ssl; } mailfilter-0.8.2/src/rcfile.yy0000644000175000017500000003060111134563204013207 00000000000000/* *********************************************************************** */ /* A parser definition for Mailfilter's config files */ /* Copyright (c) 2000 - 2009 Andreas Bauer */ /* */ /* 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, */ /* USA. */ /* *********************************************************************** */ %{ #include #include #include #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "mailfilter.hh" #include "preferences.hh" #include "rcfile.hh" // We want to give the Preferences object as parameter for yyparse. #undef YYPARSE_PARAM #define YYPARSE_PARAM param // Define P_DEBUG_MODE to get extra output from the parser. #ifdef P_DEBUG_MODE #undef P_DEBUG_MSG #define P_DEBUG_MSG(msg) \ cout << "Parser: " \ << msg \ << endl \ << endl #else #define P_DEBUG_MSG(msg) \ ; #endif using namespace std; FlexLexer* rclexer; extern int num_lines; extern string sub_file; extern string int_to_string (int); extern string exec_shell (const char*); void strip_shell (char[]); inline int yylex () { return rclexer->rclex (); } extern "C" { int rcparse (void*); int rcwrap (void) { return 1; } void rcerror (const char* str) { cerr << PACKAGE_NAME << ": Error: " << str; if (sub_file.length ()) cerr << " in file " << sub_file; else cerr << " in main rcfile"; cerr << " in line " << (num_lines + 1); cerr << "." << endl; exit (-1); } } %} %union { int ival; char* sval; } %token ALLOW %token ALLOW_CASE %token ALLOW_NOCASE %token DEL_DUPLICATES %token DENY_NOCASE %token DENY_CASE %token DENY %token HIGHSCORE %token LOGFILE %token MAXLENGTH %token MAXSIZE_ALLOW %token MAXSIZE_DENY %token MAXSIZE_SCORE %token NORMAL %token SERVER %token USER %token PASS %token PROTOCOL %token PORT %token REG_CASE %token REG_TYPE %token SHOW_HEADERS %token SCORE %token SCORE_CASE %token SCORE_NOCASE %token TIMEOUT %token TEST %token VERBOSE %token EXP %token YES_NO_ID %token TEXT_ID %token NUM_ID %token SHELL_CMD %token ENV_VAR %token CTRL_CHAR %type exp %type exps %type str_arg %type yes_no_arg %type num_arg %left NOT_EQUAL %left '=' %% commands: /* empty */ | commands command ; command: allow_rule | del_duplicates | deny_rule | highscore | logfile | maxlength | maxsize_allow | maxsize_deny | maxsize_score | normal | server | user | pass | protocol | port | reg_case | reg_type | show_headers | score | test | timeout | verbose ; exps: exp { $$ = $1; } | exps exp { char* tmp = (char*)malloc ((strlen ($1) + strlen ($2) + 2) * sizeof (char)); if (tmp) { strcpy (tmp, $1); $$ = strcat (tmp, $2); free ($1); free ($2); } else { cerr << "Out of memory error in rcparser." << endl; exit (-1); } } ; exp: SHELL_CMD { strip_shell ($1); $$ = strdup (exec_shell ($1).c_str ()); free ($1); } | ENV_VAR { $$ = $1; } | TEXT_ID { $$ = $1; } | CTRL_CHAR { $$ = $1; } ; str_arg: '"' exps '"' { $$ = $2; } ; yes_no_arg: '"' YES_NO_ID '"' { $$ = $2; } ; num_arg: NUM_ID { $$ = $1; } ; allow_rule: ALLOW '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | ALLOW NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | ALLOW_CASE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | ALLOW_CASE NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | ALLOW_NOCASE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | ALLOW_NOCASE NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_allow_rule ($1, $2, $3); free ($1); free ($2); free ($3); } ; del_duplicates: DEL_DUPLICATES '=' yes_no_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_del_duplicates ($3); free ($1); free ($2); free ($3); } ; deny_rule: DENY '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | DENY NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | DENY_CASE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | DENY_CASE NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | DENY_NOCASE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } | DENY_NOCASE NOT_EQUAL str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().add_deny_rule ($1, $2, $3); free ($1); free ($2); free ($3); } ; highscore: HIGHSCORE '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_highscore ($3); free ($1); free ($2); } ; logfile: LOGFILE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_log_file ($3); free ($1); free ($2); free ($3); } ; maxlength: MAXLENGTH '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_maxlength ($3); free ($1); free ($2); } ; maxsize_allow: MAXSIZE_ALLOW '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_max_size_allow ($3); free ($1); free ($2); } ; maxsize_deny: MAXSIZE_DENY '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_max_size_deny ($3); free ($1); free ($2); } ; maxsize_score: MAXSIZE_SCORE num_arg '=' num_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + int_to_string (rclval.ival)); Preferences :: Instance ().set_max_size_score ($2, $4); free ($1); free ($3); } ; normal: NORMAL '=' yes_no_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_normal ($3); free ($1); free ($2); free ($3); } ; server: SERVER '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_server ($3); free ($1); free ($2); free ($3); } ; user: USER '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_usr ($3); free ($1); free ($2); free ($3); } ; pass: PASS '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_passwd ($3); free ($1); free ($2); free ($3); } ; protocol: PROTOCOL '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_protocol ($3); /* See account.cc for further information about the following (rather misplaced) call: */ Preferences :: Instance ().set_connection (); free ($1); free ($2); free ($3); } ; port: PORT '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_port ((unsigned int)$3); free ($1); free ($2); } ; reg_case: REG_CASE '=' yes_no_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_default_case ($3); free ($1); free ($2); free ($3); } ; reg_type: REG_TYPE '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_reg_type ($3); free ($1); free ($2); free ($3); } ; show_headers: SHOW_HEADERS '=' str_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_headers_file ($3); free ($1); free ($2); free ($3); } ; score: SCORE num_arg '=' str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } | SCORE num_arg NOT_EQUAL str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } | SCORE_CASE num_arg '=' str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } | SCORE_CASE num_arg NOT_EQUAL str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } | SCORE_NOCASE num_arg '=' str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } | SCORE_NOCASE num_arg NOT_EQUAL str_arg { P_DEBUG_MSG($1 + int_to_string (rclval.ival) + (string)$3 + $4); Preferences :: Instance ().add_score ($1, $2, $3, $4); free ($1); free ($3); free ($4); } ; test: TEST '=' yes_no_arg { P_DEBUG_MSG($1 + (string)$2 + $3); Preferences :: Instance ().set_test_mode ($3); free ($1); free ($2); free ($3); } ; timeout: TIMEOUT '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_time_out ((unsigned int)$3); free ($1); free ($2); } ; verbose: VERBOSE '=' num_arg { P_DEBUG_MSG($1 + (string)$2 + int_to_string (rclval.ival)); Preferences :: Instance ().set_verbose_level ($3); free ($1); free ($2); } ; %% /* This function strips the leading, and trailing quotation marks around a shell `command' to be executed by the POSIX shell. */ void strip_shell (char s[]) { string buf = s; for (unsigned int i = 1; i < buf.length () - 1; i++) { s[i-1] = buf[i]; s[i] = '\0'; } } /* The class declarations can be found in rcfile.hh. */ RCParser :: RCParser (istream* ip, ostream* op) : isp (ip), osp (op) { try { rclexer = new rcFlexLexer (isp, osp); } catch (...) { throw; } } RCParser :: ~RCParser() { delete rclexer; } void RCParser :: parse (void* val) { rclexer->yyrestart (isp); rcparse (val); } mailfilter-0.8.2/src/protocol.hh0000644000175000017500000000361511134563145013553 00000000000000// protocol.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef PROTOCOL_HH #define PROTOCOL_HH #include "connection.hh" // This is useful to specify a combination of protocol and encryption, // e.g. PROTOCOL_POP3 | SSL. #define PROTOCOL_POP3 2 #define PROTOCOL_APOP 4 #define SSL_C 4096 using namespace std; class Protocol { protected: Connection* conn; unsigned int prot_ident; unsigned int connect_type; public: virtual ~Protocol (void) { }; virtual bool login (const char* usr, const char* pass, const unsigned int) const = 0; virtual bool logout (void) const = 0; virtual int remove_msg (const unsigned int num) const = 0; virtual int status (void) const = 0; virtual int scan (void) const = 0; void set_connection (Connection*); void set_ident (unsigned int); unsigned int ident (void) const; }; #endif mailfilter-0.8.2/src/feedback.cc0000644000175000017500000000551211134562707013425 00000000000000// feedback.cc - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include #include #include #include #include "feedback.hh" #include "preferences.hh" using namespace std; Feedback* Feedback :: _instance = 0; Feedback* Feedback :: Instance () { if (_instance == 0) _instance = new Feedback; return _instance; } Feedback :: ~Feedback () { log_file.close (); if (header_file.is_open ()) header_file.close (); } // This function tries to open a user specified log file for write // access and returns true upon success, false otherwise. bool Feedback :: open (const char* name) { if (strlen (name)) { log_file.open (name, ios :: app); if (!log_file.is_open ()) return false; return true; } return false; } // The following two functions attempt to append program messages to // the end of the log file and returns false, if the file is not // accessable. True is returned otherwise. // // min_verbose_level is the minimum value of verbosity that is // necessary, in order to display a message. If nothing is // specified, errors are usually always shown (0). bool Feedback :: print_msg (const string msg, int min_verbose_level) { if (Preferences :: Instance ().verbose_level () >= min_verbose_level) { cout << "mailfilter: " << msg << endl; if (log_file.is_open ()) log_file << "mailfilter: " << msg << endl; else return false; } return true; } bool Feedback :: print_err (const string msg, int min_verbose_level) { if (Preferences :: Instance ().verbose_level () >= min_verbose_level) { cerr << "mailfilter: Error: " << msg << endl; if (log_file.is_open ()) log_file << "mailfilter: Error: " << msg << endl; else return false; } return true; } bool Feedback :: print_header (const string msg) { if (!header_file.is_open ()) header_file.open (Preferences :: Instance ().headers_file ().c_str (), ios :: app); if (header_file.is_open ()) { header_file << msg << endl; return true; } return false; } mailfilter-0.8.2/src/rfc822.cc0000644000175000017500000013217411212616306012704 00000000000000#line 2 "rfc822.cc" #line 4 "rfc822.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* The c++ scanner is a mess. The FlexLexer.h header file relies on the * following macro. This is required in order to pass the c++-multiple-scanners * test in the regression suite. We get reports that it breaks inheritance. * We will address this in a future release of flex, or omit the C++ scanner * altogether. */ #define yyFlexLexer rfcFlexLexer /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ /* begin standard C++ headers. */ #include #include #include #include /* end standard C++ headers. */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart( yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { std::istream* yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] void *rfcalloc (yy_size_t ); void *rfcrealloc (void *,yy_size_t ); void rfcfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; #define yytext_ptr yytext #define YY_INTERACTIVE #include int yyFlexLexer::yywrap() { return 1; } /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 8 #define YY_END_OF_BUFFER 9 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[44] = { 0, 0, 0, 0, 0, 0, 0, 9, 8, 6, 7, 8, 4, 4, 4, 4, 8, 8, 8, 6, 7, 8, 8, 0, 4, 0, 2, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 5, 0, 0, 0, 1, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 7, 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 1, 1, 1, 1, 1, 1, 10, 10, 10, 10, 10, 11, 10, 10, 10, 10, 10, 10, 12, 10, 13, 10, 10, 14, 10, 10, 10, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1, 1, 10, 10, 10, 10, 10, 15, 10, 10, 10, 10, 10, 10, 16, 10, 17, 10, 10, 18, 10, 10, 10, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[19] = { 0, 1, 2, 3, 2, 2, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 } ; static yyconst flex_int16_t yy_base[52] = { 0, 0, 5, 22, 26, 30, 23, 80, 108, 108, 108, 76, 0, 0, 0, 75, 33, 37, 72, 71, 70, 69, 44, 66, 0, 58, 0, 22, 43, 60, 45, 60, 108, 54, 0, 50, 55, 67, 108, 48, 39, 49, 108, 108, 85, 89, 93, 33, 97, 0, 100, 103 } ; static yyconst flex_int16_t yy_def[52] = { 0, 44, 43, 45, 45, 44, 2, 43, 43, 43, 43, 43, 46, 46, 46, 46, 47, 47, 48, 48, 43, 48, 48, 43, 46, 49, 50, 17, 17, 48, 48, 43, 43, 43, 50, 17, 43, 17, 43, 51, 51, 51, 43, 0, 43, 43, 43, 43, 43, 43, 43, 43 } ; static yyconst flex_int16_t yy_nxt[127] = { 0, 43, 9, 10, 25, 11, 8, 12, 13, 14, 15, 8, 8, 8, 8, 16, 17, 16, 16, 16, 17, 16, 16, 16, 19, 20, 21, 22, 19, 20, 21, 22, 9, 10, 16, 11, 27, 27, 16, 25, 27, 25, 26, 25, 41, 25, 26, 32, 32, 30, 30, 28, 42, 41, 41, 28, 35, 27, 38, 36, 35, 27, 37, 32, 27, 30, 37, 26, 27, 39, 39, 39, 39, 33, 30, 31, 30, 30, 23, 23, 43, 27, 43, 43, 43, 27, 8, 8, 8, 8, 18, 18, 18, 18, 24, 24, 43, 24, 29, 29, 43, 29, 34, 34, 40, 40, 43, 40, 7, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43 } ; static yyconst flex_int16_t yy_chk[127] = { 0, 0, 1, 1, 49, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 5, 27, 47, 6, 16, 27, 16, 16, 17, 40, 17, 17, 22, 30, 22, 30, 17, 41, 39, 41, 17, 28, 28, 36, 33, 28, 28, 35, 31, 35, 29, 35, 25, 35, 37, 37, 37, 37, 23, 21, 20, 19, 18, 15, 11, 7, 37, 0, 0, 0, 37, 44, 44, 44, 44, 45, 45, 45, 45, 46, 46, 0, 46, 48, 48, 0, 48, 50, 50, 51, 51, 0, 51, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43 } ; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET #line 1 "rfc822.ll" /* *********************************************************************** */ /* An oversimplified scanner definition for Mailfilter's RFC822 scanner */ /* Copyright (c) 2000 - 2009 Andreas Bauer */ /* */ /* 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, */ /* USA. */ /* *********************************************************************** */ #line 26 "rfc822.ll" #include #include #include #include #include "rfc822parser.hh" using namespace std; /* Define L_DEBUG_MODE to get extra output from the scanner and to avoid returning too early. Early return is useless if there is no parser which keeps calling the scanners. */ #undef L_DEBUG_MODE /* Return should be defined to a nop-operation, if the programmer really only debugs a single message offline. */ #define RETURN(x) return(x) #ifdef L_DEBUG_MODE #undef L_DEBUG_MSG #define L_DEBUG_MSG(msg) \ cout << "Lexer: " \ << msg #else #undef L_DEBUG_MSG #define L_DEBUG_MSG(msg) \ ; #endif #line 509 "rfc822.cc" #define INITIAL 0 #define BODY_READY 1 #define TAG_READY 2 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO #define ECHO LexerOutput( yytext, yyleng ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ \ if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) LexerError( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 #define YY_DECL int yyFlexLexer::yylex() #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 64 "rfc822.ll" #line 621 "rfc822.cc" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = & std::cin; if ( ! yyout ) yyout = & std::cout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer( yyin, YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 44 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 108 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 65 "rfc822.ll" { rfclval.sval = strdup (yytext); L_DEBUG_MSG("Topline: " + (string)yytext); RETURN(TOPLINE); } YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 71 "rfc822.ll" { string the_tag = yytext; the_tag = the_tag.substr (0, the_tag.find_last_of (":")); rfclval.sval = strdup (the_tag.c_str ()); L_DEBUG_MSG(" Tag: " + the_tag + "\n"); BEGIN(BODY_READY); RETURN(TAG); } YY_BREAK case 3: /* rule 3 can match eol */ YY_RULE_SETUP #line 80 "rfc822.ll" { /* Remove trailing newline if it exists. */ if (yytext[strlen(yytext) - 1] == '\n') { char* the_tag = (char*)malloc (sizeof (char) * strlen (yytext)); snprintf (the_tag, strlen (yytext) - 1, "%s", yytext); rfclval.sval = the_tag; } else rfclval.sval = strdup (yytext); L_DEBUG_MSG(" Body: " + (string)yytext); BEGIN(0); RETURN(BODY); } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 95 "rfc822.ll" { /* This is to scan multiple lines of a header body field, e.g. the Received fields are usually spread over multiple lines. In order to handle the leading white spaces, we need to replace them with ordinary blanks. */ char* the_tag = yytext; for (unsigned int i = 0; i <= strlen (the_tag); i++) if (isspace (the_tag[i])) the_tag[i] = ' '; rfclval.sval = strdup (the_tag); L_DEBUG_MSG("M-Body: " + (string)the_tag); BEGIN(TAG_READY); RETURN(BODY); } YY_BREAK case 5: /* rule 5 can match eol */ YY_RULE_SETUP #line 110 "rfc822.ll" { rfclval.sval = strdup (yytext); L_DEBUG_MSG("EOF.\n"); RETURN(HEADER_END); } YY_BREAK case 6: YY_RULE_SETUP #line 116 "rfc822.ll" {; /* Do nothing with tabs and spaces. */ } YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 118 "rfc822.ll" { BEGIN(0); } YY_BREAK case 8: YY_RULE_SETUP #line 120 "rfc822.ll" ECHO; YY_BREAK #line 792 "rfc822.cc" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(BODY_READY): case YY_STATE_EOF(TAG_READY): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ) { yyin = arg_yyin; yyout = arg_yyout; yy_c_buf_p = 0; yy_init = 0; yy_start = 0; yy_flex_debug = 0; yylineno = 1; // this will only get updated if %option yylineno yy_did_buffer_switch_on_eof = 0; yy_looking_for_trail_begin = 0; yy_more_flag = 0; yy_more_len = 0; yy_more_offset = yy_prev_more_offset = 0; yy_start_stack_ptr = yy_start_stack_depth = 0; yy_start_stack = NULL; yy_buffer_stack = 0; yy_buffer_stack_top = 0; yy_buffer_stack_max = 0; yy_state_buf = 0; } /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::~yyFlexLexer() { delete [] yy_state_buf; rfcfree(yy_start_stack ); yy_delete_buffer( YY_CURRENT_BUFFER ); rfcfree(yy_buffer_stack ); } /* The contents of this function are C++ specific, so the () macro is not used. */ void yyFlexLexer::switch_streams( std::istream* new_in, std::ostream* new_out ) { if ( new_in ) { yy_delete_buffer( YY_CURRENT_BUFFER ); yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) ); } if ( new_out ) yyout = new_out; } #ifdef YY_INTERACTIVE int yyFlexLexer::LexerInput( char* buf, int /* max_size */ ) #else int yyFlexLexer::LexerInput( char* buf, int max_size ) #endif { if ( yyin->eof() || yyin->fail() ) return 0; #ifdef YY_INTERACTIVE yyin->get( buf[0] ); if ( yyin->eof() ) return 0; if ( yyin->bad() ) return -1; return 1; #else (void) yyin->read( buf, max_size ); if ( yyin->bad() ) return -1; else return yyin->gcount(); #endif } void yyFlexLexer::LexerOutput( const char* buf, int size ) { (void) yyout->write( buf, size ); } /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ int yyFlexLexer::yy_get_next_buffer() { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ rfcrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) rfcrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ yy_state_type yyFlexLexer::yy_get_previous_state() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 44 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ yy_state_type yyFlexLexer::yy_try_NUL_trans( yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 44 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 43); return yy_is_jam ? 0 : yy_current_state; } void yyFlexLexer::yyunput( int c, register char* yy_bp) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } int yyFlexLexer::yyinput() { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart( yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); return c; } /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyFlexLexer::yyrestart( std::istream* input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer( yyin, YY_BUF_SIZE ); } yy_init_buffer( YY_CURRENT_BUFFER, input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yyFlexLexer::yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } void yyFlexLexer::yy_load_buffer_state() { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream* file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) rfcalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) rfcalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer( b, file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) rfcfree((void *) b->yy_ch_buf ); rfcfree((void *) b ); } extern "C" int isatty (int ); /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream* file ) { int oerrno = errno; yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yyFlexLexer::yy_flush_buffer( YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yyFlexLexer::yypush_buffer_state (YY_BUFFER_STATE new_buffer) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yyFlexLexer::yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ void yyFlexLexer::yyensure_buffer_stack(void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)rfcalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)rfcrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } void yyFlexLexer::yy_push_state( int new_state ) { if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) { yy_size_t new_size; (yy_start_stack_depth) += YY_START_STACK_INCR; new_size = (yy_start_stack_depth) * sizeof( int ); if ( ! (yy_start_stack) ) (yy_start_stack) = (int *) rfcalloc(new_size ); else (yy_start_stack) = (int *) rfcrealloc((void *) (yy_start_stack),new_size ); if ( ! (yy_start_stack) ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; BEGIN(new_state); } void yyFlexLexer::yy_pop_state() { if ( --(yy_start_stack_ptr) < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } int yyFlexLexer::yy_top_state() { return (yy_start_stack)[(yy_start_stack_ptr) - 1]; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif void yyFlexLexer::LexerError( yyconst char msg[] ) { std::cerr << msg << std::endl; exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *rfcalloc (yy_size_t size ) { return (void *) malloc( size ); } void *rfcrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void rfcfree (void * ptr ) { free( (char *) ptr ); /* see rfcrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 120 "rfc822.ll" /* In order to test the following code and to create a standalone scanner, read the comments inside Makefile.am and compile only the Makefile target `rfc_test'. */ int rfcwrap (); #ifdef SCANNER_STANDALONE #include int main (int argc, char** argv) { FlexLexer* lexer = new rfcFlexLexer; ++argv, --argc; /* Skip over program name. */ lexer->switch_streams (new ifstream (argv[0])); lexer->rfclex (); delete lexer; return 0; } #endif int rfcwrap () { return 1; } mailfilter-0.8.2/src/connection.hh0000644000175000017500000000275411134562660014055 00000000000000// connection.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef CONNECTION_HH #define CONNECTION_HH #include // Right now this class is only a dummy, but later it can be useful to // derive, e.g. a Windoze Socks connection class from it. using namespace std; class Connection { public: virtual ~Connection (void) { } virtual int c_open (const char* host_name, int port, int time_out, int protocol) = 0; virtual int c_close (void) const = 0; virtual int c_read (bool = false) = 0; virtual int c_write (const char* msg) = 0; virtual const string* c_reply (void) const = 0; }; #endif mailfilter-0.8.2/src/getopt.c0000644000175000017500000010245210555236121013033 00000000000000/* Getopt for GNU. NOTE: getopt is now part of the C library, so if you don't know what "Keep this file name-space clean" means, talk to drepper@gnu.org before changing it! Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ /* This tells Alpha OSF/1 not to define a getopt prototype in . Ditto for AIX 3.2 and . */ #ifndef _NO_PROTO # define _NO_PROTO #endif #ifdef HAVE_CONFIG_H # include #endif #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ # ifndef const # define const # endif #endif #include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C Library, but also included in many other GNU distributions. Compiling and linking in this code is a waste when using the GNU C library (especially if it is a shared library). Rather than having every GNU program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ #define GETOPT_INTERFACE_VERSION 2 #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 # include # if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION # define ELIDE_CODE # endif #endif #ifndef ELIDE_CODE /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ /* Don't include stdlib.h for non-GNU C libraries because some of them contain conflicting prototypes for getopt. */ # include # include #endif /* GNU C library. */ #ifdef VMS # include # if HAVE_STRING_H - 0 # include # endif #endif #ifndef _ /* This is for other GNU distributions with internationalized messages. */ # if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifndef _ # define _(msgid) gettext (msgid) # endif # else # define _(msgid) (msgid) # endif # if defined _LIBC && defined USE_IN_LIBIO # include # endif #endif /* This version of `getopt' appears to the caller like standard Unix `getopt' but it behaves differently for the user, since it allows the user to intersperse the options with the other arguments. As `getopt' works, it permutes the elements of ARGV so that, when it is done, all the options precede everything else. Thus all application programs are extended to handle flexible argument order. Setting the environment variable POSIXLY_CORRECT disables permutation. Then the behavior is completely standard. GNU application programs can use a third alternative mode in which they can distinguish the relative order of options and other arguments. */ #include "getopt.h" /* For communication from `getopt' to the caller. When `getopt' finds an option that takes an argument, the argument value is returned here. Also, when `ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to `getopt'. On entry to `getopt', zero means this is the first call; initialize. When `getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, `optind' communicates from one call to the next how much of ARGV has been scanned so far. */ /* 1003.2 says this must be 1 before any call. */ int optind = 1; /* Formerly, initialization of getopt depended on optind==0, which causes problems with re-calling getopt as programs generally don't know that. */ int __getopt_initialized; /* The next char to be scanned in the option-element in which the last option character we returned was found. This allows us to pick up the scan where we left off. If this is zero, or a null string, it means resume the scan by advancing to the next ARGV-element. */ static char *nextchar; /* Callers store zero here to inhibit the error message for unrecognized options. */ int opterr = 1; /* Set to an option character which was unrecognized. This must be initialized on some systems to avoid linking in the system's own getopt implementation. */ int optopt = '?'; /* Describe how to deal with options that follow non-option ARGV-elements. If the caller did not specify anything, the default is REQUIRE_ORDER if the environment variable POSIXLY_CORRECT is defined, PERMUTE otherwise. REQUIRE_ORDER means don't recognize them as options; stop option processing when the first non-option is seen. This is what Unix does. This mode of operation is selected by either setting the environment variable POSIXLY_CORRECT, or using `+' as the first character of the list of option characters. PERMUTE is the default. We permute the contents of ARGV as we scan, so that eventually all the non-options are at the end. This allows options to be given in any order, even with programs that were not written to expect this. RETURN_IN_ORDER is an option available to programs that were written to expect options and other ARGV-elements in any order and that care about the ordering of the two. We describe each non-option ARGV-element as if it were the argument of an option with character code 1. Using `-' as the first character of the list of option characters selects this mode of operation. The special argument `--' forces an end of option-scanning regardless of the value of `ordering'. In the case of RETURN_IN_ORDER, only `--' can cause `getopt' to return -1 with `optind' != ARGC. */ static enum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER } ordering; /* Value of POSIXLY_CORRECT environment variable. */ static char *posixly_correct; #ifdef __GNU_LIBRARY__ /* We want to avoid inclusion of string.h with non-GNU libraries because there are many ways it can cause trouble. On some systems, it contains special magic macros that don't work in GCC. */ # include # define my_index strchr #else # if HAVE_STRING_H # include # else # include # endif /* Avoid depending on library functions or files whose names are inconsistent. */ #ifndef getenv extern char *getenv (); #endif static char * my_index (str, chr) const char *str; int chr; { while (*str) { if (*str == chr) return (char *) str; str++; } return 0; } /* If using GCC, we can safely declare strlen this way. If not using GCC, it is ok not to declare it. */ #ifdef __GNUC__ /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. That was relevant to code that was here before. */ # if (!defined __STDC__ || !__STDC__) && !defined strlen /* gcc with -traditional declares the built-in strlen to return int, and has done so at least since version 2.4.5. -- rms. */ extern int strlen (const char *); # endif /* not __STDC__ */ #endif /* __GNUC__ */ #endif /* not __GNU_LIBRARY__ */ /* Handle permutation of arguments. */ /* Describe the part of ARGV that contains non-options that have been skipped. `first_nonopt' is the index in ARGV of the first of them; `last_nonopt' is the index after the last of them. */ static int first_nonopt; static int last_nonopt; #ifdef _LIBC /* Stored original parameters. XXX This is no good solution. We should rather copy the args so that we can compare them later. But we must not use malloc(3). */ extern int __libc_argc; extern char **__libc_argv; /* Bash 2.0 gives us an environment variable containing flags indicating ARGV elements that should not be considered arguments. */ # ifdef USE_NONOPTION_FLAGS /* Defined in getopt_init.c */ extern char *__getopt_nonoption_flags; static int nonoption_flags_max_len; static int nonoption_flags_len; # endif # ifdef USE_NONOPTION_FLAGS # define SWAP_FLAGS(ch1, ch2) \ if (nonoption_flags_len > 0) \ { \ char __tmp = __getopt_nonoption_flags[ch1]; \ __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ __getopt_nonoption_flags[ch2] = __tmp; \ } # else # define SWAP_FLAGS(ch1, ch2) # endif #else /* !_LIBC */ # define SWAP_FLAGS(ch1, ch2) #endif /* _LIBC */ /* Exchange two adjacent subsequences of ARGV. One subsequence is elements [first_nonopt,last_nonopt) which contains all the non-options that have been skipped so far. The other is elements [last_nonopt,optind), which contains all the options processed since those non-options were skipped. `first_nonopt' and `last_nonopt' are relocated so that they describe the new indices of the non-options in ARGV after they are moved. */ #if defined __STDC__ && __STDC__ static void exchange (char **); #endif static void exchange (argv) char **argv; { int bottom = first_nonopt; int middle = last_nonopt; int top = optind; char *tem; /* Exchange the shorter segment with the far end of the longer segment. That puts the shorter segment into the right place. It leaves the longer segment in the right place overall, but it consists of two parts that need to be swapped next. */ #if defined _LIBC && defined USE_NONOPTION_FLAGS /* First make sure the handling of the `__getopt_nonoption_flags' string can work normally. Our top argument must be in the range of the string. */ if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) { /* We must extend the array. The user plays games with us and presents new arguments. */ char *new_str = malloc (top + 1); if (new_str == NULL) nonoption_flags_len = nonoption_flags_max_len = 0; else { memset (__mempcpy (new_str, __getopt_nonoption_flags, nonoption_flags_max_len), '\0', top + 1 - nonoption_flags_max_len); nonoption_flags_max_len = top + 1; __getopt_nonoption_flags = new_str; } } #endif while (top > middle && middle > bottom) { if (top - middle > middle - bottom) { /* Bottom segment is the short one. */ int len = middle - bottom; register int i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[top - (middle - bottom) + i]; argv[top - (middle - bottom) + i] = tem; SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); } /* Exclude the moved bottom segment from further swapping. */ top -= len; } else { /* Top segment is the short one. */ int len = top - middle; register int i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[middle + i]; argv[middle + i] = tem; SWAP_FLAGS (bottom + i, middle + i); } /* Exclude the moved top segment from further swapping. */ bottom += len; } } /* Update records for the slots the non-options now occupy. */ first_nonopt += (optind - last_nonopt); last_nonopt = optind; } /* Initialize the internal data when the first call is made. */ #if defined __STDC__ && __STDC__ static const char *_getopt_initialize (int, char *const *, const char *); #endif static const char * _getopt_initialize (argc, argv, optstring) int argc; char *const *argv; const char *optstring; { /* Start processing options with ARGV-element 1 (since ARGV-element 0 is the program name); the sequence of previously skipped non-option ARGV-elements is empty. */ first_nonopt = last_nonopt = optind; nextchar = NULL; posixly_correct = getenv ("POSIXLY_CORRECT"); /* Determine how to handle the ordering of options and nonoptions. */ if (optstring[0] == '-') { ordering = RETURN_IN_ORDER; ++optstring; } else if (optstring[0] == '+') { ordering = REQUIRE_ORDER; ++optstring; } else if (posixly_correct != NULL) ordering = REQUIRE_ORDER; else ordering = PERMUTE; #if defined _LIBC && defined USE_NONOPTION_FLAGS if (posixly_correct == NULL && argc == __libc_argc && argv == __libc_argv) { if (nonoption_flags_max_len == 0) { if (__getopt_nonoption_flags == NULL || __getopt_nonoption_flags[0] == '\0') nonoption_flags_max_len = -1; else { const char *orig_str = __getopt_nonoption_flags; int len = nonoption_flags_max_len = strlen (orig_str); if (nonoption_flags_max_len < argc) nonoption_flags_max_len = argc; __getopt_nonoption_flags = (char *) malloc (nonoption_flags_max_len); if (__getopt_nonoption_flags == NULL) nonoption_flags_max_len = -1; else memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), '\0', nonoption_flags_max_len - len); } } nonoption_flags_len = nonoption_flags_max_len; } else nonoption_flags_len = 0; #endif return optstring; } /* Scan elements of ARGV (whose length is ARGC) for option characters given in OPTSTRING. If an element of ARGV starts with '-', and is not exactly "-" or "--", then it is an option element. The characters of this element (aside from the initial '-') are option characters. If `getopt' is called repeatedly, it returns successively each of the option characters from each of the option elements. If `getopt' finds another option character, it returns that character, updating `optind' and `nextchar' so that the next call to `getopt' can resume the scan with the following option character or ARGV-element. If there are no more option characters, `getopt' returns -1. Then `optind' is the index in ARGV of the first ARGV-element that is not an option. (The ARGV-elements have been permuted so that those that are not options now come last.) OPTSTRING is a string containing the legitimate option characters. If an option character is seen that is not listed in OPTSTRING, return '?' after printing an error message. If you set `opterr' to zero, the error message is suppressed but we still return '?'. If a char in OPTSTRING is followed by a colon, that means it wants an arg, so the following text in the same ARGV-element, or the text of the following ARGV-element, is returned in `optarg'. Two colons mean an option that wants an optional arg; if there is text in the current ARGV-element, it is returned in `optarg', otherwise `optarg' is set to zero. If OPTSTRING starts with `-' or `+', it requests different methods of handling the non-option ARGV-elements. See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. Long-named options begin with `--' instead of `-'. Their names may be abbreviated as long as the abbreviation is unique or is an exact match for some defined option. If they have an argument, it follows the option name in the same ARGV-element, separated from the option name by a `=', or else the in next ARGV-element. When `getopt' finds a long-named option, it returns 0 if that option's `flag' field is nonzero, the value of the option's `val' field if the `flag' field is zero. The elements of ARGV aren't really const, because we permute them. But we pretend they're const in the prototype to be compatible with other systems. LONGOPTS is a vector of `struct option' terminated by an element containing a name which is zero. LONGIND returns the index in LONGOPT of the long-named option found. It is only valid when a long-named option has been found by the most recent call. If LONG_ONLY is nonzero, '-' as well as '--' can introduce long-named options. */ int _getopt_internal (argc, argv, optstring, longopts, longind, long_only) int argc; char *const *argv; const char *optstring; const struct option *longopts; int *longind; int long_only; { int print_errors = opterr; if (optstring[0] == ':') print_errors = 0; if (argc < 1) return -1; optarg = NULL; if (optind == 0 || !__getopt_initialized) { if (optind == 0) optind = 1; /* Don't scan ARGV[0], the program name. */ optstring = _getopt_initialize (argc, argv, optstring); __getopt_initialized = 1; } /* Test whether ARGV[optind] points to a non-option argument. Either it does not have option syntax, or there is an environment flag from the shell indicating it is not an option. The later information is only used when the used in the GNU libc. */ #if defined _LIBC && defined USE_NONOPTION_FLAGS # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ || (optind < nonoption_flags_len \ && __getopt_nonoption_flags[optind] == '1')) #else # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') #endif if (nextchar == NULL || *nextchar == '\0') { /* Advance to the next ARGV-element. */ /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been moved back by the user (who may also have changed the arguments). */ if (last_nonopt > optind) last_nonopt = optind; if (first_nonopt > optind) first_nonopt = optind; if (ordering == PERMUTE) { /* If we have just processed some options following some non-options, exchange them so that the options come first. */ if (first_nonopt != last_nonopt && last_nonopt != optind) exchange ((char **) argv); else if (last_nonopt != optind) first_nonopt = optind; /* Skip any additional non-options and extend the range of non-options previously skipped. */ while (optind < argc && NONOPTION_P) optind++; last_nonopt = optind; } /* The special ARGV-element `--' means premature end of options. Skip it like a null option, then exchange with previous non-options as if it were an option, then skip everything else like a non-option. */ if (optind != argc && !strcmp (argv[optind], "--")) { optind++; if (first_nonopt != last_nonopt && last_nonopt != optind) exchange ((char **) argv); else if (first_nonopt == last_nonopt) first_nonopt = optind; last_nonopt = argc; optind = argc; } /* If we have done all the ARGV-elements, stop the scan and back over any non-options that we skipped and permuted. */ if (optind == argc) { /* Set the next-arg-index to point at the non-options that we previously skipped, so the caller will digest them. */ if (first_nonopt != last_nonopt) optind = first_nonopt; return -1; } /* If we have come to a non-option and did not permute it, either stop the scan or describe it to the caller and pass it by. */ if (NONOPTION_P) { if (ordering == REQUIRE_ORDER) return -1; optarg = argv[optind++]; return 1; } /* We have found another option-ARGV-element. Skip the initial punctuation. */ nextchar = (argv[optind] + 1 + (longopts != NULL && argv[optind][1] == '-')); } /* Decode the current option-ARGV-element. */ /* Check whether the ARGV-element is a long option. If long_only and the ARGV-element has the form "-f", where f is a valid short option, don't consider it an abbreviated form of a long option that starts with f. Otherwise there would be no way to give the -f short option. On the other hand, if there's a long option "fubar" and the ARGV-element is "-fu", do consider that an abbreviation of the long option, just like "--fu", and not "-f" with arg "u". This distinction seems to be the most useful approach. */ if (longopts != NULL && (argv[optind][1] == '-' || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) { char *nameend; const struct option *p; const struct option *pfound = NULL; int exact = 0; int ambig = 0; int indfound = -1; int option_index; for (nameend = nextchar; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; /* Test all long options for either exact match or abbreviated matches. */ for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, nextchar, nameend - nextchar)) { if ((unsigned int) (nameend - nextchar) == (unsigned int) strlen (p->name)) { /* Exact match found. */ pfound = p; indfound = option_index; exact = 1; break; } else if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else if (long_only || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) /* Second or later nonexact match found. */ ambig = 1; } if (ambig && !exact) { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("%s: option `%s' is ambiguous\n"), argv[0], argv[optind]); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option `%s' is ambiguous\n"), argv[0], argv[optind]); #endif } nextchar += strlen (nextchar); optind++; optopt = 0; return '?'; } if (pfound != NULL) { option_index = indfound; optind++; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) optarg = nameend + 1; else { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; #endif if (argv[optind - 1][1] == '-') { /* --option */ #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("\ %s: option `--%s' doesn't allow an argument\n"), argv[0], pfound->name); #else fprintf (stderr, _("\ %s: option `--%s' doesn't allow an argument\n"), argv[0], pfound->name); #endif } else { /* +option or -option */ #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("\ %s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); #else fprintf (stderr, _("\ %s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); #endif } #if defined _LIBC && defined USE_IN_LIBIO if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #endif } nextchar += strlen (nextchar); optopt = pfound->val; return '?'; } } else if (pfound->has_arg == 1) { if (optind < argc) optarg = argv[optind++]; else { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); #endif } nextchar += strlen (nextchar); optopt = pfound->val; return optstring[0] == ':' ? ':' : '?'; } } nextchar += strlen (nextchar); if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } /* Can't find it as a long option. If this is not getopt_long_only, or the option starts with '--' or is not a valid short option, then it's an error. Otherwise interpret it as a short option. */ if (!long_only || argv[optind][1] == '-' || my_index (optstring, *nextchar) == NULL) { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; #endif if (argv[optind][1] == '-') { /* --option */ #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("%s: unrecognized option `--%s'\n"), argv[0], nextchar); #else fprintf (stderr, _("%s: unrecognized option `--%s'\n"), argv[0], nextchar); #endif } else { /* +option or -option */ #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("%s: unrecognized option `%c%s'\n"), argv[0], argv[optind][0], nextchar); #else fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), argv[0], argv[optind][0], nextchar); #endif } #if defined _LIBC && defined USE_IN_LIBIO if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #endif } nextchar = (char *) ""; optind++; optopt = 0; return '?'; } } /* Look at and handle the next short option-character. */ { char c = *nextchar++; char *temp = my_index (optstring, c); /* Increment `optind' when we start to process its last character. */ if (*nextchar == '\0') ++optind; if (temp == NULL || c == ':') { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; #endif if (posixly_correct) { /* 1003.2 specifies the format of this message. */ #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("%s: illegal option -- %c\n"), argv[0], c); #else fprintf (stderr, _("%s: illegal option -- %c\n"), argv[0], c); #endif } else { #if defined _LIBC && defined USE_IN_LIBIO __asprintf (&buf, _("%s: invalid option -- %c\n"), argv[0], c); #else fprintf (stderr, _("%s: invalid option -- %c\n"), argv[0], c); #endif } #if defined _LIBC && defined USE_IN_LIBIO if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #endif } optopt = c; return '?'; } /* Convenience. Treat POSIX -W foo same as long option --foo */ if (temp[0] == 'W' && temp[1] == ';') { char *nameend; const struct option *p; const struct option *pfound = NULL; int exact = 0; int ambig = 0; int indfound = 0; int option_index; /* This is an option that requires an argument. */ if (*nextchar != '\0') { optarg = nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ optind++; } else if (optind == argc) { if (print_errors) { /* 1003.2 specifies the format of this message. */ #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("%s: option requires an argument -- %c\n"), argv[0], c); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option requires an argument -- %c\n"), argv[0], c); #endif } optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; return c; } else /* We already incremented `optind' once; increment it again when taking next ARGV-elt as argument. */ optarg = argv[optind++]; /* optarg is now the argument, see if it's in the table of longopts. */ for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; /* Test all long options for either exact match or abbreviated matches. */ for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, nextchar, nameend - nextchar)) { if ((unsigned int) (nameend - nextchar) == strlen (p->name)) { /* Exact match found. */ pfound = p; indfound = option_index; exact = 1; break; } else if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else /* Second or later nonexact match found. */ ambig = 1; } if (ambig && !exact) { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("%s: option `-W %s' is ambiguous\n"), argv[0], argv[optind]); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), argv[0], argv[optind]); #endif } nextchar += strlen (nextchar); optind++; return '?'; } if (pfound != NULL) { option_index = indfound; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) optarg = nameend + 1; else { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("\ %s: option `-W %s' doesn't allow an argument\n"), argv[0], pfound->name); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("\ %s: option `-W %s' doesn't allow an argument\n"), argv[0], pfound->name); #endif } nextchar += strlen (nextchar); return '?'; } } else if (pfound->has_arg == 1) { if (optind < argc) optarg = argv[optind++]; else { if (print_errors) { #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("\ %s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); #endif } nextchar += strlen (nextchar); return optstring[0] == ':' ? ':' : '?'; } } nextchar += strlen (nextchar); if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } nextchar = NULL; return 'W'; /* Let the application handle it. */ } if (temp[1] == ':') { if (temp[2] == ':') { /* This is an option that accepts an argument optionally. */ if (*nextchar != '\0') { optarg = nextchar; optind++; } else optarg = NULL; nextchar = NULL; } else { /* This is an option that requires an argument. */ if (*nextchar != '\0') { optarg = nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ optind++; } else if (optind == argc) { if (print_errors) { /* 1003.2 specifies the format of this message. */ #if defined _LIBC && defined USE_IN_LIBIO char *buf; __asprintf (&buf, _("%s: option requires an argument -- %c\n"), argv[0], c); if (_IO_fwide (stderr, 0) > 0) __fwprintf (stderr, L"%s", buf); else fputs (buf, stderr); free (buf); #else fprintf (stderr, _("%s: option requires an argument -- %c\n"), argv[0], c); #endif } optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; } else /* We already incremented `optind' once; increment it again when taking next ARGV-elt as argument. */ optarg = argv[optind++]; nextchar = NULL; } } return c; } } int getopt (argc, argv, optstring) int argc; char *const *argv; const char *optstring; { return _getopt_internal (argc, argv, optstring, (const struct option *) 0, (int *) 0, 0); } #endif /* Not ELIDE_CODE. */ #ifdef TEST /* Compile with -DTEST to make an executable for use in testing the above definition of `getopt'. */ int main (argc, argv) int argc; char **argv; { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; c = getopt (argc, argv, "abc:d:0123456789"); if (c == -1) break; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value `%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ mailfilter-0.8.2/src/filter.hh0000644000175000017500000000344211134562744013201 00000000000000// filter.hh - source file for the mailfilter program // Copyright (c) 2000 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef FILTER_HH #define FILTER_HH #include extern "C" { #include #include } // Filter modes #define CASE_DEFAULT REG_ICASE #define CASE_SENSITIVE 0 #define CASE_INSENSITIVE REG_ICASE using namespace std; class Filter { private: string expr; regex_t comp_expr; regex_t comp_normal_expr; // Values can be CASE_SENSITIVE, CASE_INSENSITIVE, or CASE_DEFAULT: int case_sensitivity; bool negativity; bool compiled; public: Filter (void); ~Filter (void); string expression (void) const; void set_expression (const char*); int compile (void); void set_negativity (bool); bool is_negative (void) const; int ccase (void) const; void set_case (int); const regex_t* comp_exp (void) const; }; #endif mailfilter-0.8.2/src/Makefile.am0000644000175000017500000000744011134562575013433 00000000000000# Makefile.am: help build program sources # $Id: Makefile.am,v 1.9.2.6.2.22 2006/12/31 21:44:18 baueran Exp $ # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. EXTRA_DIST = rcfile.yy rfc822.yy AM_CXXFLAGS = -Wall YFLAGS = -d -v AM_LFLAGS = -+ -i bin_PROGRAMS = mailfilter # Some dependencies to invoke flex + bison before compilation of # lex output starts: rcfile.cc: rcfile.ll rcparser.hh $(LEX) $(AM_LFLAGS) -Prc -o$@ $< # The final `touch' is necessary to be able to invoke flex/bison more # than once and to not confuse the ../ylwrap script. rcparser.hh: y.tab.c y.tab.c: rcfile.yy $(YACC) -p rc $(YFLAGS) -o$@ $<; \ mv -f y.tab.c rcparser.cc; \ mv -f y.tab.h rcparser.hh; \ $(CXXCOMPILE) -c rcparser.cc; \ touch y.tab.c # Almost the same as above, but this time for the RFC 822 parser: rfc822.cc: rfc822.ll rfc822parser.hh $(LEX) $(AM_LFLAGS) -Prfc -o$@ $< rfc822parser.hh: rfc822parser.cc rfc822parser.cc: rfc822.yy $(YACC) $(YFLAGS) -p rfc -o$@ $<; \ mv -f y.tab.h rfc822parser.hh; \ $(CXXCOMPILE) -c rfc822parser.cc; \ touch y.tab.c # This thing is a workaround to avoid compile errors. # We always re-generate the source from the flex/bison input, so it # always matches the installed versions and does not lead to errors. CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ rfc822parser.output rfc822parser.cc rfc822parser.hh \ rfc822.cc y.output nodist_mailfilter_SOURCES = rcfile.cc rcparser.hh y.tab.c rfc822.cc nodist_mailfilter_OBJECTS = y.tab.$(OBJEXT) # Looks like automake still wants to distribute rcfile.cc, even if it # is in nodist_*_sources. dist-hook: rm -f $(distdir)/rcfile.cc \ $(distdir)/rfc822parser.cc \ $(distdir)/rfcparser.cc # If this gets updated, remember to update the doxygen.in config file! mailfilter_SOURCES = md5c.c md5.h \ defines.hh \ rcfile.ll rcfile.hh \ rfc822.ll \ mailfilter.hh mailfilter.cc \ header.hh header.cc \ weeder.hh weeder.cc \ preferences.hh preferences.cc \ feedback.hh feedback.cc \ filter.hh filter.cc \ score.hh score.cc \ account.hh account.cc \ protocol.hh protocol.cc \ connection.hh \ socket.hh socket.cc \ pop3.hh pop3.cc \ apop.hh apop.cc \ imap.hh imap.cc if !GETOPT mailfilter_SOURCES += getopt.c getopt1.c getopt.h endif mailfilter_LDADD = rcparser.o rfc822parser.o INCLUDES = -I$(includedir) \ -I$(srcdir) -I$(top_srcdir)/include -I$(top_srcdir) \ -DLOCALEDIR=\"$(datadir)/locale\" \ -I$(top_srcdir)/intl \ -I$(top_builddir) -I$(top_builddir)/include -I. LIBS = @LEXLIB@ @LIBS@ mailfilter-0.8.2/src/socket.hh0000644000175000017500000000374611134563305013205 00000000000000// socket.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef SOCKET_HH #define SOCKET_HH #include #include #if USE_SSL extern "C" { #include #include } #endif #include "connection.hh" using namespace std; #ifndef MAX_BYTES #define MAX_BYTES 512 #endif class Socket : public Connection { private: int sd; // Socket descriptor. int time_out; // Time out. static void connect_alarm (int); // Alarm handler. string* read_buffer; // Server replies after read (). bool ssl_used; // True if SSL encryption is used. bool use_ssl (void) const; void set_ssl (bool); public: Socket (void); void clear (void); int c_open (const char* host, int port, int time_out, int protocol); int c_close (void) const; int c_write (const char* command); int c_read (bool = false); const string* c_reply (void) const; }; #endif mailfilter-0.8.2/src/weeder.hh0000644000175000017500000000250611134563326013164 00000000000000// weeder.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef WEEDER_HH #define WEEDER_HH #include #include #include "header.hh" using namespace std; class Weeder { private: vector msg_ids; int check_duplicates (Header*); int check_maxlength (Header*) const; int check_allow_rules (Header*) const; int check_deny_rules (Header*) const; int check_scores (Header*) const; public: int is_weed (Header*); }; #endif mailfilter-0.8.2/src/header.hh0000644000175000017500000000456111212615524013137 00000000000000// header.hh - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #ifndef HEADER_HH #define HEADER_HH #include #include #include using namespace std; struct entry { string tag; string body; }; class WrongMessageIDException : public runtime_error { public: WrongMessageIDException () : runtime_error ("POP timestamp in message-ID invalid.") { } }; class Header { private: vector msg_entries; string msg_ID; string msg_from; string msg_to; string msg_subject; string msg_normal_subject; string msg_date; int msg_size; public: vector* entries (void); int rfc822_valid_msgid (const char*); void add_entry (const char*, const char*); const string* ID (void) const; void set_ID (const char*); const string* from (void) const; void set_from (const char*); const string* to (void) const; void set_to (const char*); const string* subject (void) const; void set_subject (const char*); const string* normal_subject (void) const; void set_normal_subject (string); const string* date (void) const; void set_date (const char*); int size (void) const; void set_size (int); }; #endif mailfilter-0.8.2/src/protocol.cc0000644000175000017500000000222311134563133013530 00000000000000// protocol.cc - source file for the mailfilter program // Copyright (c) 2003 - 2009 Andreas Bauer // // 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. #include "connection.hh" #include "protocol.hh" using namespace std; void Protocol :: set_ident (unsigned int i) { prot_ident = i; } unsigned int Protocol :: ident (void) const { return prot_ident; } void Protocol :: set_connection (Connection* currently_established_connection) { conn = currently_established_connection; } mailfilter-0.8.2/INSTALL0000644000175000017500000002004210556221337011625 00000000000000Mailfilter INSTALL -=-=-=-=-=-=-=-=-= 0. REQUIREMENTS To run Mailfilter it's best to have a Unix-like operating system, but it also compiles fine with Windows 9x/NT/2000 if additional libraries and tools are installed (e.g., Cygwin, or DJGPP). 0.1 ADD-ON LIBRARIES & TOOLS To compile/install Mailfilter you also need to have a fairly recent version of a C and C++ compiler (e.g., GCC >= 3.0) and your system must support BSD-type sockets (in general, all Unix systems do meet this criterion). For compilation you will also need the programs flex and bison. NOTE: Please keep in mind that the GNU versions of flex and bison are `somewhat' peculiar. It is *highly* recommended to use your distribution's very own releases of these tools, rather than compiling from source (e.g. get them from the BSD-ports collection, or via apt). However, if you must get the source for flex (e.g. because your distribution ships a broken GNU flex), then use http://lex.sf.net/, but *never* GNU flex! It is broken! 0.2 SSL SUPPORT Should SSL support be desired, the OpenSSL library (or, an equivalent substitute) must be present. Potential SSL support should then be automatically detected by the configure script. 1. CONFIGURE If you have downloaded and installed a binary distribution of Mailfilter, then there is no need to read the following instructions. Continue with section 3 and 4 instead. If you have downloaded a compressed source code archive, then please proceed the following steps. Change to the Mailfilter distribution directory (where the INSTALL file can be found, e.g. /home/tux/mailfilter-x.y.z) and run ./configure For a list of available options for configuration, call configure with the --help parameter. Running configure creates a Makefile in your source code directory. If you like, have a look at it before you continue, though this should not be necessary, unless you want to have debugging information included or things like that. 2. INSTALL After configure has successfully guessed your system's specific values, you can compile the Mailfilter source code with make NOTE: On Linux systems make typically refers to GNU gmake. However, some operating systems (e.g., FreeBSD) ship with different versions of make and you will need to explicitly use the command 'gmake' (and later 'gmake install') in order to get Mailfilter compiled correctly. If you have not changed any of the predefined values for configure then Mailfilter will be installed in /usr/local/bin. Become 'root' now and run make install That's it - you're done with the installation, but please read on to find out what you have to do in order to make Mailfilter work. (IMPORTANT!!) 3. SET-UP MAILFILTER Before you can execute the Mailfilter application you must create a rcfile called .mailfilterrc in your home directory, e.g. /home/tux/.mailfilterrc. In this file you must specify the accounts you want Mailfilter to check for spam. Here is a very basic set of example rules you could use. I suggest you simply copy and paste it. For further information and a list of all supported key- words, please also read the mailfilterrc(5) and mailfilterex(5) man pages. More rcfiles are available in the doc/ directory of the Mailfilter distribution. # ----------------------------------------------------------- # Logile path (be sure you have write permission in this # directory; you MUST specify a logfile) LOGFILE = "$HOME/logs/mailfilter.log" # ----------------------------------------------------------- # Level of verbosity # # 0 Silent, show nothing at all # 1 Only show errors # 2 Only show "Deleted..." messages and errors # 3 Default; Show "Deleted..." messages, errors # and "Examining..." messages # 4 Like (3), except this also shows the current # account's username # 5 Like (4), except this also shows which filter # matched which string of an e-mail header # 6 Debugging mode; prints almost everything VERBOSE = 3 # ----------------------------------------------------------- # Server list (Do not change the order of the fields!!) # Note: Port 110 is usually the port APOP and POP3 servers use, # port 995 is required if (say) POP3/SSL is specified. SERVER = "pop.server.com" USER = "username" PASS = "password" PROTOCOL = "pop3" PORT = 110 SERVER = "pop.secondserver.com" USER = "anotherusername" PASS = "anotherusername" PROTOCOL = "pop3/ssl" PORT = 995 # ----------------------------------------------------------- # Do you want case sensitive e-mail filters? { yes | no } REG_CASE = "no" # ----------------------------------------------------------- # Sets the type of Regular Expression used { extended | basic } # # (The default is 'basic', don't change unless you know what you # are doing. Extended REs are more complex to set up.) REG_TYPE = "extended" # ----------------------------------------------------------- # Maximum e-mail size in bytes that should not be exceeded. MAXSIZE_DENY = 1000000 # ----------------------------------------------------------- # Set maximum line length of any field in the message header MAXLENGTH = 998 # ---------------------------------------------------------- # Filter rules for detecting spam (each rule must be placed # in a separate line) # These filters detect certain unpleasant e-mail subjects: DENY = "^Subject:.*Get penis enlargement" DENY = "^Subject:.*WIN MONEY" # This one filters mail from a certain person: DENY = "^From:.*spammer@any_spam_organisation\.com" # This one filters mail from everyone at a certain organisation: DENY = "^From:.*@any_provider_that_spams\.org" # We don't want any of those 'LEGAL' messages either # while stuff with 'legal' in the subject still interests us: DENY_CASE = "^Subject:.*LEGAL" # ----------------------------------------------------------- # Normalises the subject strings before parsing, e.g. # ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]' # becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered. # # If NORMAL is switched on, Mailfilter tries to apply filters # to both the normalised and the original subject. NORMAL = "yes" # ----------------------------------------------------------- # The maximum e-mail size in bytes that messages from friends # should not exceed. Set this to 0 if all your friends (ALLOW) # can send messages as long as they want. MAXSIZE_ALLOW = 0 # ---------------------------------------------------------- # Set list of friends that always pass, if they do not # exceed the message length of MAXSIZE_ALLOW # This rule allows all mail from a friend who was unlucky enough # to have signed up with a spam organisation. With DENY we # block everyone else from that domain though! See above! ALLOW = "^From:.*a_friend_with_account@any_provider_that_spams.org" # Of course we allow e-mail from anyone who has something to say about # mailfilter: ALLOW = "^Subject:.*mailfilter" # We also let our girlfriend send any e-mail she wants: ALLOW = "^From:.*my_girlfriend@any_provider\.com" It is _very_ important to not change the order of the SERVER, USER, PASS, PROTOCOL and PORT fields. Generally the rcfile is not case-sensitive, which means it does not matter whether the keywords are spelled in capitals or not. You can place white space characters before and in between a command and its parameters, but usually not after the parameter! To find out how to set up more complex rules and options, please refer to the man pages and the FAQ provided with the Mailfilter program, or simply look up the webpage. If you do not set up a .mailfilterrc file, the program refuses to start. It is also recommended to change the permissions of this file to read-only, as it contains all your passwords en clear. 4. RUN MAILFILTER Now try it out! Mailfilter can be started with mailfilter on the command line. Be sure you have set up an individual rcfile (e.g. $HOME/.mailfilterrc) in your home directory. If you don't know how to do this, please read section 3 of this document again, or consult the Mailfilter FAQ in the doc/ directory for further information. mailfilter-0.8.2/contrib/0000777000175000017500000000000011241450773012322 500000000000000mailfilter-0.8.2/contrib/sort_de_do.sh0000644000175000017500000000064710554745030014721 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Sorts a file which only contains filters for # domains, such as # DENY=^(From|To|Cc):.*@.*handmark\.net # DENY=^(From|To|Cc):.*@.*homebets\.com # DENY=^(From|To|Cc):.*@.*homestar\.us # by the top level domain, then the first level domain etc. ##### cat deny_domain | sort -bdf -t . +3 +2.1 -3 | more mailfilter-0.8.2/contrib/runit.sh0000644000175000017500000000076710554745030013744 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Needs getstats.pl # Checks the filters and how often they were active! # Then sorts the ouput in ascending order. # E.g. # 32 Applied filter: '^Received:.*\.tw[[:space:]]'] # 35 Applied filter: '^Received:.*\.br'] # 81 Applied filter: 'Content-Type:.*text/html.*'] # Used also by prozente.pl ##### zgrep Deleted log/mailfilter.log* | getstats.pl | sort | uniq -c | sort -n mailfilter-0.8.2/contrib/Makefile.in0000644000175000017500000002052311212607130014272 00000000000000# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = contrib DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = checkfilter.sh deleted.sh FILES getstats.pl prozente.pl runit.sh spam.tar.gz examined.sh getmailer.pl mfdelete.stat README sort_de_do.sh xmailer.sh chrcformat_05-07 rmcrlf all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu contrib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mailfilter-0.8.2/contrib/rmcrlf0000755000175000017500000000314710554745030013455 00000000000000#!/usr/bin/perl # # rmcrlf - remove carriagereturn- and linefeed-characters from # a file containing mail-headers (like mailfilter.log) if a long # headerline was split into multiple shorter headerlines # ("folding whitespaces" - see RFC 2822, section # 2.2.3. Long Header Fields). Especially Received:-headers often # exceed the 78-character-limit. # # http://www.faqs.org/rfcs/rfc2822.html # ftp://ftp.rfc-editor.org/in-notes/rfc2822.txt # # After using rmcrlf you can egrep the new $out_file with your # regex_to_test to see if it would have matched the header of a # previously received e-mail. This prevents you from loosing # mail because of a buggy regex. # # This is a perl-skript. Depending on your system you may have # to adjust the first line. # # --------------------- # Licensed under GPL v2 # --------------------- # # Til Schubbe, 13.11.2003 # t.schubbe@gmx.de # use warnings; $out_file = "big_2003_07-"; # Output-file; MODIFY HERE $out_file_old = "$out_file" . ".old"; $mailfilter_log = "mailfilter.log"; # Input-file; MODIFY HERE # Delete the file unlink $out_file_old; rename "$out_file", "$out_file_old"; # Split $mailfilter_log into multiple smaller files # man split system "split", "-C", "10m", $mailfilter_log; open OUT, ">$out_file"; # This handles 26 files only (26*10MB=260MB) foreach $f ("a".."z") { unless (open FIL, "); s{\x0d\x0a(\x20|\x09)+} # This not exactly what RFC 2822 tells, but {\x20}gsx; # it increases the readability of the outfile close FIL; print OUT; unlink "xa$f"; } close OUT; mailfilter-0.8.2/contrib/spam.tar.gz0000644000175000017500000002746310554745030014340 00000000000000I =spam-020916.tar\{WĢhٵd`1܃DN%MfyXV ~3=BdϞ:1TW׻{rzni4g4zg͵o<[} O'^$ă~zYZ7a 0G}Y*J"Y$e$T/Xx7Wjhq}:C?(DX~$~2"%fa*^ "$/D ?^Ыc=?4H$C)q,>_9:od #o$Nҋ~W^(&eO\x>hk*~Hҧ(Xѓ0"HG"``(ck~ 4$ąi,8Zpy{|Q-N!='#PcdF3w{oiLAG9khi`u*NNO{5!R3['l$ٓ MYyz%)+Dm2[%\[ L*bd4d74sVAЭUsё$')NF^NauQ8n4js!-q:ǯv;Gζq4D܍ swhGr~4Cb؇5!:\ oe%{/ҭ(ߘ.FG9. LjƱxfV|1+#>9>rk 腰hF'rh, *DKh& I[2^''4A&j,vuxغMuGpir ?=&0Jڀy =gL% !YC,?4G~xS}"ܘw{|#Ja;q0] %YdA0zN"a#\X'FaT1C"")?.ljR~h:o64fj_)j:Qj YuH) :#e7 ccLn: cVsQ3G]=m0kPA08+sq{3!Lq_J\KQǰdE@e< M4MҥtFY!A@bT>FQLbQH&"uY/k'Gdǔ5`ʂ0SLw f>T:g|ck$:(h!&BGrYN"#ŵ u9rQN)H;*-*"F?,`hxJHDB78L(qEJLgBr5([Ś1kȲGGo6gTL($fV>z#P^Bd݅Jj :8`ݲQLê?8s=X3Hp1<5\#\3N&5 .u D:٠Lᤲl&NRXj9R4TC7"(.QȌRd)7#Gl`<Hz8 Y#"}E"5jwodgC%EgtzaLDt,p5zi!{}E~X0bQ/c &W[Ki44T$Ed4#bɱ2^?f3MAE~ ]q<1.W2n\'NBkr.!ǧXiw +xvBtO05%-Q:@H]iYb 6(nVث^M6/U퓑7#f݆I^J@[MP`b-NMcjhʁ ^}# "6@?21KCM˭?Z}KMD&1SVE{7JU>CnD1'VS^$&´KEd{>hx412,Qtd30HoQ.5iv{ 1!6I~LP)sam2J| Re]1lHzrUDBT8WyB7B%WlSɖwMH9$N3 nge3SW%/\yƂElprV -,p^(tT Bӣ &@58tXk'nRѐ~'{b40z wDrmeha \UlCq6г'1͹t %6SѮa?հf[@26]"o9pK<;]I|T+MىC'Uv9$DdJ1ŧZZd2Blg)w'vfp~ݨ_4fpIt ^x@.*ъo6߽y0u9,][[|Z4x$Qi҄GssV_c.RN)T>X=@,'PNQQTtH#D =W@y7[Y|9 .XH ;4x;Ϟnlawhϣ4~P`P⪒PƓM;jh46gBIbq=1sǏamo=& c{Njc@ {4۷ ɽw߾uLHe瘆֦11P]7ؗfsL =_L`XFЎHM=~ЩrPT,>>%wQԎ<hx١uޗE5V\3eȄm" \FY҅OBW}-f9Cpǒ熛f߻b&o;tRn??]cH'2A2Ƶ_eB` *DbA{XrI{w0p;^a.,f͑51"C 8(w%)ZWV—VLu)cu:} ^p`Du喙?O>_ڢQgڷ|&߁~4(IGX4F pݝl{GńtB2(P]ఊihz^YWt|#%dމ= b heь]z䀚dw'r`uoI̲ {)us_V5htK c+m[ԓJW~w>N?Yga͵dBK|hvAK;<CŢcP?3W9Uʋtܬ=Fr,mΰY6 $u2eG!G F}OzȀA[iɆ`g0nip6쉒 ;$W׷&as4&Rn7nlRL)Oung6Ɖ' FXc)-^ЧCxVS6vWŋ~wHu_Md`CoOJ罧ox n4K³n{ ZKőlyiyͧc& I4*ņ|2p(AL$z>X(['d [j7֯u#X#G2Qm8m+*Df6E+#T)'_ 9,Xhrq.j*3S*&oWHE 3-c}ݍ}(`0?/7u^[ Fag|imQd'&i{1즚Ksb{Cr}Y%dDh.oX^MX~wkP[DQYH()o Ne_rFL$ CTd\Xl[\FۥļnU͵4_K\s!a4)Q"daœ|a  ,Y}dKUWW&SNw3"AIo eJ؛[ιY{?w:,0DAjgd*cGstP>mJj_r[BaCTP,a顛EvUؕή9M>e%Y"VTl7su7FޗߋoPb!My?:"AwQ)>DkiP"aAynZMl 8a:/5ĜX+ó{۷YRpc,xkћھW/ 5DB/3Z;BqjԿ++,!u hEPrw¾_KXMR|u>$({}9>u ,eu,kU0B B D~/q}wO~<8zo|m>XYyk{/ztc}hu(N^ ws>DCEoJ Mw,Äx4n="6sul]{8O[U! "fs>3 6Zߚ[;6q[" -%v)*D\(RH 7]4t,N*WW~#bw^zz{2;C̕Sߐ2Q`4es{k낽\L/`薫D\%7H1Nuhd-Zs_ClvfjeOWzs(WreAؼcR^aV'.խm K7_ R1aM:@݋lfkӴW9%;'dqad?fБoY5Jfj'y-v1eF6+ +VB<+4uxZJSUV+Ît-vFM27X/Z^,o9O Kq4Vbpf``Si3F_Y_bXك骸k^e/TqvÃB?&fuЈ ټmNz|Wyt5җ1폣YUY͉O|B2lp/\ 3ӒoM\ ˪M.2HT6َKMDzM2a%`ҢI9HkK["Q TIX=C%cEԥ aX3.PPUV0}URja;' iu˔j-ٛr+Oe+%}U tuIv,4#ꇔQs*uy_^k]Q5 N=Ci!9nj،WP!65)4[2yHqV6΋F($ DJ˪)/{9 #qR?U2CZPaIm$zPnsd j.i0z?'Ź,Y;kr4|sH[SؑĖP_L22ekB@v1Zs[͡\|c-JE'E`&LGJgt|rEk殜u3EP W+ 0 64<6C{ =aK,,nў$D?8j_}k8׫Ab:8fk1Uф풆mB ?W.Bn!zS#a}%nKuFB!(SU7y}X' @C,9=%aTDe(PmV!ukz+UG:UǛPRzuǙ!c;3RvP=777kgmkQ@_D<n =WmФvNŦ"vM)lGHUn<$T\_)o w ᥕJ=bD]WY ڴSU"HV9oP s ۵i㖠txSiZu @Hw NB(^ {"۝YM^vKmNh6鼢M)򚁚XAa3,e7iy0H>#% ӭl/-bN]}Cr%@ ~ "uy ߖK7z物h&LwТG{|pO<V̠EʥgX!C'0L.H =BK|1 eݦāqpp,Ԁmd@<.&XnukJ8%=8Mֱt 8}dq0opWm7k.=, Af;78~*-'#|@=}6n-9usi?7ngW4`ӌ8?lqc?ih~j|w61bL0dE3Etw}IP +GBa`ٺfpbg֩ʬq@|6^MXe,+[ҰMWZ|fgaz;c>,쿛왈z9Y]m䘰)Ne jVLébB,}?ߨ>ﳐyCҵO0K]0CEHJ+_pIg!0LnʂV^6ɦe=]/t8/LԠNIKIXb+s(B!av)de֦/IIӦU/1ug:uJc#f뛯vz2i0Z4Yb5{ѿFI*N3=QcJ J&¯Dvΐ!\ -$F4y^-[L{29Ӄ~ڜewղ[I(e|K1HqıZad+2<_ĠiBķUIrkפlʔ8 yYRڬv8Dȃk~,uKb'>PnSJMJ*[sd'RG3c%z~}~En ~wzgIҋ5q*=MWO;YX⯖*:֍u{Tpn\k"q`H"dυ+hIuN?JyE]ܗ#"p,== xF-mC||>4/`x} /qD"h2;8;v02Ó2gNZ^6F?H2L~#-_\ df2 e0~Eo@% !h8k#OWؐPWx??Bm-$}֐y/Pdvp|9(+oJ7:;2s6>A0|ȑYUe#,p#x  ~'b&> s.ga}&f6a.WSs 9,%:{!2d^608zgJE?]aH֗d؃s{{_}ob fN.G,}3ۣЋ۩||57f|%mxE /wpttgW/hęl|#d÷^ٵSY7yqɣ Z0:RT$#jTQ^R?Cf`ӌ@D95Q&mg*;wQ=¾7 p&'}#=NTBW;;I)h +%ZrjM[R/+Qla녿Q!ƔEX~ŢZ9b Yޘ&3MTܣEsܥ»' 0]kЁՍv%A1kMO1DL\]^Hl:&-9'c5\(?Eg+VX^otn5(I M/ rDZʄPLFΎK c$ɩ=^S7 d3Qޣh4WA%S[V۝|z6sw+|۴|f|q&h~M0nV￱pQ+Ax 9om*4:n<ȑfnpcMq kc_/t]U@H۟Ѝq9OLʘI?)¢&Ч(k!Xhbhw,PWQ|vE1پ^aeuhpzkc(OXR}-Rq㣜%-<$)g_kjjS]ooq(&vAC`Υ%|1Kh5//S0Ӥh|@Y$.Ne/P9aI`=u4w}2#R7X,hԺ7?ꭜIl:E]6Dh/3wϣ8R_U#:2ݻĩĔ`HƒgzEXs^<"k9V?}?__'kn^/UP4, -#w7k-1a^v]Gv0+)6^z p\ RW ^jpN rt(Vf7z=by_ 4{'BMn-5tDK֤h0[I,>=O<=O<=O<=O<=[kmailfilter-0.8.2/contrib/xmailer.sh0000644000175000017500000000111610554745030014231 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Needs getmailer.pl # Calculates the amount how often a mailclient # was used. # E.g. # 28 The Bat! (v1.33) # 29 Internet Mail Service # 29 The Bat! (v1.53d) # 33 Wmx-0.3 # 36 Microsoft Outlook CWS, # Is not perfect, because the naming of the mailclients, # particularly for the different OE versions is not unique # But it gives an overview. ##### zgrep -i X-Mailer log/mailfilter.log* | getmailer.pl | awk '{print $3 " " $4 " " $5}' | sort | uniq -c | sort -n mailfilter-0.8.2/contrib/FILES0000644000175000017500000000770110554745030013027 00000000000000File: mbox.sh Author = Anton Filippov Purpose: Mails headers of undeleted mails Desc: This script mails headers of undeleted mails to preview mails and define new unwanted threads. Simple view of List-ID, size and subject of each mail. File: checkfilter.sh Author: Kay Schulz Purpose: Addon Desc: Checks for deleted mails and send the filter applied Good for crontab to see if mails you should get were deleted File: chrcformat_05-07 Author: Til Schubbe Purpose: Configuration helper Desc: Change the format of the mailfilterrc from version 0.5 to 0.7 File: deleted.sh Author: Kay Schulz Purpose: Addon Needs: runit.sh Desc: Calculates the amount of deleted mails by mailfilter File: examined.sh uthor: Kay Schulz Purpose: Addon Desc: Calculates the amount of emails examined by mailfilter This only makes sense if you examine mails only once. If you do not download and then delete the emails on the server, this script will give you the wrong number. File: getmailer.pl Author: Kay Schulz Purpose: Addon Needs: SHOW_HEADERS set to yes in mailfilter configuration Desc: Get's the mail client from the logfile by searching for /X-Mailer in the mailheader File: getstats.pl Author: Kay Schulz Purpose: Addon Needs: SHOW_HEADERS set to yes in mailfilter configuration Desc: Searches for the String Applied in the logfiles. File: prozente.pl Author: Kay Schulz Purpose: Addon Needs: runit.sh, deleted.sh, examined.sh Desc: Calculates the percentage of the filters' success File: mfdelete.stat Author: Tim Moore Purpose: Addon Desc: Determine which delete rules are used most Script reads mailfilter log and sorts by delete rule matches using common unix utilities. File: rmcrlf Author: Til Schubbe Purpose: Addon, Configuration helper Desc: remove carriagereturn- and linefeed-characters from a file containing mail-headers (like mailfilter.log) if a long headerline was split into multiple shorter headerlines ("folding whitespaces") - see skript for details File: runit.sh Author: Kay Schulz Purpose: Addon Needs: getstats.pl Desc: Checks the filters and how often they were active! Then sorts the ouput in ascending order. E.g. 32 Applied filter: '^Received:.*\.tw[[:space:]]'] 35 Applied filter: '^Received:.*\.br'] 81 Applied filter: 'Content-Type:.*text/html.*'] File: selectheader Author: Til Schubbe Purpose: Addon Desc: Whith this skript you can select mails from your mailfilter.log which match a certain regex. This can be useful 1. to check if the header you already received would match a (newly created) filter, 2. to create a reliable statistic. File: sort_de_do.sh Author: Kay Schulz Purpose: Addon Desc: Sorts a file which only contains filters for domains, such as DENY=^(From|To|Cc):.*@.*handmark\.net DENY=^(From|To|Cc):.*@.*homebets\.com DENY=^(From|To|Cc):.*@.*homestar\.us by the top level domain, then the first level domain etc. File: spam.tar.gz Author: Franck Pommereau Purpose: Addon, Configuration helper. Desc: Spam is a Perl script which should help in removing unsolicited mails (spams). It parses mails and produces rules suitable to Mailfilter, which makes it possible to remove them from your POP server. Spam will not do everything for you but it will help to quickly update your Mailfilter configuration. File: xmailer.sh Author: Kay Schulz Purpose: Addon Needs: getmailer.pl Desc: Calculates the amount how often a mailclient was used. E.g. 28 The Bat! (v1.33) 29 Internet Mail Service 29 The Bat! (v1.53d) 33 Wmx-0.3 36 Microsoft Outlook CWS, Is not perfect, because the naming of the mailclients, particularly for the different OE versions is not unique But it gives an overview. mailfilter-0.8.2/contrib/getmailer.pl0000644000175000017500000000056610554745030014552 00000000000000#!/usr/bin/perl -w ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Get's the mail client from the logfile # by searching for /X-Mailer in the mailheader # Needs SHOW_HEADERS set to yes ##### use strict; while (<>) { if (/X-Mailer(.*)$/) { print "X-Mailer $1\n"; } } mailfilter-0.8.2/contrib/deleted.sh0000644000175000017500000000035710554745030014204 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Needs runit.sh # Calculates the amount of deleted mails by mailfilter ##### runit.sh | awk '{x=x+$1}; END{print x}' mailfilter-0.8.2/contrib/prozente.pl0000644000175000017500000000116010554745030014436 00000000000000#!/usr/bin/perl -w ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Calculates the percentage of the filters' success # Needs runit.sh, deleted.sh and examined.sh ##### $deleted = `deleted.sh`; $examined = `examined.sh`; printf ("%2.2f%% (%d) of all mails (%d) deleted\n", $deleted*100/$examined, $deleted, $examined); print "The top mailfilters are:\n"; @teste = `runit.sh`; foreach(@teste) { $zahl = substr ($_, 0, 4); $rest = substr ($_, 22); if ($zahl > 9) { $prozent = $zahl * 100 / $deleted; printf ("% 6.2f%% for %s", $prozent, $rest); } } mailfilter-0.8.2/contrib/examined.sh0000644000175000017500000000064610554745030014371 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Calculates the amount of emails examined by mailfilter # This only makes sense if you examine mails only once. # If you do not download and then delete the emails on the # server, this script will give you the wrong number. ##### zgrep Examining log/mailfilter.log* | awk '{x=x+$3}; END {print x}' mailfilter-0.8.2/contrib/Makefile.am0000644000175000017500000000027110554745030014271 00000000000000EXTRA_DIST = checkfilter.sh deleted.sh FILES getstats.pl prozente.pl runit.sh spam.tar.gz examined.sh getmailer.pl mfdelete.stat README sort_de_do.sh xmailer.sh chrcformat_05-07 rmcrlf mailfilter-0.8.2/contrib/chrcformat_05-070000755000175000017500000000167710554745030015056 00000000000000#!/usr/bin/perl # # chrcformat_05-07: # Change the format of the mailfilterrc from version 0.5 to 0.7 # # Usage: # $ mv ~/.mailfilterrc ~/.mailfilterrc.05 # $ chmod u+x chrcformat_05-07 # $ cat ~/.mailfilterrc.05 | chrcformat_05-07 > ~/.mailfilterrc # # This is a perl-skript. Depending on your system you may have # to adjust the first line. # # --------------------- # Licensed under GPL v2 # --------------------- # # 13.11.2003 # Til Schubbe # $mf_number_keywords = ' VERBOSE PORT MAXSIZE_DENY MAXSIZE_ALLOW ' . 'MAXLENGTH TIMEOUT HIGHSCORE '; while (<>) { $l++; chomp; if (/^(#|\s*$)/) { # skip comment or empty line print "$_\n"; } elsif (/^(([A-Z_]+)(\s+[+-]?[0-9]+)?\s*(=|<>)\s*)(.*)/) { $keyword = $2; if ($mf_number_keywords =~ m/ $keyword /) { print "$_\n"; # let numbers unquoted } else { print "$1\"$5\"\n"; # quote the regex } } else { die "error in line $l: '$_'\n"; } } mailfilter-0.8.2/contrib/checkfilter.sh0000644000175000017500000000047510554745030015062 00000000000000#!/bin/sh ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Checks for deleted mails and send the filter applied # Good for crontab to see if mails you should # get were deleted ##### grep Deleted /home/kay/log/mailfilter.log | mail -s "Mailfilter" kay mailfilter-0.8.2/contrib/mfdelete.stat0000644000175000017500000000044010554745030014715 00000000000000#!/bin/sh # mailfilter.delete.stat # timothymoore@nsr500.net # input: mailfilter.log from stdin # Licensed under the same terms as mailfilter, GPL v2 or later. grep '^mailfilter: Deleted ' - |\ awk '{print substr($0,index($0,"[Applied filter:"))}' |\ sort +2 |\ uniq -c |\ sort -nr +0 -1 mailfilter-0.8.2/contrib/getstats.pl0000644000175000017500000000051710554745030014433 00000000000000#!/usr/bin/perl -w ##### # (C) Kay Schulz # Licensed under the same terms as Mailfilter, GPL v2 or later. # Use at your own risk! # Searches for the String Applied in the logfiles. # Needs SHOW_HEADERS set to yes ##### use strict; while (<>) { if (/Applied(.*)$/) { print "Applied $1\n"; } } mailfilter-0.8.2/contrib/README0000644000175000017500000000142210554745030013114 00000000000000Mailfilter Contrib This ia a collection of bits and pieces people sent to extend mailfilter. We try our best to not include malicious stuff in here, but all files in this directory are not part of mailfilter. You should not complain to us if they crash your system or burn all your important data, you USE IT OWN YOUR OWN RISK. All files in this directory should be licensed under the same terms mailfilter is, GPL v2 or later. How to contribute a file: Include a line like # Licensed under the same terms as Mailfilter, GPL v2 or later. in your file, fill out the following form and send all that to Joerg Jaspert File: Author: Purpose: Desc: mailfilter-0.8.2/NEWS0000644000175000017500000003246111241450715011277 00000000000000Mailfilter NEWS (Summary) -=-=-=-=-=-=-=-=-=-=-=-=- mailfilter 0.8.2 (Sat Aug 15 16:12:22 EST 2009) - Provide fix for APOP vulnerability (e.g., described in ticket #2846 on mutt mailing list) - Fix build problems such that mailfilter compiles with recent gcc and autotools (mainly for developers) mailfilter 0.8.1 (Sat Sep 15 17:14:49 EST 2007) [stable version] - Detection of getopt should now work when compiling the program from source (Thanks to Mike Clarke for helping me debug this) - Fixed logging error; no log files were created occasionally - Mailfilter now returns -1 if one or more accounts failed to be checked; 0 is only returned if the *entire* mailfilter session was successful (Thanks to Mike Clarke for pointing this out) mailfilter 0.8 (Mon Jan 1 16:09:52 CET 2007) [stable version] - Code overhaul to introduce a more object oriented design - Temporarily disabled gettext and the outdated translations - (Hopefully) fixed bugs #238273 and #238273 in Debian bug database mailfilter 0.7.2 (Sun Oct 1 10:17:41 CEST 2006) [development version] - Fixed a number of small build and dependency problems - Makefile clean-up: should now compile with old GNU flex 2.5.4 again (?) - New user contributed scripts in contrib/ mailfilter 0.7.1 (Sat Nov 27 14:24:08 CET 2004) [development version] - RUDIMENTARY IMAP support (not usable yet) - Preliminary support for SSL has been added (if OpenSSL is installed, it can be enabled by specifying protocol "pop3/ssl", or "apop/ssl" and by using port 995 in case of POP, instead of 110) - APOP support has been ported over to the 0.7.x development branch - MAXLENGTH keyword default is no longer ignored, or misinterpreted mailfilter 0.7 (Sat Feb 14 17:59:26 CET 2004) [development version] - Revised and faster networking code - New rcfile parsing and setup capabilities Note, the rcfile format has changed! Parameter strings have to be in quotes now, e.g. SERVER = "my.server" This also hits all your created rules. It is not necessary if your parameter is a number e.g. the port number. - New keyword MAXSCORE_SCORE (see man pages) - Keyword SHOW_HEADERS expects a path name now, indicating where to store the headers - Verbosity levels have been adjusted slightly mailfilter 0.6.2 (Sun Aug 8 14:17:18 CEST 2004) [stable version] - Fixed a crash which would occur if the Date field contains no ":" separator mailfilter 0.6.1 (Sat Feb 14 17:59:26 CET 2004) [stable version] - New keyword MAXSIZE_SCORE (see man pages) - New scripts in contrib/ - Mails which do not contain a valid Message-ID are no longer treated as being duplicates - Additional Polish rcfile example configurations in the doc/ directory mailfilter 0.6 (Sun Oct 26 17:20:59 CET 2003) [stable version] - Polish translation added mailfilter 0.5.2 (Sat Oct 11 12:00:05 CEST 2003) [development version] - (Buggy) Windows support has been removed - (Hopefully) resolved compile problems: since mailfilter does not compile with GNU-flex anymore, the code has been adjusted to depend on a flex version which is available from http://lex.sf.net/ - New user-contributions and scripts in contrib/ - Minor documentation changes in the FAQ mailfilter 0.5.1 (Sat Apr 12 08:46:25 CEST 2003) [development version] - Added '-r'/'--return-value' in order to make mailfilter return a positive integer if it scanned any messages in any POP account (see mailfilter (1) man page for details) - Added contrib directory with extra scripts and programs which can be used in combination with mailfilter (read its README file for further details) - Added a scoring mechanism (see man pages for further details) to allow more efficient filtering on mailing lists, for example - Fixed configuraton and compilation woes with various versions of gcc, flex, bison and the autotools (mainly relevant for developers) - Added `--test' as command-line switch to merely simulate deletes mailfilter 0.5.0 (Sun Aug 25 14:52:54 EST 2002) [development version] - Updated documentation and man pages - APOP support (courtesy Greg Louis) - Greek language translation (courtesy Dimitrios Kamenopoulos) - Fixed Makefile bug that caused recompilation upon make install (courtesy Joerg Jaspert) - Updated Windows-related configuration and installation files - Windows users can now use "_mailfilterrc" instead of ".mailfilterrc" mailfilter 0.4.0 (Wed May 29 10:10:18 CEST 2002) [stable version] - Updated documentation - Updated language translations (German, Spanish) mailfilter 0.3.3 (Mon Apr 22 17:38:10 CEST 2002) [development version] - Mailfilter now supports POP3 servers that make use of several streams/ connections/whatever to send back acknowledgements during the login period - Added Russian translation, courtesy Ilgiz Kalmetev - Fixed a bug that caused mailfilter to crash under certain conditions, upon syntax errors in the rcfile - The -L and -v command line switches override any rcfile directives (again), as it should be - Syntax errors in configuration files are reported correctly now - Headers are not logged twice anymore, if SHOW_HEADERS=yes and VERBOSE=6 - Nested rcfiles possible now (use INCLUDE as keyword) - Exotic POP3 servers that do not use "TOP %n 0" to show the message headers, can now be used by defining an alternative command in the config.h file (recompilation is necessary, however) mailfilter 0.3.2 (Wed Feb 20 09:38:41 CET 2002) [development version] - Improved rcfile parsing, trailing white space characters are possible now - Improved logging and verbosity capabilities (see mailfilterrc(5) for details) - Usernames and passwords may consist exclusively of digits now - Fixed a type conversion problem in signal handling code, such that compilation works again with FreeBSD 4.4-RELEASE - Minor documentation updates (faq, man pages, etc.) - Fixed a minor incompatibility with Windows configuration files, such that bison gets invoked correctly mailfilter 0.3.1 (Sun Dec 2 11:11:52 GMT 2001) [development version] - Improved rcfile parsing and added support for multi-case keywords and the like (If you run into problems compiling the program, please look into doc/FAQ, as a couple of Linux distributors use(d) a broken version of flex!) - Spanish translation (courtesy Carlos Valdivia Yage) - Updated and corrected the program's FAQ (e. g. thanks to Brian Hall we have now an example shell script that shows how Mailfilter can be tunneled via ssh) - Bug fix: Mailfilter now displays the correct filter and subject string of a mail if a (normalised) filter matched - Bug fix: mails that contain subject strings with only a white space character, are now handled correctly - Added time out signal handler for network connection code - Added signal handler to catch SIGINT, i.e. ctrl-c mailfilter 0.3.0 (Wed Nov 7 14:17:44 GMT 2001) [development version] - Program compiles and runs (again) under MS-Windows with Cygwin and the like (see doc/README.Windows) - rcfile must be in $HOME now and is not expected to be in /home/ anymore - Upon popular demand the default setting of MAXLENGTH is '0' now, i.e. the feature is disabled by default - Restructured the verbosity levels; see mailfilterrc(5) man page for details, please - Removed internal string handling bugs that confused the Regular Expression compilation mailfilter 0.2.4 (Thu Oct 11 18:32:48 GMT 2001) [stable version] - Added option to define a time span in seconds that Mailfilter waits for a server response, after a command was issued, keyword TIMEOUT - Added option to define maximum line lengths of header fields, keyword MAXLENGTH - Changed header parsing slightly, such that program output does not contain unwanted control characters anymore - Added Russian translation of an example rcfile (courtesy of Alex A. Puchow) mailfilter 0.2.3 (Wed Aug 15 17:13:17 CEST 2001) [stable version] - Updated and extended the FAQ and man pages - Bug fix: No more endless loops in the normalisation process if subject line ends with a whole bunch of white-space characters, ie more than the usual two - Bug fix: Normalisation handles multiple spaces/blanks correctly now - Bug fix: field-names may now start in lower case letters, ie parsing should be fully RFC822 compliant - Bug fix: the closing tags for e-mail headers are not parsed and processed anymore - Translations are now part of the RPM packages - Message size of deleted messages (MAXSIZE) appears in logs mailfilter 0.2.2 (Wed Jul 18 11:51:59 CEST 2001) [stable version] - Changed source code, so Mailfilter compiles with the new GCC 3.0.x (mainly a matter of missing namespace declarations) - Line numbers of the rcfile show up in case of a configuration error (courtesy Johannes Bauer) mailfilter 0.2.1 (Mon Jul 9 18:56:21 CEST 2001) [stable version] - Fixed a bug that caused normalisation to fail when message tags consisted of only capital letters - The different verbose levels are more consistent and useful now - Portuguese translations (courtesy Frederic Meunier) - New example rcfiles to make installation easier mailfilter 0.2.0 (Thu May 31 18:16:41 CEST 2001) [stable version] - Updated man pages - Added new keyword to delete duplicates of messages: DEL_DUPLICATES - New Italian translations (courtesy Matteo Merli) - Passwords don't show up in log files anymore if verbosity level is set sufficiently high mailfilter 0.1.3 (Sun May 6 10:59:36 CEST 2001) [development version] - Multi-line header fields like "To:", "Cc:", etc. are now handled correctly (especially in regard of the negative spam filters). That is, new lines are transformed into white-spaces. - Minor documentation updates mailfilter 0.1.2 (Wed Apr 25 17:24:11 CEST 2001) [development version] - Added internationalisation (so far for 'de', 'fr') - Added 'negative' DENY filters, e.g. DENY<>^To:.*my@address.com mailfilter 0.1.1 (Sat Jan 27 09:26:47 GMT+1 2001) [stable version] - New man pages: mailfilter(1), mailfilterrc(5), mailfilterex(5) - A 'normalised' subject string is now only checked if the message has passed all ordinary filters first (That's much more efficient.) - Replaced keyword ICASE with REG_CASE - less confusing that way (A list of deprecated keywords can be found in the mailfilterrc(5) man page.) - New keywords: TEST, SHOW_HEADER. See mailfilterrc(5) and mailfilterex(5) for details. - Small bug fixes that do not directly affect functionality mailfilter 0.1.0 (Sat Jan 20 10:01:44 GMT+1 2001) - Added support for extended Regular Expressions - Added 'normalisation' of subject strings for more effective filtering - Improved memory management: e-mails are being filtered on the fly now - All Regular Expressions of Mailfilter are only compiled once now, on program startup; much faster! - New keywords for more efficient filtering: DENY_CASE, DENY_NOCASE, ALLOW, MAXSIZE_DENY, MAXSIZE_ALLOW (Consult the README.mailfilterrc file for further information!) - Added multi-level verbose mode (and replaced keyword MODE with VERBOSE) - Added check for malformed keywords in .mailfilterrc - Changes to the documentation; added platform specific installation instructions (Windows and Slackware Linux) - Moved some of the READMEs and the FAQ to the doc/ directory - Small bug fixes that do not directly affect the functionality mailfilter 0.0.4 (Tue Dec 19 17:11:33 GMT+1 2000) A small but nasty bug made Mailfilter crash on certain versions of glibc. That's fixed now and also the reason why 0.0.4 was out so quickly after 0.0.3 has been shipped. Mailfilter now allows ',' in the passwords and reports if the password that was sent to the server was incorrect. mailfilter 0.0.3 (Thu Dec 14 16:31:46 GMT+1 2000): It doesn't hurt anymore having e-mails that match two or more filters at once. Added support for anal mail servers such as IMail. Various little bug fixes, mainly dealing with internal memory management, but also exception and error handling. Added a manual page. Added the ability to have case insensitive regular expression matching in the .mailfilterrc file (courtesy Ivan Vitjuk) Added api documentation in various formats mailfilter 0.0.2 (Fri Nov 24 22:38:11 GMT+1 2000): Mailfilter doesn't break anymore when the bandwidth gets low. Nonblocking I/O seems to work as well and provides a better performance when checking for e-mail headers on the server. Various other little bug fixes have found its way in this release: The --mailfilterrc switch works now, MAXSIZE can be set to zero and the parsing of the e-mail headers got fixed. This version also offers better support for other platforms due to automake and provides a better help and version info (thanks to Matthew R. MacIntyre for implementing this). Also changed from a shallow to a deep package structure. mailfilter 0.0.1 (Fri Nov 17 16:10:51 GMT+1 2000): Mailfilter's initial version has been released. See TODO for more information on this (yet) experimental release. mailfilter-0.8.2/THANKS0000644000175000017500000000442310554745030011513 00000000000000Mailfilter THANKS -=-=-=-=-=-=-=-=- The authors offer many thanks to all who have helped out in any way, shape, or form to the development of this project. Many of these contributors have helped out in ways they may not have been aware of, including answering newsgroup questions, writing web content that has been of useful, testing, suggestions on IRC, those who have provided feedback, and numerous other cases. No contribution is any less important than another! If you or someone you know has helped out with this project and doesn't have their name listed here, please contact the authors immediately in order to have this mistake rectified! A warm round of applause goes to ...... Bulia Byak Robert Bar Bracara Johannes Bauer Paul Bissex Frank Blome Jose Castejon-Amenedo Jon Combe Carsten Knodel Matt Cowger Florian Dejako Akim Demaille Alan Dunford Tobias Ebner Anton Filippov Scott Grigsby Jean-Serge Gagnon Peter T. Garner Gerrit P. Haase Brian Hall Frank Haun Carsten Knodel Don Kennedy Andreas Kretschmer Yan-Fa Li Greg Louis Matthew R. MacIntyre Fabian Melzow Klaus Muth Yong Chiew Ning Pat Parrinello Ville Ptsi Darryl Plank Plank, Darryl Mike Polniak Wendy Proctor Alex A. Puchkov Xavier Roche Julio Sardella Til Schubbe Kay Schulz Mel Sojka Robert Storey R. Taylor Leopold Toetsch Gary V. Vaughan Ivan Vitjuk mailfilter-0.8.2/doc/0000777000175000017500000000000011241450773011427 500000000000000mailfilter-0.8.2/doc/supported_servers0000644000175000017500000000124310554745030015063 00000000000000Mailfilter Supported Servers -=-=-=-=-=-=-=-=-=-=-=-=-=-= AGWPE v2000.70 Cyrus POP3 Server IMail 7.04 NT-POP3 Server Netscape iPlanet 4.1 POP3 v7.64 QPOP 3.1.2 Tiscali POP3 Proxy v1.0 UWASH POP3 Server 3.3(18) ---------------------------------------------------------------------------- This list is not complete. It contains servers that have been successfully tested with Mailfilter. Other POP3 servers not listed here should work just fine, too. You can help to expand this list by sending successfully tested, yet unlisted server names to . Thank you. ---------------------------------------------------------------------------- mailfilter-0.8.2/doc/Makefile.in0000644000175000017500000002362611212607130013406 00000000000000# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Makefile.am: help build documentation files # $Id: Makefile.am,v 1.11.2.1.2.2 2004/01/25 12:56:37 baueran Exp $ # # Copyright (c) 2000 - 2004 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = Doxyfile SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = FAQ supported_servers all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic dist-hook \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am @MAINT@doxygen: Doxyfile @MAINT@ doxygen Doxyfile dist-hook: if test -d $(srcdir)/api; then \ mkdir $(distdir)/api ;\ fi if test -d $(srcdir)/api/html; then \ mkdir $(distdir)/api/html ;\ cp $(srcdir)/api/html/* $(distdir)/api/html ;\ fi if test -d $(srcdir)/api/latex; then \ mkdir $(distdir)/api/latex ;\ cp $(srcdir)/api/latex/* $(distdir)/api/latex ;\ fi if test -d $(srcdir)/api/man; then \ mkdir $(distdir)/api/man ;\ cp -r $(srcdir)/api/man/* $(distdir)/api/man ;\ fi if test -d $(srcdir)/api/rtf; then \ mkdir $(distdir)/api/rtf ;\ cp $(srcdir)/api/rtf/* $(distdir)/api/rtf ;\ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mailfilter-0.8.2/doc/FAQ0000644000175000017500000010761210554745030011703 00000000000000Mailfilter Frequently Asked Questions and Answers General Questions: * What is Mailfilter? * Who needs Mailfilter? * How does Mailfilter interact with my current e-mail environment? * Where do I find out more about Mailfilter? * I think, I found a bug in Mailfilter. Will you fix it? * I have good ideas for new features. Will you implement them? * Mailfilter is wonderful. How can I support this project? Installation: * What are the system's requirements to install and run Mailfilter? * What should I know to make Mailfilter run on Windows 9x/2000/NT/XP? * How do I install Mailfilter? * Running 'configure' doesn't work. * Running 'make' doesn't work. * Running 'make' was easy, but running 'make install' doesn't work. * Why doesn't the compiler like my flex output, or complains about wrong declarations? * Is there any way to decrease the size of the mailfilter binary? Configuration: * Mailfilter complains that its rcfile ($HOME/.mailfilterrc) is missing. * Mailfilter complains that its logfile can't be accessed. * Mailfilter complains about the syntax of my rcfile. * How do these filters work? What are Regular Expressions anyway? * Is it possible to define what should be delivered, rather than vice versa? * Can I override some filters? (How to define 'friends'/trusted lists) * Is it possible to split the rcfile into several smaller files? * How do I get rid of messages sent in exotic (e.g. Asian) languages (unknown to me)? * How do I fine tune other programs to work with Mailfilter? * I'm using multidrop mail collection with fetchmail and can't get Mailfilter to work. * Are there any sample rcfiles ($HOME/.mailfilterrc) ? * I am scared to try out Mailfilter, cause I might accidently delete everything! Run-time Errors: * Because of some missing libraries, Mailfilter won't start. * Mailfilter complains that a specific file couldn't be accessed. * I get DNS lookup errors. * Mailfilter says it sent a specific command to the server, but it responded with an error. * Mailfilter says that some keyword is deprecated. * The compilation of Regular Expressions failed. * I frequently get an error message saying that my mail server is not responding. * Help, Mailfilter hangs! Special Features: * Can Mailfilter check more than one account? * Does Mailfilter support any other protocols besides POP3? * Is there a way to send encrypted password information to the server? * Mailfilter logs are so plain; I'd like to have better spam-statistics! * How can I get Mailfilter to auto-reply to spam? Miscellaneous: * I think I accidently deleted an important e-mail with Mailfilter. Can I get it back somehow? * If I make changes to rcfile, does it affect immediately? * Sometimes a few (spam-) messages slip through. How come? * What's this cron business? * My question is not covered by this FAQ. Help!! _________________________________________________________________ General Questions: What is Mailfilter? Mailfilter is a flexible utility for UNIX (-like) operating systems to get rid of unwanted spam mails, before having to go through the trouble of downloading them into the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc. Mailfilter connects to any POP mail box and compares part of its content to a set of user defined filter rules. That way the spam gets deleted directly on the mail server. With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as e.g. procmail. Mailfilter is released under the terms of the GNU General Public License. For more information, see the README and COPYING documents provided with the Mailfilter program. Who needs Mailfilter? If you do not pick up your e-mail from a POP server, then there is no need to install Mailfilter. But if you do get your e-mail from one or many POP accounts and if you are sick and tired of downloading megabytes of worthless spam (usually those are anonymous advertisements, chain mails, etc.), then you should give Mailfilter a try. It will help save you band width and time by deleting spam directly on your server, before you have to download and read those messages. By defining your own personal filter rules, you can tell Mailfilter which e-mails should be deleted. How does Mailfilter interact with my current e-mail environment? It doesn't matter which programs you use to fetch your mail with, because Mailfilter is an independent application. It will not interfere with your favourite e-mail client. You may just want to start Mailfilter every time you are about to download new e-mail from a POP server, or maybe just once a day. That's entirely up to you. However, if you are using highly configurable mail programs such as fetchmail, then there are some clever ways to get Mailfilter cooperate with them directly. Section "How do I fine tune other programs to work with Mailfilter?" describes this in more detail. Where do I find out more about Mailfilter? All relevant documentation for Mailfilter (including this FAQ) is provided with the Mailfilter distribution. Online versions of some of these documents are available on the official Mailfilter homepage: http://mailfilter.sourceforge.net/ On this homepage you may also find additional information on Regular Expressions and related links to other programs that work well with Mailfilter. If you have already installed the program, be sure to read the man pages mailfilter(1), mailfilterrc(5) and mailfilterex(5). I think, I found a bug in Mailfilter. Will you fix it? If it's really a bug that you found (and not a feature), then I will of course try to do something about it. Generally it's a good idea to report bugs to the mailing list mailfilter-dev@lists.sourceforge.net, but you can also directly contact the author of Mailfilter. When you report bugs, please provide as much additional information as possible on what may have caused the problems and what consequences you suffered. Such information always includes the name of your operating system and hardware platform, description of your network connection and excerpts from the Mailfilter log files. When creating a log file, please use the highest level of verbosity available. mailfilter --verbose=6 Older versions of Mailfilter do not hide your passwords in the logs. Remove these entries before posting anything to the mailing list! I have good ideas for new features. Will you implement them? Of course that depends on the feature you are asking for. There are some frequently requested features ('autoreply' ranks very high) that will most likely never make it into the source code, but at this point I am sure Mailfilter could be expanded with dozens of useful additions and I'm glad to hear about them (if they are not too far 'off the track'). I'm even more glad if you're able to help implement them. Mailfilter is wonderful. How can I support this project? There are many ways to express your appreciation: you could join forces and submit code, but even if you are not a programmer, you could still contribute by sending bug reports, suggestions or useful add-on scripts to our mailing list(s). Every contribution is welcome! Albeit, there is also a web page to donate money to the project. The money would help immensely in keeping the web pages up to date (i.e. cover ISP costs), in answering user feedback and questions via e-mail or mailing lists and in affording additional hardware for testing purposes (i.e. extra hard disks with alternative operating systems). Mailfilter is free software, which means it also depends on the support it gets from the community. _________________________________________________________________ Installation: What are the system's requirements to install and run Mailfilter? Here is an excerpt from the INSTALL file that is part of the source archive of Mailfilter: "To run Mailfilter it's best to have a UNIX (-like) operating system, but it also compiles fine with Windows 9x/NT/2000 if additional libraries and tools are installed (e.g. Cygwin or DJGPP). So far Mailfilter has been successfully compiled and tested with * Solaris 8 / SunOS 5.8 * Irix 6.5 * FreeBSD 4.1.1-RELEASE, 4.5-RELEASE * Mac OS X 10.0 * NetBSD 1.5 * Linux: Mandrake 7.0 - 8.2, Debian 2.1 - 3.0, RedHat 6.2 - 7.1, Slackware 3.9 (See doc/README.Slackware for further details), SuSE 6.2, LinuxPPC * Windows NT, 2000, XP (using Cygwin) but it may well work on other platforms, too. (Please report success if you have managed to compile it on any other system - thanks.) To compile/install Mailfilter you also need to have a fairly recent version of a (GNU) C++ compiler (e. g. GCC >= 2.95.2) and your system must support BSD-type sockets (in general all UNIX systems do meet this criterion). For compilation you will also need some of the GNU autotools (gettext, m4) and the programs flex (http://lex.sf.net/) and yacc (or the GNU substitute bison (http://www.gnu.org/software/bison/)). Attention: GNU flex is unlikely to work with recent compiler releases. So, if you experience compile problems, please use flex from http://lex.sf.net/. GNU flex is broken! What should I know to make Mailfilter run on Windows 9x/2000/NT/XP? Mailfilter was originally designed to only support UNIX (-like) operating systems. But if you have additional libraries such as the Cygwin environment, DJGPP or MinGW installed, then you should also be able to translate the program on your Windows 9x/2000/NT/XP platform. How do I install Mailfilter? If you have downloaded the compressed Mailfilter source code archive, then please refer to the INSTALL file provided by that archive. Binary packages (if available for a particular program version) should be installed as any other package of that kind. For example you could use the command 'rpm -U packagename.rpm' for the RedHat packages. Note: even if you did not encounter any problems installing the program, I strongly recommend reading the INSTALL file anyway in order to find out about the set-up of Mailfilter. The program does not work without spending a little bit of time on configuration first. Running 'configure' doesn't work. If your system lacks some of the requested features/libraries/compilers, then try installing them and run 'configure' again. But don't forget to remove the file config.cache first, or the new components can not be found. If it's a more serious problem that can't be fixed that way, consider reporting it as bug. Running 'make' doesn't work. On Linux systems the command 'make' typically refers to GNU's gmake. Various BSD- and Unix-systems ship with different (non-GNU) versions of make though. In that case you need to be sure that the right version of make is invoked by typing 'gmake', instead of just 'make' (and later 'gmake install' instead of 'make install'). Another common reason why 'make' might fail could be related to your system's C++ compiler and its libraries. It's easiest to use GNU CC (gcc), even though other C++ and C compilers should work as well. But keep in mind that GNU CC releases prior 2.95.x don't know C++ namespaces and therefore choke on Mailfilter's source code. So, be up to date. A not so obvious reason why compilation abords could be related to broken versions of the program flex. Please read section 2.7 of this document for further information on this issue. Running 'make' was easy, but running 'make install' doesn't work. The most common cause for this behaviour is that you are trying to install Mailfilter into a directory where you do not have the necessary permissions to write in. Either reconfigure your Makefile with these options make clean ./configure --prefix=/newdir where 'newdir' points to the new location for Mailfilter, or simply become 'root' and then run 'make install' again. By default this will install the software in /usr/local/bin. Why doesn't the compiler like my flex output, or complains about wrong declarations? Because most likely you are using a broken version of GNU flex. Basically, you have two choices to resolve the problem: a) you can stick with GNU flex and try using an outdated release of GCC, or b) you try replacing the (broken) GNU flex with a more compatible version available from http://lex.sf.net/. Is there any way to decrease the size of the Mailfilter binary? For users of UNIX-like systems, yes. When installing the program, running 'make install-strip' instead of 'make install' will strip the binary as it installs it, drastically decreasing its size. If you've already installed mailfilter, but still wish to strip the binary, become root, and use the strip command. See the manual page of strip(1) for more information. _________________________________________________________________ Configuration: Mailfilter complains that its rcfile ($HOME/.mailfilterrc) is missing. Read the INSTALL file provided with Mailfilter, in which you will find an example rcfile set-up. Copy and paste this example, modify it to suit your own needs and restart Mailfilter. (Alternatively you can also look up the official homepage to find a basic set-up that gets you started very conveniently.) If the program still complains, then try to start it with the '--mailfilterrc' switch, pointing directly to the new location of your rcfile. Note: you must have a rcfile file installed somewhere. Mailfilter complains that its logfile can't be accessed. Every rcfile must set the LOGFILE option. Check the given path of your logfile in the rcfile, or simply start Mailfilter with the '--logfile' switch pointing directly to the desired location. If that doesn't help, then check the permissions of the directory where you want Mailfilter to store its logs in. It has to be writable. Mailfilter complains about the syntax of my rcfile. Not to worry, you probably misspelled a word or two in the rcfile, or you have a couple of blanks hidden at the end of your command's parameters. Read through your settings carefully and check for redundant white space characters. Typically an entry in $HOME/.mailfilterrc looks like this COMMAND_NAME = MyParameter The command (not necessarily written in capitals) is followed by the '=' and there are no white space symbols (blanks, tabs, etc.) hidden after the parameter. Each command has to be in a separate line of the config file. How do these filters work? What are Regular Expressions anyway? With Mailfilter you can define your own filter rules to determine which e-mails are considered waste and what should be downloaded into your local computer. Such rules are defined by using Regular Expressions. It is very common for these kinds of programs to employ this technique because of its great flexibility. Consider this simple example: if you are not interested to get the 200th advertisement containing information about Viagra, you might want to add this to the end of your rcfile DENY = "^Subject:.*Viagra" Now every e-mail that contains anything about Viagra in the subject line gets deleted right away. You can create similar rules for all of the other header fields (cc, To, From, etc.), but be aware of the fact that Mailfilter does not allow more than one line per rule. So each new filter must be placed in its own line starting with 'DENY'. If you don't want the filter rules to be case-sensitive then you also have to add this line to your rcfile: REG_CASE = "no" A comprehensive list of all supported keywords can be found in the mailfilterrc(5) man page. More examples and real-life use cases can be looked up in the mailfilterex(5) man page. Study these documents carefully! If you're eager to know how Regular Expressions work in general, use your favourite UNIX book or have a look at the official Mailfilter homepage. There you will find some enlightening links on this subject. Is it possible to define what should be delivered, rather than vice versa? Yes, by creating a negative filter. Negative Filters are quite restrictive, so you should make sure that you have fully understood how these are set up and how they work. DENY<>"^(To|Cc):.*my-email@address\.com" Having a simple rule like this added to your rcfile, Mailfilter will delete every message which is not directly sent to your e-mail account. That is, if there is a message that can't be matched to the above, then it automatically qualifies as spam. Can I override some filters? (How to define 'friends'/trusted lists) Yes, using the keyword ALLOW you can define which messages should be delivered, regardless of any spam filters that might match. This way you can not only define 'friends' lists, but also create a very restrictive rule set. Consider this example: DENY = "^From:.*@spam_isp.org" ALLOW = "^From:.*my_friend@spam_isp.org" Adding these two lines to your rcfile will filter all messages coming from the domain 'spam_isp.org', except for those from your friend 'my_friend' (who should obviously change his ISP). A comprehensive list of all supported keywords can be found in the mailfilterrc(5) and mailfilterex(5) man pages. Study them carefully! Is it possible to split the rcfile into several smaller files? This is a feature, officially supported since version 0.3.3 of Mailfilter. Use the keyword INCLUDE in your main rcfile to load additional program configuration. However, the nesting may only be one level deep, i.e. the files included must not include further files. Consider this example: # From within $HOME/.mailfilterrc we load three # additional config files INCLUDE = "/home/myusername/.mailfilter/servers" INCLUDE = "/home/myusername/.mailfilter/filters" INCLUDE = "/home/myusername/.mailfilter/friends" How do I get rid of messages sent in exotic (e.g. Asian) languages (unknown to me)? Spam is not only a European or American illness. In fact a lot of it comes from Asia and a lot of that reaches people who can not read nor understand what arrives in their mail boxes. The following filters will help you to get rid of e-mails that contain 'unusual' subject tags. Consider some excerpts from a typical logfile: Subject: ·ADSL/CABLE/ISDN/PSTN/SWITCH Subject: ǿƼ(www.I_am_a_Spammer.com) Subject: 70ҵϢ All these subjects have one thing in common: They use characters which do not fit into the ordinary range of displayable ASCII symbols. A hexdump of the last subject line will help to illustrate this: 0000 53 75 62 6a 65 63 74 3a 20 37 30 cd f2 c6 f3 d2 0010 b5 d0 c5 cf a2 .. .. .. .. .. .. .. .. .. .. .. Even though it is possible to create filters matching these strings, it takes a bit of work, since most Regular Expression libraries that today's operating systems provide do not support octal or hex escapes (something like [\x80-\xfc]). In fact, the negative (and case sensitive) message filters are our weapon of choice here: DENY_CASE<>"^Subject: [][A-Za-z0-9 ^ ^^ ^^^^^^^ 1 23 4 :;.,!"$%&/()=?{}_<>#~'` |@*+^\-]+$" ^^ ^^^^ 5 6278 There are some important issues in this expression, numbered from 1 - 8: 1. See 8. 2. These brackets '[]' enclose a character class. 3. We want to allow these brackets, too. The only position where to put the closing bracket into a character class is the first one. 4. For those who want to allow German subjects. (Modify this to fit your own needs for Scandinavian languages, etc.) 5. Attention: There are two different single quotes from the upper right to the lower left. 6. Inside a character class the hyphen '-' is a meta symbol to set a range of characters (take a look at the beginning). In order to get the actual literal '-', it must be positioned at the end of the class. 7. Indicates that the preceding character or character class has to be present at least once. 8. In order to force the mail's originator to only use these characters in the subject line, there must not exist any preceding or following characters. That is the preceding character has to be the start of the line, the following character has to be the end of the line. On a UNIX-like system you usually need to switch off the locale first ('handling of different country characteristics'), so the internal Regular Expression compile-process does not get confused. If you are calling a script for filtering and getting messages, you could use something similar to this: #!/bin/sh # Remove locale L=$LANG unset LANG # Get mails /usr/local/bin/fetchmail $* # Restore locale LANG=$L Alternatively it is also possible to create a straight forward filter that matches non-ISO-8859-1 messages (or at least almost). The standard ISO-8859-1 is an extension to the ASCII character set (i.e. the first 128 characters are the same, greater numbers encode symbols, accents, etc.) and supports the following languages: Afrikaans, Basque, Catalan, Danish, Dutch, English, Faeroese, Finnish, French, Galician, German, Icelandic, Irish, Italian, Norwegian, Portuguese, Spanish and Swedish. There is a draw back though: the filter we're presenting here accepts only special German characters (umlauts) as extension and is therefore not fully ISO-8859-1 compliant. However, you might consider it useful anyway. Read the filter as one single line: # A filter that only accepts ASCII characters and also # German umlauts as extension DENY_NOCASE = "^Subject:.*=\?ISO-8859-1\?Q\?.*= ([0189][[:xdigit:]]|[7F]F|A[0189A-F]| B[1235-9A-F]|[CE][0-35-9A-F]|[DF][0-5789ABDE])" Needless to say, you need to have extended Regular Expressions enabled (Mailfilter's default are basic expressions) in order to create such complex rules. (This truly frequently asked question was patiently worked out and answered by Til Schubbe.) How do I fine tune other programs to work with Mailfilter? As always, there are various ways to achieve this. I have chosen the commonly used application fetchmail to explain how this works. (Similar options are available in other mail programs, such as KMail.) Fetchmail is a nifty program that downloads e-mail from POP accounts (it also supports other protocols). Therefore it's a very tempting idea to use the clean up services of Mailfilter before we're starting to receive huge amounts of junk in between our normal e-mail messages. Adding one single line to the fetchmail set-up file does the trick: poll my.mailserver.de via "my.mailserver.de" with proto POP3 localdomains mailserver.de user "username" there with password "pass" is tuxuser here options forcecr warnings 3600 preconnect "mailfilter" poll my2.mailserver.de via "my2.mailserver.de" with proto POP3 localdomains mailserver.de user "anotherusername" there with password "other_pass" is tuxuser here options forcecr warnings 3600 The line 'preconnect "mailfilter"' tells fetchmail to invoke Mailfilter each time the user requests the download of new e-mail messages. If Mailfilter is set up to check both of the given accounts then calling it merely once is sufficient. Another very good (and popular) way of using Mailfilter is to call it via cron, or just once upon login. That way you won't see much of it either and can work with your favourite e-mail program just as you are used to - except you won't be disturbed by spam anymore. I'm using multidrop mail collection with fetchmail and can't get Mailfilter to work. Peter T. Garner contributed this one: consider an environment in which six users collect mail via fetchmail's multidrop mechanism, but want their messages checked for spam first. That's no problem if you mind the right syntax and add something like this to your fetchmail set-up: set postmaster "root" set properties "" set bouncemail set syslog poll pop.something.net with proto POP3 envelope Envelope-to aka something.rather.co.uk user anything.anyone.co.uk there with password TOP_SECRET to peterg = peterg annie = annie gemma = gemma lizzy = lizzy bob = bob here options preconnect "mailfilter --mailfilterrc=/etc/mailfilter.rc" Are there any sample rcfiles ($HOME/.mailfilterrc) ? Yes, there are. You can find one in the INSTALL guide provided with Mailfilter, or check the rest of the documentation for additional 'rcfile.example' files. A comprehensive list of all supported keywords can be found in the mailfilterrc(5) and mailfilterex(5) man pages. Study them carefully! I am scared to try out Mailfilter, cause I might accidently delete everything! No, you won't. If you are new to Mailfilter, place this line in your rcfile before running the program for the very first time: TEST = "yes" This makes sure you are not losing any mail at all, including spam. When Mailfilter is in test mode it only simulates the deletion of e-mail and you can see how good your filters would work - in theory. Once you have come to a point where you are happy about their behaviour you can remove this command from your rcfile again and start to seriously kill the spam. _________________________________________________________________ Run-time Errors: Because of some missing libraries, Mailfilter won't start. So far I have only witnessed this behaviour on a poorly administered Solaris machine. If you get an error message similar to this ld.so.1: ./mailfilter: fatal: libstdc++.so.2.10.0: open failed: No such file or directory then your library path is not set properly. To fix the problem, simply type something like this in your shell (if it's bash - otherwise you may have to use 'set' instead of 'export') depending on the path of your libraries (sometimes they're also in /opt/lib) export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH Mailfilter complains that a specific file couldn't be accessed. Most likely you need to fix up your Mailfilter configuration. Please refer to the "Configuration" section in this FAQ. I get DNS lookup errors. Such errors occur when the Domain Name Server failed to resolve the name of your mail server. This either happens when you have misspelled the server name in your rcfile, or when you are trying to start Mailfilter even though you have not established a network connection first. Mailfilter says it sent a specific command to the server, but it responded with an error. Usually these errors occur when you are trying to get your mail from a server that does not fully support the POP3/APOP transfer protocol. But you can also get this behaviour if your network connection (or only the connection to the POP3 server) drops during a mail box examination. In this case, simply try to invoke Mailfilter again. If that doesn't fix it, consider reporting a bug. Mailfilter says that some keyword is deprecated. This may happen occasionally when updating from an old version of Mailfilter to a new one. Usually the program suggests a new keyword in its error message though. But you can also look up the proper definition in the documentation files that come with the Mailfilter distribution, or consult the mailfilterrc(5) man page. It contains a comprehensive list of all supported and deprecated keywords. The compilation of Regular Expressions failed. Extended Regular Expressions are not 100% compatible to the basic kind of expressions. Check if you have set Mailfilter to support extended expressions (keyword REG_TYPE) and adjust your filters if necessary. I frequently get an error message saying that my mail server is not responding. You have to use the keyword TIMEOUT in order to increase the response time out value. The default is set to 30 seconds, but in some occasions a higher value might be necessary, because some mail servers take longer to send a response, than others. This behaviour can also be experienced on slow or extremely busy network connections. Help, Mailfilter hangs! Depending on your machine's operating system and configuration you might run into trouble with the deployed Regular Expression library. Mailfilter depends on that component to match the user defined spam filters. It has been reported that certain library implementations do not like (very) large strings and therefore stop Mailfilter when it tries to process e-mails with big headers. The Internet standard RFC 822 explicitly forbids any header description to exceed the 998 byte limit. So, you should use MAXLENGTH in your rcfile to make sure no strings larger than 998 characters are being processed by Mailfilter. All the different Regular Expression libraries should be able to happily handle that size, too. Please note that MAXLENGTH also overrides your friendly ALLOW rules. So it's probably a good idea to deploy this feature only if you have experienced this peculiar program behaviour yourself! _________________________________________________________________ Special Features: Can Mailfilter check more than one account? Of course it can. Personally, I despise all e-mail programs that have such stupid limitations. How many users nowadays have only one account anyway? Does Mailfilter support any other protocols besides POP3? Yes, it does: POP3 and APOP (= encrypted POP3) are implemented. Support for the IMAP protocol is also planned. Is there a way to send encrypted password information to the server? It is possible to tunnel Mailfilter through ssh (Secure-Shell). Brian Hall has provided a shell script and some comments on this issue. This solution requires a password-less login to your server/shell account though. #!/bin/sh # Script to restart the ssh tunnel if tunneled ports are failed /usr/local/bin/mailfilter -M /home/hallb/.mailfilterrc | \ grep "timed out" > /dev/null 2>&1 || exit # Find pid of sleeping ssh tunnel process /bin/kill `/bin/ps wx | /bin/grep -v grep| /bin/grep \ "ssh -i /root/.ssh/script_id -g shell.pcisys.net -f" | \ /bin/awk '{print $1}'` > /dev/null 2>&1 # Start ssh tunnel process /usr/bin/ssh -i /root/.ssh/script_id -g shell.pcisys.net -f \ /bin/sleep 999999999 < /dev/null > /dev/null 2>&1 Mailfilter logs are so plain; I'd like to have better spam-statistics! Roland Smith has come up with a simple, yet efficient way to create nice monthly spam-statistics. This shell script summarises the main log file: #!/bin/sh # -*- shell-script -*- # Id: spamsort,v 1.3 2002/03/14 18:47:39 rsmith Exp rsmith # # 2003/10/03 12:46:28 extension from Simon Brandmair: now shows MAXSIZE_DENY hits LOG = "/var/log/mailfilter" cat $LOG |awk '/Deleted/ {print $NF}'|sed 's/]//g'| \ sed -e 's/^.*[/][0-9]*$/MAXSIZE_DENY exceeded/' | \ sort|uniq -c|sort -r The output of this script looks something like this: 384 '^Content-Type:.*text/html.*' 261 '<>^(To|Cc):.*rsmith@xs4all.nl' 189 '^(From|Received):.*hotmail.com.*' 110 '^(From|Received|Reply-To):.*yahoo.com.*' 51 '^(From|Received|Reply-To):.*hotmail.com.*' 40 '^Subject:.*adult.*' 36 '^(From|Received|Reply-To):.*yahoo.*' 26 '^(From|Received):.*aol.com.*' 21 duplicate 18 '^(From|Received):.*listmanpro.com.*' 17 '^From:.*e.*direct.com.*' 14 '^Mailing-List:.*double-optin.*' 12 '^(From|Received):.*investorsalley.com.*' 11 '.*hardcore.*sex.*' 10 '^From:.*optmailing.com.*' 10 '^From:.*freeoptinfo.com.*' 7 '^From:.*horny18.net.*' 5 '^Subject:.*rsmith@xs4all.nl.*' 5 '^Received:.*listbuilder.com.*' 5 '^From:.*msn.com.*' 2 '^From:.*thenewpornsite.com.*' 1 material.*' 1 '^From:.*insync-palm.com.*' 1 '^(From|Received):.*sexrave.com.*' 1 '<>^From:.*@.*' How can I get Mailfilter to auto-reply to spam? You can't and this is a feature that will never be implemented either. I started the Mailfilter project to prevent e-mail abuse in general not to give people a weapon to fight fire with fire. Apart from that it would be considered a criminal offense in most countries (including the one I'm living in) to answer a mail bomb with your own mail bomb. _________________________________________________________________ Miscellaneous: I think I accidently deleted an important e-mail with Mailfilter. Can I get it back somehow? Tough. Once Mailfilter deleted an e-mail, all you get to see of it is where it came from, what it was about and when it was sent. Have a look in your logfile and ask the author to send it again. If that's not an option for you, you may want to ask your ISP to recover this message for you, though I doubt this would be a very successful undertaking. If I make changes to the rcfile, does it affect immediately? If you are changing Mailfilter's settings while it's active, nothing special will happen. All changes you make in the rcfile will be considered next time you run the application. Sometimes a few (spam-) messages slip through. How come? This is not a bug in Mailfilter. Consider this a feature of every POP e-mail server. Once you start checking for spam or downloading messages, the server locks your mail box. If new messages arrive during the locked state, they will be queued and provided for further processing after the lock has been removed. So Mailfilter does not see incoming messages while it checks for spam and sometimes it happens that a message or two arrive just in time to be too late for filtering, but in time for download. That's life. What's this cron business? Cron. It's the way to run tasks on a schedule in Unix. Say, for example, I wanted to run mailfilter once every minute of every day. Well, we think of it this way: minute hour day month day_of_week command_here A quick explanation what it all means: * The first field specifies the minute (0 to 59). * The second field specifies the hour (0 to 23). * The third field specifies the day of the month (1 to 31). * The fourth field specifies the month of the year (1 to 12). * The fifth field specifies the day of the week (0 to 6 for Sunday to Saturday). * The sixth field specifies the command to be executed. So, for a quick example, if I wanted something to run every night at 3 AM, I would use the following (an asterisk is the same as saying "anything"). 0 3 * * * mailfilter Or, lets say I wanted every weekday (days 1-5) every hour at half past the hour: 30 * * * 1-5 mailfilter Or, every 10 minutes (which is what I use) 10,20,30,40,50 * * * * mailfilter (Thanks to Matt Cowger for answering this FAQ.) My question is not covered by this FAQ. Help!! This FAQ can never be a 100% complete guide, covering all possible aspects of the Mailfilter program. That is the reason why we have created a mailing list where we discuss the various aspects of spam killing and how to use Mailfilter. Feel free to subscribe and ask your questions. In urgent or very special cases, however, you can also contact me directly, the author of Mailfilter. Maybe the question will be just another candidate for the FAQ. mailfilter-0.8.2/doc/api/0000777000175000017500000000000011241450773012200 500000000000000mailfilter-0.8.2/doc/api/man/0000777000175000017500000000000011241450773012753 500000000000000mailfilter-0.8.2/doc/api/man/man3/0000777000175000017500000000000011241450773013611 500000000000000mailfilter-0.8.2/doc/api/man/man3/MD5_CTX.30000644000175000017500000000112511241450773014713 00000000000000.TH "MD5_CTX" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME MD5_CTX \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Attributes" .in +1c .ti -1c .RI "uint32_t \fBstate\fP [4]" .br .ti -1c .RI "uint32_t \fBcount\fP [2]" .br .ti -1c .RI "unsigned char \fBbuffer\fP [64]" .br .in -1c .SH "Member Data Documentation" .PP .SS "unsigned char \fBMD5_CTX::buffer\fP[64]" .PP .SS "uint32_t \fBMD5_CTX::count\fP[2]" .PP .SS "uint32_t \fBMD5_CTX::state\fP[4]" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/getopt1.c.30000644000175000017500000000222211241450773015413 00000000000000.TH "getopt1.c" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME getopt1.c \- .SH SYNOPSIS .br .PP \fC#include 'getopt.h'\fP .br \fC#include \fP .br .SS "Defines" .in +1c .ti -1c .RI "#define \fBGETOPT_INTERFACE_VERSION\fP 2" .br .ti -1c .RI "#define \fBNULL\fP 0" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "int \fBgetopt_long\fP (int argc, char *const *argv, const char *options, const struct \fBoption\fP *long_options, int *opt_index)" .br .ti -1c .RI "int \fBgetopt_long_only\fP (int argc, char *const *argv, const char *options, const struct \fBoption\fP *long_options, int *opt_index)" .br .in -1c .SH "Define Documentation" .PP .SS "#define GETOPT_INTERFACE_VERSION 2" .PP .SS "#define NULL 0" .PP .SH "Function Documentation" .PP .SS "int getopt_long (int argc, char *const * argv, const char * options, const struct \fBoption\fP * long_options, int * opt_index)" .PP .SS "int getopt_long_only (int argc, char *const * argv, const char * options, const struct \fBoption\fP * long_options, int * opt_index)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/apop.cc.30000644000175000017500000000071711241450773015141 00000000000000.TH "apop.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME apop.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include 'apop.hh'\fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'defines.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include \fP .br \fC#include 'md5.h'\fP .br .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/mailfilter.hh.30000644000175000017500000000213611241450773016341 00000000000000.TH "mailfilter.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME mailfilter.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br .SS "Defines" .in +1c .ti -1c .RI "#define \fBVALUE_HELP\fP 1" .br .ti -1c .RI "#define \fBVALUE_VERBOSE\fP 2" .br .ti -1c .RI "#define \fBVALUE_MAILFILTERRC\fP 3" .br .ti -1c .RI "#define \fBVALUE_LOGFILE\fP 4" .br .ti -1c .RI "#define \fBVALUE_VERSION\fP 5" .br .ti -1c .RI "#define \fBVALUE_TEST\fP 6" .br .ti -1c .RI "#define \fBVALUE_RETURN\fP 7" .br .ti -1c .RI "#define \fBERROR_MSG\fP(msg)" .br .in -1c .SH "Define Documentation" .PP .SS "#define ERROR_MSG(msg)" .PP \fBValue:\fP .PP .nf cerr << PACKAGE_NAME \ << ': Error: ' \ << msg \ << endl .fi .SS "#define VALUE_HELP 1" .PP .SS "#define VALUE_LOGFILE 4" .PP .SS "#define VALUE_MAILFILTERRC 3" .PP .SS "#define VALUE_RETURN 7" .PP .SS "#define VALUE_TEST 6" .PP .SS "#define VALUE_VERBOSE 2" .PP .SS "#define VALUE_VERSION 5" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Size_score.30000644000175000017500000000073411241450773015722 00000000000000.TH "Size_score" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Size_score \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Attributes" .in +1c .ti -1c .RI "int \fBscore\fP" .br .ti -1c .RI "int \fBsize\fP" .br .in -1c .SH "Member Data Documentation" .PP .SS "int \fBSize_score::score\fP" .PP .SS "int \fBSize_score::size\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/mailfilter.cc.30000644000175000017500000000405311241450773016327 00000000000000.TH "mailfilter.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME mailfilter.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'preferences.hh'\fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'weeder.hh'\fP .br \fC#include 'time.h'\fP .br \fC#include \fP .br \fC#include 'getopt.h'\fP .br .SS "Functions" .in +1c .ti -1c .RI "void \fBinit_app\fP (void)" .br .ti -1c .RI "bool \fBopen_prefs\fP (string)" .br .ti -1c .RI "void \fBget_opts\fP (int argc, char *argv[])" .br .ti -1c .RI "void \fBoverride_prefs\fP (string)" .br .ti -1c .RI "int \fBcmp_no_case\fP (const string &, const string &)" .br .ti -1c .RI "int \fBprecompile_expressions\fP (void)" .br .ti -1c .RI "void \fBconnect_sigint\fP (int)" .br .ti -1c .RI "string \fBint_to_string\fP (int)" .br .ti -1c .RI "int \fBmain\fP (int argc, char *argv[])" .br .ti -1c .RI "string \fBexec_shell\fP (const char *command)" .br .in -1c .SS "Variables" .in +1c .ti -1c .RI "struct sigaction \fBsigact\fP" .br .ti -1c .RI "Weeder \fBweeder\fP" .br .ti -1c .RI "int \fBmailbox_status\fP" .br .in -1c .SH "Function Documentation" .PP .SS "int cmp_no_case (const string & s, const string & s2)" .PP .SS "void connect_sigint (int signo)" .PP .SS "string exec_shell (const char * command)" .PP .SS "void get_opts (int argc, char * argv[])" .PP .SS "void init_app (void)" .PP .SS "string int_to_string (int val)" .PP .SS "int main (int argc, char * argv[])" .PP .SS "bool open_prefs (string)" .PP .SS "void override_prefs (string)" .PP .SS "int precompile_expressions (void)" .PP .SH "Variable Documentation" .PP .SS "int \fBmailbox_status\fP" .PP .SS "struct sigaction \fBsigact\fP" .PP .SS "Weeder \fBweeder\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/pop3.cc.30000644000175000017500000000224111241450773015055 00000000000000.TH "pop3.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME pop3.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'socket.hh'\fP .br \fC#include 'pop3.hh'\fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'preferences.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'header.hh'\fP .br \fC#include 'weeder.hh'\fP .br \fC#include 'defines.hh'\fP .br \fC#include 'protocol.hh'\fP .br \fC#include \fP .br .SS "Defines" .in +1c .ti -1c .RI "#define \fByyFlexLexer\fP rfcFlexLexer" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "int \fBrfcparse\fP (void *)" .br .in -1c .SS "Variables" .in +1c .ti -1c .RI "FlexLexer * \fBrfclexer\fP" .br .ti -1c .RI "Weeder \fBweeder\fP" .br .in -1c .SH "Define Documentation" .PP .SS "#define yyFlexLexer rfcFlexLexer" .PP .SH "Function Documentation" .PP .SS "int rfcparse (void *)" .PP .SH "Variable Documentation" .PP .SS "FlexLexer* \fBrfclexer\fP" .PP .SS "Weeder \fBweeder\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/socket.cc.30000644000175000017500000000151311241450773015465 00000000000000.TH "socket.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME socket.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'defines.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'socket.hh'\fP .br \fC#include 'protocol.hh'\fP .br .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/feedback.hh.30000644000175000017500000000054211241450773015734 00000000000000.TH "feedback.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME feedback.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBFeedback\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/feedback.cc.30000644000175000017500000000063411241450773015724 00000000000000.TH "feedback.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME feedback.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'preferences.hh'\fP .br .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Score.30000644000175000017500000000126611241450773014671 00000000000000.TH "Score" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Score \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBFilter\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "int \fBscore\fP (void) const " .br .ti -1c .RI "void \fBset_score\fP (int)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBscr\fP" .br .in -1c .SH "Member Function Documentation" .PP .SS "int Score::score (void) const" .PP .SS "void Score::set_score (int)" .PP .SH "Member Data Documentation" .PP .SS "int \fBScore::scr\fP\fC [protected]\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/md5.h.30000644000175000017500000000231211241450773014522 00000000000000.TH "md5.h" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME md5.h \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "struct \fBMD5_CTX\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBMD5_H\fP 1" .br .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef unsigned char * \fBPOINTER\fP" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "void \fBMD5Init\fP (\fBMD5_CTX\fP *)" .br .ti -1c .RI "void \fBMD5Update\fP (\fBMD5_CTX\fP *, unsigned char *, unsigned int)" .br .ti -1c .RI "void \fBMD5Final\fP (unsigned char[16], \fBMD5_CTX\fP *)" .br .ti -1c .RI "void \fBgethash\fP (char[33], char *, char *)" .br .in -1c .SH "Define Documentation" .PP .SS "#define MD5_H 1" .PP .SH "Typedef Documentation" .PP .SS "typedef unsigned char* \fBPOINTER\fP" .PP .SH "Function Documentation" .PP .SS "void gethash (char[33], char *, char *)" .PP .SS "void MD5Final (unsigned char[16], \fBMD5_CTX\fP *)" .PP .SS "void MD5Init (\fBMD5_CTX\fP *)" .PP .SS "void MD5Update (\fBMD5_CTX\fP *, unsigned char *, unsigned int)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/option.30000644000175000017500000000113211241450773015116 00000000000000.TH "option" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME option \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Attributes" .in +1c .ti -1c .RI "char * \fBname\fP" .br .ti -1c .RI "int \fBhas_arg\fP" .br .ti -1c .RI "int * \fBflag\fP" .br .ti -1c .RI "int \fBval\fP" .br .in -1c .SH "Member Data Documentation" .PP .SS "int* \fBoption::flag\fP" .PP .SS "int \fBoption::has_arg\fP" .PP .SS "char* \fBoption::name\fP" .PP .SS "int \fBoption::val\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/connection.hh.30000644000175000017500000000051311241450773016345 00000000000000.TH "connection.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME connection.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBConnection\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/getopt.h.30000644000175000017500000000260711241450773015346 00000000000000.TH "getopt.h" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME getopt.h \- .SH SYNOPSIS .br .PP \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "struct \fBoption\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fB_GETOPT_H\fP 1" .br .ti -1c .RI "#define \fBno_argument\fP 0" .br .ti -1c .RI "#define \fBrequired_argument\fP 1" .br .ti -1c .RI "#define \fBoptional_argument\fP 2" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "int \fBgetopt\fP ()" .br .ti -1c .RI "int \fBgetopt_long\fP ()" .br .ti -1c .RI "int \fBgetopt_long_only\fP ()" .br .ti -1c .RI "int \fB_getopt_internal\fP ()" .br .in -1c .SS "Variables" .in +1c .ti -1c .RI "char * \fBoptarg\fP" .br .ti -1c .RI "int \fBoptind\fP" .br .ti -1c .RI "int \fBopterr\fP" .br .ti -1c .RI "int \fBoptopt\fP" .br .in -1c .SH "Define Documentation" .PP .SS "#define _GETOPT_H 1" .PP .SS "#define no_argument 0" .PP .SS "#define optional_argument 2" .PP .SS "#define required_argument 1" .PP .SH "Function Documentation" .PP .SS "int _getopt_internal ()" .PP .SS "int getopt ()" .PP .SS "int getopt_long ()" .PP .SS "int getopt_long_only ()" .PP .SH "Variable Documentation" .PP .SS "char* \fBoptarg\fP" .PP .SS "int \fBopterr\fP" .PP .SS "int \fBoptind\fP" .PP .SS "int \fBoptopt\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/protocol.hh.30000644000175000017500000000120311241450773016044 00000000000000.TH "protocol.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME protocol.hh \- .SH SYNOPSIS .br .PP \fC#include 'connection.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBProtocol\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBPROTOCOL_POP3\fP 2" .br .ti -1c .RI "#define \fBPROTOCOL_APOP\fP 4" .br .ti -1c .RI "#define \fBSSL_C\fP 4096" .br .in -1c .SH "Define Documentation" .PP .SS "#define PROTOCOL_APOP 4" .PP .SS "#define PROTOCOL_POP3 2" .PP .SS "#define SSL_C 4096" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/score.hh.30000644000175000017500000000055011241450773015322 00000000000000.TH "score.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME score.hh \- .SH SYNOPSIS .br .PP \fC#include 'filter.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBSize_score\fP" .br .ti -1c .RI "class \fBScore\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Preferences.30000644000175000017500000002305711241450773016061 00000000000000.TH "Preferences" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Preferences \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBPreferences\fP ()" .br .ti -1c .RI "void \fBinit\fP (void)" .br .ti -1c .RI "void \fBkill\fP (void)" .br .ti -1c .RI "bool \fBopen\fP (const char *)" .br .ti -1c .RI "bool \fBload\fP (void)" .br .ti -1c .RI "void \fBadd_deny_rule\fP (const char *, const char *, const char *)" .br .ti -1c .RI "void \fBadd_allow_rule\fP (const char *, const char *, const char *)" .br .ti -1c .RI "void \fBadd_score\fP (const char *, int, const char *, const char *)" .br .ti -1c .RI "int \fBneg_allows\fP (void)" .br .ti -1c .RI "int \fBneg_denies\fP (void)" .br .ti -1c .RI "void \fBset_rc_file\fP (const char *)" .br .ti -1c .RI "string \fBrc_file\fP (void)" .br .ti -1c .RI "void \fBset_log_file\fP (const char *)" .br .ti -1c .RI "string \fBlog_file\fP (void)" .br .ti -1c .RI "void \fBset_verbose_level\fP (int)" .br .ti -1c .RI "int \fBverbose_level\fP (void)" .br .ti -1c .RI "void \fBset_headers_file\fP (const char *)" .br .ti -1c .RI "string \fBheaders_file\fP (void)" .br .ti -1c .RI "void \fBset_default_case\fP (const char *)" .br .ti -1c .RI "int \fBdefault_case\fP (void)" .br .ti -1c .RI "void \fBset_reg_type\fP (const char *)" .br .ti -1c .RI "int \fBreg_type\fP (void)" .br .ti -1c .RI "void \fBset_server\fP (const char *)" .br .ti -1c .RI "void \fBset_usr\fP (const char *)" .br .ti -1c .RI "void \fBset_passwd\fP (const char *)" .br .ti -1c .RI "void \fBset_protocol\fP (const char *)" .br .ti -1c .RI "void \fBset_connection\fP (unsigned int=POSIX_SOCKETS) __attribute__((unused))" .br .ti -1c .RI "void \fBset_port\fP (unsigned int)" .br .ti -1c .RI "unsigned int \fBtime_out\fP (void)" .br .ti -1c .RI "void \fBset_time_out\fP (unsigned int)" .br .ti -1c .RI "bool \fBdelete_duplicates\fP (void)" .br .ti -1c .RI "void \fBset_del_duplicates\fP (const char *)" .br .ti -1c .RI "int \fBmax_size_allow\fP (void)" .br .ti -1c .RI "void \fBset_max_size_allow\fP (int)" .br .ti -1c .RI "int \fBmax_size_deny\fP (void)" .br .ti -1c .RI "void \fBset_max_size_deny\fP (int)" .br .ti -1c .RI "\fBSize_score\fP \fBmax_size_score\fP (void)" .br .ti -1c .RI "void \fBset_max_size_score\fP (int, int)" .br .ti -1c .RI "int \fBhighscore\fP (void)" .br .ti -1c .RI "void \fBset_highscore\fP (int)" .br .ti -1c .RI "bool \fBnormal\fP (void)" .br .ti -1c .RI "void \fBset_normal\fP (const char *)" .br .ti -1c .RI "bool \fBtest_mode\fP (void)" .br .ti -1c .RI "void \fBset_test_mode\fP (const char *)" .br .ti -1c .RI "int \fBmaxlength\fP (void)" .br .ti -1c .RI "void \fBset_maxlength\fP (int)" .br .ti -1c .RI "bool \fBreturn_status\fP (void)" .br .ti -1c .RI "void \fBset_return_status\fP (bool)" .br .ti -1c .RI "vector< \fBAccount\fP > * \fBaccounts\fP (void)" .br .ti -1c .RI "vector< \fBFilter\fP > * \fBallow_filters\fP (void)" .br .ti -1c .RI "vector< \fBFilter\fP > * \fBdeny_filters\fP (void)" .br .ti -1c .RI "vector< \fBScore\fP > * \fBscore_filters\fP (void)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBPreferences\fP & \fBInstance\fP ()" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "ifstream \fBprefs_stream\fP" .br .ti -1c .RI "vector< \fBFilter\fP > \fBallows\fP" .br .ti -1c .RI "vector< \fBFilter\fP > \fBdenies\fP" .br .ti -1c .RI "vector< \fBScore\fP > \fBscores\fP" .br .ti -1c .RI "vector< \fBAccount\fP > \fBaccnts\fP" .br .ti -1c .RI "\fBAccount\fP \fBcur_account\fP" .br .ti -1c .RI "string \fBprefs_file_name\fP" .br .ti -1c .RI "string \fBlog_file_name\fP" .br .ti -1c .RI "string \fBheaders_file_name\fP" .br .ti -1c .RI "int \fBicase\fP" .br .ti -1c .RI "bool \fBnorm\fP" .br .ti -1c .RI "bool \fBtest\fP" .br .ti -1c .RI "bool \fBshow_headers\fP" .br .ti -1c .RI "bool \fBdel_duplicates\fP" .br .ti -1c .RI "bool \fBret_status\fP" .br .ti -1c .RI "int \fBhigh_score\fP" .br .ti -1c .RI "unsigned \fBtime_out_val\fP" .br .ti -1c .RI "int \fBmax_size\fP" .br .ti -1c .RI "\fBSize_score\fP \fBsize_score\fP" .br .ti -1c .RI "int \fBmax_size_friends\fP" .br .ti -1c .RI "int \fBmax_line_length\fP" .br .ti -1c .RI "int \fBrreg_type\fP" .br .ti -1c .RI "int \fBverbosity\fP" .br .ti -1c .RI "int \fBconn_type\fP" .br .ti -1c .RI "int \fBnegative_allows\fP" .br .ti -1c .RI "int \fBnegative_denies\fP" .br .ti -1c .RI "int \fBnegative_scores\fP" .br .ti -1c .RI "bool \fBverbosity_changed\fP" .br .ti -1c .RI "bool \fBtest_changed\fP" .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "Preferences::Preferences ()" .PP .SH "Member Function Documentation" .PP .SS "vector< \fBAccount\fP > * Preferences::accounts (void)" .PP .SS "void Preferences::add_allow_rule (const char * keyword, const char * operat, const char * id)" .PP .SS "void Preferences::add_deny_rule (const char * keyword, const char * operat, const char * id)" .PP .SS "void Preferences::add_score (const char * keyword, int given_score, const char * operat, const char * id)" .PP .SS "vector< \fBFilter\fP > * Preferences::allow_filters (void)" .PP .SS "int Preferences::default_case (void)" .PP .SS "bool Preferences::delete_duplicates (void)" .PP .SS "vector< \fBFilter\fP > * Preferences::deny_filters (void)" .PP .SS "string Preferences::headers_file (void)" .PP .SS "int Preferences::highscore (void)" .PP .SS "void Preferences::init (void)" .PP .SS "\fBPreferences\fP & Preferences::Instance (void)\fC [static]\fP" .PP .SS "void Preferences::kill (void)" .PP .SS "bool Preferences::load (void)" .PP .SS "string Preferences::log_file (void)" .PP .SS "int Preferences::max_size_allow (void)" .PP .SS "int Preferences::max_size_deny (void)" .PP .SS "\fBSize_score\fP Preferences::max_size_score (void)" .PP .SS "int Preferences::maxlength (void)" .PP .SS "int Preferences::neg_allows (void)" .PP .SS "int Preferences::neg_denies (void)" .PP .SS "bool Preferences::normal (void)" .PP .SS "bool Preferences::open (const char * name)" .PP .SS "string Preferences::rc_file (void)" .PP .SS "int Preferences::reg_type (void)" .PP .SS "bool Preferences::return_status (void)" .PP .SS "vector< \fBScore\fP > * Preferences::score_filters (void)" .PP .SS "void Preferences::set_connection (unsigned int p = \fCPOSIX_SOCKETS\fP)" .PP .SS "void Preferences::set_default_case (const char * new_case)" .PP .SS "void Preferences::set_del_duplicates (const char * del)" .PP .SS "void Preferences::set_headers_file (const char * name)" .PP .SS "void Preferences::set_highscore (int val)" .PP .SS "void Preferences::set_log_file (const char * name)" .PP .SS "void Preferences::set_max_size_allow (int val)" .PP .SS "void Preferences::set_max_size_deny (int val)" .PP .SS "void Preferences::set_max_size_score (int score, int size)" .PP .SS "void Preferences::set_maxlength (int val)" .PP .SS "void Preferences::set_normal (const char * par)" .PP .SS "void Preferences::set_passwd (const char * pass)" .PP .SS "void Preferences::set_port (unsigned int p)" .PP .SS "void Preferences::set_protocol (const char * prot)" .PP .SS "void Preferences::set_rc_file (const char * name)" .PP .SS "void Preferences::set_reg_type (const char * new_type)" .PP .SS "void Preferences::set_return_status (bool st)" .PP .SS "void Preferences::set_server (const char * server)" .PP .SS "void Preferences::set_test_mode (const char * par)" .PP .SS "void Preferences::set_time_out (unsigned int val)" .PP .SS "void Preferences::set_usr (const char * user)" .PP .SS "void Preferences::set_verbose_level (int level)" .PP .SS "bool Preferences::test_mode (void)" .PP .SS "unsigned int Preferences::time_out (void)" .PP .SS "int Preferences::verbose_level (void)" .PP .SH "Member Data Documentation" .PP .SS "vector<\fBAccount\fP> \fBPreferences::accnts\fP\fC [protected]\fP" .PP .SS "vector<\fBFilter\fP> \fBPreferences::allows\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::conn_type\fP\fC [protected]\fP" .PP .SS "\fBAccount\fP \fBPreferences::cur_account\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::del_duplicates\fP\fC [protected]\fP" .PP .SS "vector<\fBFilter\fP> \fBPreferences::denies\fP\fC [protected]\fP" .PP .SS "string \fBPreferences::headers_file_name\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::high_score\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::icase\fP\fC [protected]\fP" .PP .SS "string \fBPreferences::log_file_name\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::max_line_length\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::max_size\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::max_size_friends\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::negative_allows\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::negative_denies\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::negative_scores\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::norm\fP\fC [protected]\fP" .PP .SS "string \fBPreferences::prefs_file_name\fP\fC [protected]\fP" .PP .SS "ifstream \fBPreferences::prefs_stream\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::ret_status\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::rreg_type\fP\fC [protected]\fP" .PP .SS "vector<\fBScore\fP> \fBPreferences::scores\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::show_headers\fP\fC [protected]\fP" .PP .SS "\fBSize_score\fP \fBPreferences::size_score\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::test\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::test_changed\fP\fC [protected]\fP" .PP .SS "unsigned \fBPreferences::time_out_val\fP\fC [protected]\fP" .PP .SS "int \fBPreferences::verbosity\fP\fC [protected]\fP" .PP .SS "bool \fBPreferences::verbosity_changed\fP\fC [protected]\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/apop.hh.30000644000175000017500000000047211241450773015151 00000000000000.TH "apop.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME apop.hh \- .SH SYNOPSIS .br .PP \fC#include 'pop3.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBAPOP\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/preferences.hh.30000644000175000017500000000104311241450773016506 00000000000000.TH "preferences.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME preferences.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'defines.hh'\fP .br \fC#include 'socket.hh'\fP .br \fC#include 'filter.hh'\fP .br \fC#include 'score.hh'\fP .br \fC#include 'account.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBPreferences\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Feedback.30000644000175000017500000000220211241450773015271 00000000000000.TH "Feedback" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Feedback \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fB~Feedback\fP (void)" .br .ti -1c .RI "bool \fBopen\fP (const char *)" .br .ti -1c .RI "bool \fBprint_msg\fP (const string, int)" .br .ti -1c .RI "bool \fBprint_err\fP (const string, int=1)" .br .ti -1c .RI "bool \fBprint_header\fP (const string)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBFeedback\fP * \fBInstance\fP (void)" .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "Feedback::~Feedback (void)" .PP .SH "Member Function Documentation" .PP .SS "\fBFeedback\fP * Feedback::Instance (void)\fC [static]\fP" .PP .SS "bool Feedback::open (const char * name)" .PP .SS "bool Feedback::print_err (const string msg, int min_verbose_level = \fC1\fP)" .PP .SS "bool Feedback::print_header (const string msg)" .PP .SS "bool Feedback::print_msg (const string msg, int min_verbose_level)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/account.cc.30000644000175000017500000000160711241450773015635 00000000000000.TH "account.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME account.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'account.hh'\fP .br \fC#include 'pop3.hh'\fP .br \fC#include 'apop.hh'\fP .br \fC#include 'preferences.hh'\fP .br \fC#include 'feedback.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'connection.hh'\fP .br \fC#include 'socket.hh'\fP .br \fC#include 'defines.hh'\fP .br .SS "Functions" .in +1c .ti -1c .RI "string \fBint_to_string\fP (int)" .br .in -1c .SS "Variables" .in +1c .ti -1c .RI "int \fBmailbox_status\fP" .br .in -1c .SH "Function Documentation" .PP .SS "string int_to_string (int)" .PP .SH "Variable Documentation" .PP .SS "int \fBmailbox_status\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/account.hh.30000644000175000017500000000077411241450773015653 00000000000000.TH "account.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME account.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include 'defines.hh'\fP .br \fC#include 'protocol.hh'\fP .br \fC#include 'pop3.hh'\fP .br \fC#include 'apop.hh'\fP .br \fC#include 'connection.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBAccount\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/preferences.cc.30000644000175000017500000000204311241450773016475 00000000000000.TH "preferences.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME preferences.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'preferences.hh'\fP .br \fC#include 'filter.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'account.hh'\fP .br \fC#include 'protocol.hh'\fP .br \fC#include 'score.hh'\fP .br \fC#include 'rcfile.hh'\fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br .SS "Functions" .in +1c .ti -1c .RI "int \fBrcparse\fP (void *)" .br .ti -1c .RI "int \fBcmp_no_case\fP (const string &, const string &)" .br .in -1c .SH "Function Documentation" .PP .SS "int cmp_no_case (const string &, const string &)" .PP .SS "int rcparse (void *)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Protocol.30000644000175000017500000000437311241450773015421 00000000000000.TH "Protocol" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Protocol \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherited by \fBPOP3\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fB~Protocol\fP (void)" .br .ti -1c .RI "virtual bool \fBlogin\fP (const char *usr, const char *pass, const unsigned int) const =0" .br .ti -1c .RI "virtual bool \fBlogout\fP (void) const =0" .br .ti -1c .RI "virtual int \fBremove_msg\fP (const unsigned int num) const =0" .br .ti -1c .RI "virtual int \fBstatus\fP (void) const =0" .br .ti -1c .RI "virtual int \fBscan\fP (void) const =0" .br .ti -1c .RI "void \fBset_connection\fP (\fBConnection\fP *)" .br .ti -1c .RI "void \fBset_ident\fP (unsigned int)" .br .ti -1c .RI "unsigned int \fBident\fP (void) const " .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBConnection\fP * \fBconn\fP" .br .ti -1c .RI "unsigned int \fBprot_ident\fP" .br .ti -1c .RI "unsigned int \fBconnect_type\fP" .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "virtual Protocol::~Protocol (void)\fC [inline, virtual]\fP" .PP .SH "Member Function Documentation" .PP .SS "unsigned int Protocol::ident (void) const" .PP .SS "virtual bool Protocol::login (const char * usr, const char * pass, const unsigned int) const\fC [pure virtual]\fP" .PP Implemented in \fBPOP3\fP, and \fBAPOP\fP. .SS "virtual bool Protocol::logout (void) const\fC [pure virtual]\fP" .PP Implemented in \fBPOP3\fP. .SS "virtual int Protocol::remove_msg (const unsigned int num) const\fC [pure virtual]\fP" .PP Implemented in \fBPOP3\fP. .SS "virtual int Protocol::scan (void) const\fC [pure virtual]\fP" .PP Implemented in \fBPOP3\fP. .SS "void Protocol::set_connection (\fBConnection\fP * currently_established_connection)" .PP .SS "void Protocol::set_ident (unsigned int i)" .PP .SS "virtual int Protocol::status (void) const\fC [pure virtual]\fP" .PP Implemented in \fBPOP3\fP. .SH "Member Data Documentation" .PP .SS "\fBConnection\fP* \fBProtocol::conn\fP\fC [protected]\fP" .PP .SS "unsigned int \fBProtocol::connect_type\fP\fC [protected]\fP" .PP .SS "unsigned int \fBProtocol::prot_ident\fP\fC [protected]\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Account.30000644000175000017500000000462411241450773015213 00000000000000.TH "Account" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Account \- .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fBclear\fP (void)" .br .ti -1c .RI "string \fBserver\fP (void)" .br .ti -1c .RI "void \fBset_server\fP (const char *)" .br .ti -1c .RI "string \fBusr\fP (void)" .br .ti -1c .RI "void \fBset_usr\fP (const char *)" .br .ti -1c .RI "string \fBpasswd\fP (void)" .br .ti -1c .RI "void \fBset_passwd\fP (const char *)" .br .ti -1c .RI "unsigned int \fBport\fP (void)" .br .ti -1c .RI "void \fBset_port\fP (unsigned int)" .br .ti -1c .RI "void \fBset_protocol\fP (unsigned int)" .br .ti -1c .RI "unsigned int \fBprotocol\fP (void)" .br .ti -1c .RI "void \fBset_connection\fP (unsigned int=POSIX_SOCKETS) __attribute__((unused))" .br .ti -1c .RI "int \fBcheck\fP (void)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "string \fBserv\fP" .br .ti -1c .RI "string \fBuser\fP" .br .ti -1c .RI "string \fBpass\fP" .br .ti -1c .RI "int \fBthe_port\fP" .br .ti -1c .RI "vector< string > \fBmsg_ids\fP" .br .ti -1c .RI "\fBProtocol\fP * \fBproto\fP" .br .ti -1c .RI "\fBConnection\fP * \fBconn\fP" .br .in -1c .SH "Member Function Documentation" .PP .SS "int Account::check (void)" .PP .SS "void Account::clear (void)" .PP .SS "string Account::passwd (void)" .PP .SS "unsigned int Account::port (void)" .PP .SS "unsigned int Account::protocol (void)" .PP .SS "string Account::server (void)" .PP .SS "void Account::set_connection (unsigned int the_connection_type = \fCPOSIX_SOCKETS\fP)" .PP .SS "void Account::set_passwd (const char * s)" .PP .SS "void Account::set_port (unsigned int p)" .PP .SS "void Account::set_protocol (unsigned int prot)" .PP .SS "void Account::set_server (const char * s)" .PP .SS "void Account::set_usr (const char * s)" .PP .SS "string Account::usr (void)" .PP .SH "Member Data Documentation" .PP .SS "\fBConnection\fP* \fBAccount::conn\fP\fC [protected]\fP" .PP .SS "vector \fBAccount::msg_ids\fP\fC [protected]\fP" .PP .SS "string \fBAccount::pass\fP\fC [protected]\fP" .PP .SS "\fBProtocol\fP* \fBAccount::proto\fP\fC [protected]\fP" .PP .SS "string \fBAccount::serv\fP\fC [protected]\fP" .PP .SS "int \fBAccount::the_port\fP\fC [protected]\fP" .PP .SS "string \fBAccount::user\fP\fC [protected]\fP" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/getopt.c.30000644000175000017500000000426511241450773015343 00000000000000.TH "getopt.c" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME getopt.c \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include 'getopt.h'\fP .br \fC#include \fP .br .SS "Defines" .in +1c .ti -1c .RI "#define \fBGETOPT_INTERFACE_VERSION\fP 2" .br .ti -1c .RI "#define \fB_\fP(msgid) (msgid)" .br .ti -1c .RI "#define \fBSWAP_FLAGS\fP(ch1, ch2)" .br .ti -1c .RI "#define \fBNONOPTION_P\fP (argv[\fBoptind\fP][0] != '-' || argv[\fBoptind\fP][1] == '\\0')" .br .in -1c .SS "Enumerations" .in +1c .ti -1c .RI "enum { \fBREQUIRE_ORDER\fP, \fBPERMUTE\fP, \fBRETURN_IN_ORDER\fP }" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "char * \fBgetenv\fP ()" .br .ti -1c .RI "int \fB_getopt_internal\fP (int argc, char *const *argv, const char *optstring, const struct \fBoption\fP *longopts, int *longind, int long_only)" .br .ti -1c .RI "int \fBgetopt\fP (int argc, char *const *argv, const char *optstring)" .br .in -1c .SS "Variables" .in +1c .ti -1c .RI "char * \fBoptarg\fP" .br .ti -1c .RI "int \fBoptind\fP = 1" .br .ti -1c .RI "int \fB__getopt_initialized\fP" .br .ti -1c .RI "int \fBopterr\fP = 1" .br .ti -1c .RI "int \fBoptopt\fP = '?'" .br .in -1c .SH "Define Documentation" .PP .SS "#define _(msgid) (msgid)" .PP .SS "#define GETOPT_INTERFACE_VERSION 2" .PP .SS "#define NONOPTION_P (argv[\fBoptind\fP][0] != '-' || argv[\fBoptind\fP][1] == '\\0')" .PP .SS "#define SWAP_FLAGS(ch1, ch2)" .PP .SH "Enumeration Type Documentation" .PP .SS "anonymous enum" .PP \fBEnumerator: \fP .in +1c .TP \fB\fIREQUIRE_ORDER \fP\fP .TP \fB\fIPERMUTE \fP\fP .TP \fB\fIRETURN_IN_ORDER \fP\fP .SH "Function Documentation" .PP .SS "int _getopt_internal (int argc, char *const * argv, const char * optstring, const struct \fBoption\fP * longopts, int * longind, int long_only)" .PP .SS "char* getenv ()" .PP .SS "int getopt (int argc, char *const * argv, const char * optstring)" .PP .SH "Variable Documentation" .PP .SS "int \fB__getopt_initialized\fP" .PP .SS "char* \fBoptarg\fP" .PP .SS "int \fBopterr\fP = 1" .PP .SS "int \fBoptind\fP = 1" .PP .SS "int \fBoptopt\fP = '?'" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Socket.30000644000175000017500000000256711241450773015053 00000000000000.TH "Socket" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Socket \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBConnection\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSocket\fP (void)" .br .ti -1c .RI "void \fBclear\fP (void)" .br .ti -1c .RI "int \fBc_open\fP (const char *host, int port, int time_out, int protocol)" .br .ti -1c .RI "int \fBc_close\fP (void) const " .br .ti -1c .RI "int \fBc_write\fP (const char *command)" .br .ti -1c .RI "int \fBc_read\fP (bool=false)" .br .ti -1c .RI "const string * \fBc_reply\fP (void) const " .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "Socket::Socket (void)" .PP .SH "Member Function Documentation" .PP .SS "int Socket::c_close (void) const\fC [virtual]\fP" .PP Implements \fBConnection\fP. .SS "int Socket::c_open (const char * host, int port, int time_out, int protocol)\fC [virtual]\fP" .PP Implements \fBConnection\fP. .SS "int Socket::c_read (bool read_header = \fCfalse\fP)\fC [virtual]\fP" .PP Implements \fBConnection\fP. .SS "const string * Socket::c_reply (void) const\fC [virtual]\fP" .PP Implements \fBConnection\fP. .SS "int Socket::c_write (const char * command)\fC [virtual]\fP" .PP Implements \fBConnection\fP. .SS "void Socket::clear (void)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/socket.hh.30000644000175000017500000000102011241450773015470 00000000000000.TH "socket.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME socket.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include 'connection.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBSocket\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBMAX_BYTES\fP 512" .br .in -1c .SH "Define Documentation" .PP .SS "#define MAX_BYTES 512" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/protocol.cc.30000644000175000017500000000044711241450773016043 00000000000000.TH "protocol.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME protocol.cc \- .SH SYNOPSIS .br .PP \fC#include 'connection.hh'\fP .br \fC#include 'protocol.hh'\fP .br .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Connection.30000644000175000017500000000274611241450773015721 00000000000000.TH "Connection" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Connection \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherited by \fBSocket\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fB~Connection\fP (void)" .br .ti -1c .RI "virtual int \fBc_open\fP (const char *host_name, int port, int time_out, int protocol)=0" .br .ti -1c .RI "virtual int \fBc_close\fP (void) const =0" .br .ti -1c .RI "virtual int \fBc_read\fP (bool=false)=0" .br .ti -1c .RI "virtual int \fBc_write\fP (const char *msg)=0" .br .ti -1c .RI "virtual const string * \fBc_reply\fP (void) const =0" .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "virtual Connection::~Connection (void)\fC [inline, virtual]\fP" .PP .SH "Member Function Documentation" .PP .SS "virtual int Connection::c_close (void) const\fC [pure virtual]\fP" .PP Implemented in \fBSocket\fP. .SS "virtual int Connection::c_open (const char * host_name, int port, int time_out, int protocol)\fC [pure virtual]\fP" .PP Implemented in \fBSocket\fP. .SS "virtual int Connection::c_read (bool = \fCfalse\fP)\fC [pure virtual]\fP" .PP Implemented in \fBSocket\fP. .SS "virtual const string* Connection::c_reply (void) const\fC [pure virtual]\fP" .PP Implemented in \fBSocket\fP. .SS "virtual int Connection::c_write (const char * msg)\fC [pure virtual]\fP" .PP Implemented in \fBSocket\fP. .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/md5c.c.30000644000175000017500000000664011241450773014670 00000000000000.TH "md5c.c" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME md5c.c \- .SH SYNOPSIS .br .PP \fC#include 'md5.h'\fP .br .SS "Defines" .in +1c .ti -1c .RI "#define \fBS11\fP 7" .br .ti -1c .RI "#define \fBS12\fP 12" .br .ti -1c .RI "#define \fBS13\fP 17" .br .ti -1c .RI "#define \fBS14\fP 22" .br .ti -1c .RI "#define \fBS21\fP 5" .br .ti -1c .RI "#define \fBS22\fP 9" .br .ti -1c .RI "#define \fBS23\fP 14" .br .ti -1c .RI "#define \fBS24\fP 20" .br .ti -1c .RI "#define \fBS31\fP 4" .br .ti -1c .RI "#define \fBS32\fP 11" .br .ti -1c .RI "#define \fBS33\fP 16" .br .ti -1c .RI "#define \fBS34\fP 23" .br .ti -1c .RI "#define \fBS41\fP 6" .br .ti -1c .RI "#define \fBS42\fP 10" .br .ti -1c .RI "#define \fBS43\fP 15" .br .ti -1c .RI "#define \fBS44\fP 21" .br .ti -1c .RI "#define \fBF\fP(x, y, z) (((x) & (y)) | ((~x) & (z)))" .br .ti -1c .RI "#define \fBG\fP(x, y, z) (((x) & (z)) | ((y) & (~z)))" .br .ti -1c .RI "#define \fBH\fP(x, y, z) ((x) ^ (y) ^ (z))" .br .ti -1c .RI "#define \fBI\fP(x, y, z) ((y) ^ ((x) | (~z)))" .br .ti -1c .RI "#define \fBROTATE_LEFT\fP(x, n) (((x) << (n)) | ((x) >> (32-(n))))" .br .ti -1c .RI "#define \fBFF\fP(a, b, c, d, x, s, ac)" .br .ti -1c .RI "#define \fBGG\fP(a, b, c, d, x, s, ac)" .br .ti -1c .RI "#define \fBHH\fP(a, b, c, d, x, s, ac)" .br .ti -1c .RI "#define \fBII\fP(a, b, c, d, x, s, ac)" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "void \fBMD5Init\fP (\fBMD5_CTX\fP *context)" .br .ti -1c .RI "void \fBMD5Update\fP (\fBMD5_CTX\fP *context, unsigned char *input, unsigned int inputLen)" .br .ti -1c .RI "void \fBMD5Final\fP (digest, \fBMD5_CTX\fP *context)" .br .in -1c .SH "Define Documentation" .PP .SS "#define F(x, y, z) (((x) & (y)) | ((~x) & (z)))" .PP .SS "#define FF(a, b, c, d, x, s, ac)" .PP \fBValue:\fP .PP .nf { \ (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } .fi .SS "#define G(x, y, z) (((x) & (z)) | ((y) & (~z)))" .PP .SS "#define GG(a, b, c, d, x, s, ac)" .PP \fBValue:\fP .PP .nf { \ (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } .fi .SS "#define H(x, y, z) ((x) ^ (y) ^ (z))" .PP .SS "#define HH(a, b, c, d, x, s, ac)" .PP \fBValue:\fP .PP .nf { \ (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } .fi .SS "#define I(x, y, z) ((y) ^ ((x) | (~z)))" .PP .SS "#define II(a, b, c, d, x, s, ac)" .PP \fBValue:\fP .PP .nf { \ (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } .fi .SS "#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))" .PP .SS "#define S11 7" .PP .SS "#define S12 12" .PP .SS "#define S13 17" .PP .SS "#define S14 22" .PP .SS "#define S21 5" .PP .SS "#define S22 9" .PP .SS "#define S23 14" .PP .SS "#define S24 20" .PP .SS "#define S31 4" .PP .SS "#define S32 11" .PP .SS "#define S33 16" .PP .SS "#define S34 23" .PP .SS "#define S41 6" .PP .SS "#define S42 10" .PP .SS "#define S43 15" .PP .SS "#define S44 21" .PP .SH "Function Documentation" .PP .SS "void MD5Final (digest, \fBMD5_CTX\fP * context)" .PP .SS "void MD5Init (\fBMD5_CTX\fP * context)" .PP .SS "void MD5Update (\fBMD5_CTX\fP * context, unsigned char * input, unsigned int inputLen)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/filter.cc.30000644000175000017500000000067511241450773015472 00000000000000.TH "filter.cc" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME filter.cc \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'filter.hh'\fP .br \fC#include 'mailfilter.hh'\fP .br \fC#include 'preferences.hh'\fP .br .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/pop3.hh.30000644000175000017500000000171111241450773015070 00000000000000.TH "pop3.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME pop3.hh \- .SH SYNOPSIS .br .PP \fC#include 'header.hh'\fP .br \fC#include 'protocol.hh'\fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBPOP3\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBREPLY_OK\fP" .br .ti -1c .RI "#define \fBHEADER_OK\fP" .br .in -1c .SH "Define Documentation" .PP .SS "#define HEADER_OK" .PP \fBValue:\fP .PP .nf ((conn->c_read (true) > 0 && conn->c_reply ())? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) .fi .SS "#define REPLY_OK" .PP \fBValue:\fP .PP .nf ((conn->c_read () > 0 && conn->c_reply ()) ? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) .fi .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/Filter.30000644000175000017500000000251111241450773015035 00000000000000.TH "Filter" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME Filter \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherited by \fBScore\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBFilter\fP (void)" .br .ti -1c .RI "\fB~Filter\fP (void)" .br .ti -1c .RI "string \fBexpression\fP (void) const " .br .ti -1c .RI "void \fBset_expression\fP (const char *)" .br .ti -1c .RI "int \fBcompile\fP (void)" .br .ti -1c .RI "void \fBset_negativity\fP (bool)" .br .ti -1c .RI "bool \fBis_negative\fP (void) const " .br .ti -1c .RI "int \fBccase\fP (void) const " .br .ti -1c .RI "void \fBset_case\fP (int)" .br .ti -1c .RI "const regex_t * \fBcomp_exp\fP (void) const " .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "Filter::Filter (void)" .PP .SS "Filter::~Filter (void)" .PP .SH "Member Function Documentation" .PP .SS "int Filter::ccase (void) const" .PP .SS "const regex_t * Filter::comp_exp (void) const" .PP .SS "int Filter::compile (void)" .PP .SS "string Filter::expression (void) const" .PP .SS "bool Filter::is_negative (void) const" .PP .SS "void Filter::set_case (int c)" .PP .SS "void Filter::set_expression (const char * exp)" .PP .SS "void Filter::set_negativity (bool t)" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/APOP.30000644000175000017500000000112711241450773014351 00000000000000.TH "APOP" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME APOP \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBPOP3\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "bool \fBlogin\fP (const char *usr, const char *pass, const unsigned int enc) const " .br .in -1c .SH "Member Function Documentation" .PP .SS "bool APOP::login (const char * usr, const char * pass, const unsigned int enc) const\fC [virtual]\fP" .PP Reimplemented from \fBPOP3\fP. .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/POP3.30000644000175000017500000000230011241450773014325 00000000000000.TH "POP3" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME POP3 \- .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBProtocol\fP. .PP Inherited by \fBAPOP\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "bool \fBlogin\fP (const char *, const char *, const unsigned int) const " .br .ti -1c .RI "bool \fBlogout\fP (void) const " .br .ti -1c .RI "int \fBremove_msg\fP (const unsigned int) const " .br .ti -1c .RI "int \fBstatus\fP (void) const " .br .ti -1c .RI "int \fBscan\fP (void) const " .br .in -1c .SH "Member Function Documentation" .PP .SS "bool POP3::login (const char * usr, const char * pass, const unsigned int enc) const\fC [virtual]\fP" .PP Implements \fBProtocol\fP. .PP Reimplemented in \fBAPOP\fP. .SS "bool POP3::logout (void) const\fC [virtual]\fP" .PP Implements \fBProtocol\fP. .SS "int POP3::remove_msg (const unsigned int num) const\fC [virtual]\fP" .PP Implements \fBProtocol\fP. .SS "int POP3::scan (void) const\fC [virtual]\fP" .PP Implements \fBProtocol\fP. .SS "int POP3::status (void) const\fC [virtual]\fP" .PP Implements \fBProtocol\fP. .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/man/man3/filter.hh.30000644000175000017500000000134411241450773015476 00000000000000.TH "filter.hh" 3 "15 Aug 2009" "Version 0.8.2" "mailfilter" \" -*- nroff -*- .ad l .nh .SH NAME filter.hh \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBFilter\fP" .br .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBCASE_DEFAULT\fP REG_ICASE" .br .ti -1c .RI "#define \fBCASE_SENSITIVE\fP 0" .br .ti -1c .RI "#define \fBCASE_INSENSITIVE\fP REG_ICASE" .br .in -1c .SH "Define Documentation" .PP .SS "#define CASE_DEFAULT REG_ICASE" .PP .SS "#define CASE_INSENSITIVE REG_ICASE" .PP .SS "#define CASE_SENSITIVE 0" .PP .SH "Author" .PP Generated automatically by Doxygen for mailfilter from the source code. mailfilter-0.8.2/doc/api/latex/0000777000175000017500000000000011241450773013315 500000000000000mailfilter-0.8.2/doc/api/latex/classFeedback.tex0000644000175000017500000000514711241450773016474 00000000000000\subsection{Feedback Class Reference} \label{classFeedback}\index{Feedback@{Feedback}} {\tt \#include $<$feedback.hh$>$} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item {\bf $\sim$Feedback} (void) \item bool {\bf open} (const char $\ast$) \item bool {\bf print\_\-msg} (const string, int) \item bool {\bf print\_\-err} (const string, int=1) \item bool {\bf print\_\-header} (const string) \end{CompactItemize} \subsubsection*{Static Public Member Functions} \begin{CompactItemize} \item static {\bf Feedback} $\ast$ {\bf Instance} (void) \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Feedback@{Feedback}!$\sim$Feedback@{$\sim$Feedback}} \index{$\sim$Feedback@{$\sim$Feedback}!Feedback@{Feedback}} \paragraph[{$\sim$Feedback}]{\setlength{\rightskip}{0pt plus 5cm}Feedback::$\sim$Feedback (void)}\hfill\label{classFeedback_63513e2b765321d2df29b942b459e952} \subsubsection{Member Function Documentation} \index{Feedback@{Feedback}!Instance@{Instance}} \index{Instance@{Instance}!Feedback@{Feedback}} \paragraph[{Instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Feedback} $\ast$ Feedback::Instance (void)\hspace{0.3cm}{\tt [static]}}\hfill\label{classFeedback_7e987414365ca2317d2cb2f3fb0a1b71} \index{Feedback@{Feedback}!open@{open}} \index{open@{open}!Feedback@{Feedback}} \paragraph[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Feedback::open (const char $\ast$ {\em name})}\hfill\label{classFeedback_f9a7a2200050cac9109d5459777498ff} \index{Feedback@{Feedback}!print\_\-err@{print\_\-err}} \index{print\_\-err@{print\_\-err}!Feedback@{Feedback}} \paragraph[{print\_\-err}]{\setlength{\rightskip}{0pt plus 5cm}bool Feedback::print\_\-err (const string {\em msg}, \/ int {\em min\_\-verbose\_\-level} = {\tt 1})}\hfill\label{classFeedback_6341420b3777e6b056cd42bd65b4baf8} \index{Feedback@{Feedback}!print\_\-header@{print\_\-header}} \index{print\_\-header@{print\_\-header}!Feedback@{Feedback}} \paragraph[{print\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}bool Feedback::print\_\-header (const string {\em msg})}\hfill\label{classFeedback_dcc86c7458bb788695b2a971a645279e} \index{Feedback@{Feedback}!print\_\-msg@{print\_\-msg}} \index{print\_\-msg@{print\_\-msg}!Feedback@{Feedback}} \paragraph[{print\_\-msg}]{\setlength{\rightskip}{0pt plus 5cm}bool Feedback::print\_\-msg (const string {\em msg}, \/ int {\em min\_\-verbose\_\-level})}\hfill\label{classFeedback_6444e9bf01c4d9d7bd1787fd1c44e230} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf feedback.hh}\item {\bf feedback.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/classPOP3.tex0000644000175000017500000000524111241450773015524 00000000000000\subsection{POP3 Class Reference} \label{classPOP3}\index{POP3@{POP3}} {\tt \#include $<$pop3.hh$>$} Inheritance diagram for POP3::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=3cm]{classPOP3} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item bool {\bf login} (const char $\ast$, const char $\ast$, const unsigned int) const \item bool {\bf logout} (void) const \item int {\bf remove\_\-msg} (const unsigned int) const \item int {\bf status} (void) const \item int {\bf scan} (void) const \end{CompactItemize} \subsubsection{Member Function Documentation} \index{POP3@{POP3}!login@{login}} \index{login@{login}!POP3@{POP3}} \paragraph[{login}]{\setlength{\rightskip}{0pt plus 5cm}bool POP3::login (const char $\ast$ {\em usr}, \/ const char $\ast$ {\em pass}, \/ const unsigned int {\em enc}) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classPOP3_824f175c9eac3fe9cbc231607d832169} Implements {\bf Protocol} \doxyref{}{p.}{classProtocol_dd24e2c5ffa8c940dd6a3ba8f295113f}. Reimplemented in {\bf APOP} \doxyref{}{p.}{classAPOP_61d6b84a9b463c948c74420065f9dfc9}.\index{POP3@{POP3}!logout@{logout}} \index{logout@{logout}!POP3@{POP3}} \paragraph[{logout}]{\setlength{\rightskip}{0pt plus 5cm}bool POP3::logout (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classPOP3_7b1056eb702ce559084fc34331b5aa9a} Implements {\bf Protocol} \doxyref{}{p.}{classProtocol_488b2fdeb3dec121284b5102b913619e}.\index{POP3@{POP3}!remove\_\-msg@{remove\_\-msg}} \index{remove\_\-msg@{remove\_\-msg}!POP3@{POP3}} \paragraph[{remove\_\-msg}]{\setlength{\rightskip}{0pt plus 5cm}int POP3::remove\_\-msg (const unsigned int {\em num}) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classPOP3_8b5ed311c138197ab480534d613b1c48} Implements {\bf Protocol} \doxyref{}{p.}{classProtocol_d53aee64e3f129eec4aff7017c7dbc6f}.\index{POP3@{POP3}!scan@{scan}} \index{scan@{scan}!POP3@{POP3}} \paragraph[{scan}]{\setlength{\rightskip}{0pt plus 5cm}int POP3::scan (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classPOP3_bf3047977ab6e51508bc106b3323925e} Implements {\bf Protocol} \doxyref{}{p.}{classProtocol_7dceb148931883c4ce8c1dd643cbcc3f}.\index{POP3@{POP3}!status@{status}} \index{status@{status}!POP3@{POP3}} \paragraph[{status}]{\setlength{\rightskip}{0pt plus 5cm}int POP3::status (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classPOP3_45658ab25cfe351d2dfc0ba596442a7d} Implements {\bf Protocol} \doxyref{}{p.}{classProtocol_febeff26211c158d3cfdeb9b456b53c5}. The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf pop3.hh}\item {\bf pop3.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/structMD5__CTX.tex0000644000175000017500000000233511241450773016465 00000000000000\subsection{MD5\_\-CTX Struct Reference} \label{structMD5__CTX}\index{MD5\_\-CTX@{MD5\_\-CTX}} {\tt \#include $<$md5.h$>$} \subsubsection*{Public Attributes} \begin{CompactItemize} \item uint32\_\-t {\bf state} [4] \item uint32\_\-t {\bf count} [2] \item unsigned char {\bf buffer} [64] \end{CompactItemize} \subsubsection{Member Data Documentation} \index{MD5\_\-CTX@{MD5\_\-CTX}!buffer@{buffer}} \index{buffer@{buffer}!MD5_CTX@{MD5\_\-CTX}} \paragraph[{buffer}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf MD5\_\-CTX::buffer}[64]}\hfill\label{structMD5__CTX_2da73ecf544745f58211e998719f367f} \index{MD5\_\-CTX@{MD5\_\-CTX}!count@{count}} \index{count@{count}!MD5_CTX@{MD5\_\-CTX}} \paragraph[{count}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t {\bf MD5\_\-CTX::count}[2]}\hfill\label{structMD5__CTX_652deaea6cce73f3adf6b2212240c351} \index{MD5\_\-CTX@{MD5\_\-CTX}!state@{state}} \index{state@{state}!MD5_CTX@{MD5\_\-CTX}} \paragraph[{state}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t {\bf MD5\_\-CTX::state}[4]}\hfill\label{structMD5__CTX_7c74e43c2762f66bf81f0075bff2dba2} The documentation for this struct was generated from the following file:\begin{CompactItemize} \item {\bf md5.h}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/feedback_8hh.tex0000644000175000017500000000040211241450773016242 00000000000000\subsection{feedback.hh File Reference} \label{feedback_8hh}\index{feedback.hh@{feedback.hh}} {\tt \#include $<$fstream$>$}\par {\tt \#include $<$string$>$}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Feedback} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/Makefile0000644000175000017500000000152711241450773014676 00000000000000all: clean refman.dvi ps: refman.ps pdf: refman.pdf ps_2on1: refman_2on1.ps pdf_2on1: refman_2on1.pdf refman.ps: refman.dvi dvips -o refman.ps refman.dvi refman.pdf: refman.ps ps2pdf refman.ps refman.pdf refman.dvi: refman.tex doxygen.sty echo "Running latex..." latex refman.tex echo "Running makeindex..." makeindex refman.idx echo "Rerunning latex...." latex refman.tex latex_count=5 ; \ while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ do \ echo "Rerunning latex...." ;\ latex refman.tex ;\ latex_count=`expr $$latex_count - 1` ;\ done refman_2on1.ps: refman.ps psnup -2 refman.ps >refman_2on1.ps refman_2on1.pdf: refman_2on1.ps ps2pdf refman_2on1.ps refman_2on1.pdf clean: rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf mailfilter-0.8.2/doc/api/latex/apop_8hh.tex0000644000175000017500000000033311241450773015460 00000000000000\subsection{apop.hh File Reference} \label{apop_8hh}\index{apop.hh@{apop.hh}} {\tt \#include \char`\"{}pop3.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf APOP} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/annotated.tex0000644000175000017500000000204511241450773015731 00000000000000\subsection{Class List} Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} \item\contentsline{section}{{\bf Account} }{\pageref{classAccount}}{} \item\contentsline{section}{{\bf APOP} }{\pageref{classAPOP}}{} \item\contentsline{section}{{\bf Connection} }{\pageref{classConnection}}{} \item\contentsline{section}{{\bf Feedback} }{\pageref{classFeedback}}{} \item\contentsline{section}{{\bf Filter} }{\pageref{classFilter}}{} \item\contentsline{section}{{\bf MD5\_\-CTX} }{\pageref{structMD5__CTX}}{} \item\contentsline{section}{{\bf option} }{\pageref{structoption}}{} \item\contentsline{section}{{\bf POP3} }{\pageref{classPOP3}}{} \item\contentsline{section}{{\bf Preferences} }{\pageref{classPreferences}}{} \item\contentsline{section}{{\bf Protocol} }{\pageref{classProtocol}}{} \item\contentsline{section}{{\bf Score} }{\pageref{classScore}}{} \item\contentsline{section}{{\bf Size\_\-score} }{\pageref{classSize__score}}{} \item\contentsline{section}{{\bf Socket} }{\pageref{classSocket}}{} \end{CompactList} mailfilter-0.8.2/doc/api/latex/classPreferences.tex0000644000175000017500000007552411241450773017257 00000000000000\subsection{Preferences Class Reference} \label{classPreferences}\index{Preferences@{Preferences}} {\tt \#include $<$preferences.hh$>$} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item {\bf Preferences} () \item void {\bf init} (void) \item void {\bf kill} (void) \item bool {\bf open} (const char $\ast$) \item bool {\bf load} (void) \item void {\bf add\_\-deny\_\-rule} (const char $\ast$, const char $\ast$, const char $\ast$) \item void {\bf add\_\-allow\_\-rule} (const char $\ast$, const char $\ast$, const char $\ast$) \item void {\bf add\_\-score} (const char $\ast$, int, const char $\ast$, const char $\ast$) \item int {\bf neg\_\-allows} (void) \item int {\bf neg\_\-denies} (void) \item void {\bf set\_\-rc\_\-file} (const char $\ast$) \item string {\bf rc\_\-file} (void) \item void {\bf set\_\-log\_\-file} (const char $\ast$) \item string {\bf log\_\-file} (void) \item void {\bf set\_\-verbose\_\-level} (int) \item int {\bf verbose\_\-level} (void) \item void {\bf set\_\-headers\_\-file} (const char $\ast$) \item string {\bf headers\_\-file} (void) \item void {\bf set\_\-default\_\-case} (const char $\ast$) \item int {\bf default\_\-case} (void) \item void {\bf set\_\-reg\_\-type} (const char $\ast$) \item int {\bf reg\_\-type} (void) \item void {\bf set\_\-server} (const char $\ast$) \item void {\bf set\_\-usr} (const char $\ast$) \item void {\bf set\_\-passwd} (const char $\ast$) \item void {\bf set\_\-protocol} (const char $\ast$) \item void {\bf set\_\-connection} (unsigned int=POSIX\_\-SOCKETS) \_\-\_\-attribute\_\-\_\-((unused)) \item void {\bf set\_\-port} (unsigned int) \item unsigned int {\bf time\_\-out} (void) \item void {\bf set\_\-time\_\-out} (unsigned int) \item bool {\bf delete\_\-duplicates} (void) \item void {\bf set\_\-del\_\-duplicates} (const char $\ast$) \item int {\bf max\_\-size\_\-allow} (void) \item void {\bf set\_\-max\_\-size\_\-allow} (int) \item int {\bf max\_\-size\_\-deny} (void) \item void {\bf set\_\-max\_\-size\_\-deny} (int) \item {\bf Size\_\-score} {\bf max\_\-size\_\-score} (void) \item void {\bf set\_\-max\_\-size\_\-score} (int, int) \item int {\bf highscore} (void) \item void {\bf set\_\-highscore} (int) \item bool {\bf normal} (void) \item void {\bf set\_\-normal} (const char $\ast$) \item bool {\bf test\_\-mode} (void) \item void {\bf set\_\-test\_\-mode} (const char $\ast$) \item int {\bf maxlength} (void) \item void {\bf set\_\-maxlength} (int) \item bool {\bf return\_\-status} (void) \item void {\bf set\_\-return\_\-status} (bool) \item vector$<$ {\bf Account} $>$ $\ast$ {\bf accounts} (void) \item vector$<$ {\bf Filter} $>$ $\ast$ {\bf allow\_\-filters} (void) \item vector$<$ {\bf Filter} $>$ $\ast$ {\bf deny\_\-filters} (void) \item vector$<$ {\bf Score} $>$ $\ast$ {\bf score\_\-filters} (void) \end{CompactItemize} \subsubsection*{Static Public Member Functions} \begin{CompactItemize} \item static {\bf Preferences} \& {\bf Instance} () \end{CompactItemize} \subsubsection*{Protected Attributes} \begin{CompactItemize} \item ifstream {\bf prefs\_\-stream} \item vector$<$ {\bf Filter} $>$ {\bf allows} \item vector$<$ {\bf Filter} $>$ {\bf denies} \item vector$<$ {\bf Score} $>$ {\bf scores} \item vector$<$ {\bf Account} $>$ {\bf accnts} \item {\bf Account} {\bf cur\_\-account} \item string {\bf prefs\_\-file\_\-name} \item string {\bf log\_\-file\_\-name} \item string {\bf headers\_\-file\_\-name} \item int {\bf icase} \item bool {\bf norm} \item bool {\bf test} \item bool {\bf show\_\-headers} \item bool {\bf del\_\-duplicates} \item bool {\bf ret\_\-status} \item int {\bf high\_\-score} \item unsigned {\bf time\_\-out\_\-val} \item int {\bf max\_\-size} \item {\bf Size\_\-score} {\bf size\_\-score} \item int {\bf max\_\-size\_\-friends} \item int {\bf max\_\-line\_\-length} \item int {\bf rreg\_\-type} \item int {\bf verbosity} \item int {\bf conn\_\-type} \item int {\bf negative\_\-allows} \item int {\bf negative\_\-denies} \item int {\bf negative\_\-scores} \item bool {\bf verbosity\_\-changed} \item bool {\bf test\_\-changed} \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Preferences@{Preferences}!Preferences@{Preferences}} \index{Preferences@{Preferences}!Preferences@{Preferences}} \paragraph[{Preferences}]{\setlength{\rightskip}{0pt plus 5cm}Preferences::Preferences ()}\hfill\label{classPreferences_9ca3b7029509bc36da1a57ed296c2fa8} \subsubsection{Member Function Documentation} \index{Preferences@{Preferences}!accounts@{accounts}} \index{accounts@{accounts}!Preferences@{Preferences}} \paragraph[{accounts}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Account} $>$ $\ast$ Preferences::accounts (void)}\hfill\label{classPreferences_02ee3db34b6fd38c51480a3815a73d70} \index{Preferences@{Preferences}!add\_\-allow\_\-rule@{add\_\-allow\_\-rule}} \index{add\_\-allow\_\-rule@{add\_\-allow\_\-rule}!Preferences@{Preferences}} \paragraph[{add\_\-allow\_\-rule}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::add\_\-allow\_\-rule (const char $\ast$ {\em keyword}, \/ const char $\ast$ {\em operat}, \/ const char $\ast$ {\em id})}\hfill\label{classPreferences_5acc85aa479bd30c652488fb1bdd2b10} \index{Preferences@{Preferences}!add\_\-deny\_\-rule@{add\_\-deny\_\-rule}} \index{add\_\-deny\_\-rule@{add\_\-deny\_\-rule}!Preferences@{Preferences}} \paragraph[{add\_\-deny\_\-rule}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::add\_\-deny\_\-rule (const char $\ast$ {\em keyword}, \/ const char $\ast$ {\em operat}, \/ const char $\ast$ {\em id})}\hfill\label{classPreferences_55efff112a469fd6fb81ab9c68445ae5} \index{Preferences@{Preferences}!add\_\-score@{add\_\-score}} \index{add\_\-score@{add\_\-score}!Preferences@{Preferences}} \paragraph[{add\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::add\_\-score (const char $\ast$ {\em keyword}, \/ int {\em given\_\-score}, \/ const char $\ast$ {\em operat}, \/ const char $\ast$ {\em id})}\hfill\label{classPreferences_93573e40851102ac3f3ea570a564816c} \index{Preferences@{Preferences}!allow\_\-filters@{allow\_\-filters}} \index{allow\_\-filters@{allow\_\-filters}!Preferences@{Preferences}} \paragraph[{allow\_\-filters}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Filter} $>$ $\ast$ Preferences::allow\_\-filters (void)}\hfill\label{classPreferences_0de52e37ab68a0ae81e0c5a407655133} \index{Preferences@{Preferences}!default\_\-case@{default\_\-case}} \index{default\_\-case@{default\_\-case}!Preferences@{Preferences}} \paragraph[{default\_\-case}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::default\_\-case (void)}\hfill\label{classPreferences_52e7145907bb142641f73ac7791ce2c6} \index{Preferences@{Preferences}!delete\_\-duplicates@{delete\_\-duplicates}} \index{delete\_\-duplicates@{delete\_\-duplicates}!Preferences@{Preferences}} \paragraph[{delete\_\-duplicates}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::delete\_\-duplicates (void)}\hfill\label{classPreferences_c91a505ec620abd1e2c84a0bce070f5b} \index{Preferences@{Preferences}!deny\_\-filters@{deny\_\-filters}} \index{deny\_\-filters@{deny\_\-filters}!Preferences@{Preferences}} \paragraph[{deny\_\-filters}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Filter} $>$ $\ast$ Preferences::deny\_\-filters (void)}\hfill\label{classPreferences_d0e1567bd8f31112b27d225d9c975515} \index{Preferences@{Preferences}!headers\_\-file@{headers\_\-file}} \index{headers\_\-file@{headers\_\-file}!Preferences@{Preferences}} \paragraph[{headers\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}string Preferences::headers\_\-file (void)}\hfill\label{classPreferences_12d88b8213c125d2e9261b8baf011f08} \index{Preferences@{Preferences}!highscore@{highscore}} \index{highscore@{highscore}!Preferences@{Preferences}} \paragraph[{highscore}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::highscore (void)}\hfill\label{classPreferences_46f20146880cbb8af12e63902e1f2b33} \index{Preferences@{Preferences}!init@{init}} \index{init@{init}!Preferences@{Preferences}} \paragraph[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::init (void)}\hfill\label{classPreferences_46ecf6ca535a5aba2b68b941a66c81e3} \index{Preferences@{Preferences}!Instance@{Instance}} \index{Instance@{Instance}!Preferences@{Preferences}} \paragraph[{Instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Preferences} \& Preferences::Instance (void)\hspace{0.3cm}{\tt [static]}}\hfill\label{classPreferences_e4b949f0a47518c152e92120241d64d0} \index{Preferences@{Preferences}!kill@{kill}} \index{kill@{kill}!Preferences@{Preferences}} \paragraph[{kill}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::kill (void)}\hfill\label{classPreferences_70fbfe1ed1bdd745063c35b62084101d} \index{Preferences@{Preferences}!load@{load}} \index{load@{load}!Preferences@{Preferences}} \paragraph[{load}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::load (void)}\hfill\label{classPreferences_3d894765c4e383e24a70235ae610ad96} \index{Preferences@{Preferences}!log\_\-file@{log\_\-file}} \index{log\_\-file@{log\_\-file}!Preferences@{Preferences}} \paragraph[{log\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}string Preferences::log\_\-file (void)}\hfill\label{classPreferences_b70147910b8a36e9e17b6301c8dc07d3} \index{Preferences@{Preferences}!max\_\-size\_\-allow@{max\_\-size\_\-allow}} \index{max\_\-size\_\-allow@{max\_\-size\_\-allow}!Preferences@{Preferences}} \paragraph[{max\_\-size\_\-allow}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::max\_\-size\_\-allow (void)}\hfill\label{classPreferences_139bad88a384e35ef0754f915dfed37a} \index{Preferences@{Preferences}!max\_\-size\_\-deny@{max\_\-size\_\-deny}} \index{max\_\-size\_\-deny@{max\_\-size\_\-deny}!Preferences@{Preferences}} \paragraph[{max\_\-size\_\-deny}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::max\_\-size\_\-deny (void)}\hfill\label{classPreferences_05e741f8bb97aa0afb9639b50c55ee0c} \index{Preferences@{Preferences}!max\_\-size\_\-score@{max\_\-size\_\-score}} \index{max\_\-size\_\-score@{max\_\-size\_\-score}!Preferences@{Preferences}} \paragraph[{max\_\-size\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Size\_\-score} Preferences::max\_\-size\_\-score (void)}\hfill\label{classPreferences_100e98fa9125b2eef221a61ee9d4309d} \index{Preferences@{Preferences}!maxlength@{maxlength}} \index{maxlength@{maxlength}!Preferences@{Preferences}} \paragraph[{maxlength}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::maxlength (void)}\hfill\label{classPreferences_413622da211f3883410d919cf0430c9e} \index{Preferences@{Preferences}!neg\_\-allows@{neg\_\-allows}} \index{neg\_\-allows@{neg\_\-allows}!Preferences@{Preferences}} \paragraph[{neg\_\-allows}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::neg\_\-allows (void)}\hfill\label{classPreferences_9d31cb5c1699a6e1aab998261c4d5f1c} \index{Preferences@{Preferences}!neg\_\-denies@{neg\_\-denies}} \index{neg\_\-denies@{neg\_\-denies}!Preferences@{Preferences}} \paragraph[{neg\_\-denies}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::neg\_\-denies (void)}\hfill\label{classPreferences_73cf94b6597102465633b9700ef5d4c5} \index{Preferences@{Preferences}!normal@{normal}} \index{normal@{normal}!Preferences@{Preferences}} \paragraph[{normal}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::normal (void)}\hfill\label{classPreferences_3d967d393f6dce817b3e5eb3618759f2} \index{Preferences@{Preferences}!open@{open}} \index{open@{open}!Preferences@{Preferences}} \paragraph[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::open (const char $\ast$ {\em name})}\hfill\label{classPreferences_a7d1352a0a1152315d9e8cbb440ed603} \index{Preferences@{Preferences}!rc\_\-file@{rc\_\-file}} \index{rc\_\-file@{rc\_\-file}!Preferences@{Preferences}} \paragraph[{rc\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}string Preferences::rc\_\-file (void)}\hfill\label{classPreferences_f77084e00a96be0f7f3dae21a9e46b88} \index{Preferences@{Preferences}!reg\_\-type@{reg\_\-type}} \index{reg\_\-type@{reg\_\-type}!Preferences@{Preferences}} \paragraph[{reg\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::reg\_\-type (void)}\hfill\label{classPreferences_66395b943993458d9df28cab988abda8} \index{Preferences@{Preferences}!return\_\-status@{return\_\-status}} \index{return\_\-status@{return\_\-status}!Preferences@{Preferences}} \paragraph[{return\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::return\_\-status (void)}\hfill\label{classPreferences_3c7ec309cb681698faa84c3aefac3f20} \index{Preferences@{Preferences}!score\_\-filters@{score\_\-filters}} \index{score\_\-filters@{score\_\-filters}!Preferences@{Preferences}} \paragraph[{score\_\-filters}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Score} $>$ $\ast$ Preferences::score\_\-filters (void)}\hfill\label{classPreferences_520ff38784f3c2deb37628ff1a9bad64} \index{Preferences@{Preferences}!set\_\-connection@{set\_\-connection}} \index{set\_\-connection@{set\_\-connection}!Preferences@{Preferences}} \paragraph[{set\_\-connection}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-connection (unsigned int {\em p} = {\tt POSIX\_\-SOCKETS})}\hfill\label{classPreferences_9267543cb81e484869a72634cfe2299a} \index{Preferences@{Preferences}!set\_\-default\_\-case@{set\_\-default\_\-case}} \index{set\_\-default\_\-case@{set\_\-default\_\-case}!Preferences@{Preferences}} \paragraph[{set\_\-default\_\-case}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-default\_\-case (const char $\ast$ {\em new\_\-case})}\hfill\label{classPreferences_5d05bbe427e01908135594e0ade41405} \index{Preferences@{Preferences}!set\_\-del\_\-duplicates@{set\_\-del\_\-duplicates}} \index{set\_\-del\_\-duplicates@{set\_\-del\_\-duplicates}!Preferences@{Preferences}} \paragraph[{set\_\-del\_\-duplicates}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-del\_\-duplicates (const char $\ast$ {\em del})}\hfill\label{classPreferences_4fb6746b2fe32a0abe1f5d2314d848c7} \index{Preferences@{Preferences}!set\_\-headers\_\-file@{set\_\-headers\_\-file}} \index{set\_\-headers\_\-file@{set\_\-headers\_\-file}!Preferences@{Preferences}} \paragraph[{set\_\-headers\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-headers\_\-file (const char $\ast$ {\em name})}\hfill\label{classPreferences_0ca2b4346ae1eacc1ca2d0695af2029d} \index{Preferences@{Preferences}!set\_\-highscore@{set\_\-highscore}} \index{set\_\-highscore@{set\_\-highscore}!Preferences@{Preferences}} \paragraph[{set\_\-highscore}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-highscore (int {\em val})}\hfill\label{classPreferences_bde69b5a180d3bbc743451efd57e1ac6} \index{Preferences@{Preferences}!set\_\-log\_\-file@{set\_\-log\_\-file}} \index{set\_\-log\_\-file@{set\_\-log\_\-file}!Preferences@{Preferences}} \paragraph[{set\_\-log\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-log\_\-file (const char $\ast$ {\em name})}\hfill\label{classPreferences_aa84f4623e247b3cb56f5ea7d0ac1579} \index{Preferences@{Preferences}!set\_\-max\_\-size\_\-allow@{set\_\-max\_\-size\_\-allow}} \index{set\_\-max\_\-size\_\-allow@{set\_\-max\_\-size\_\-allow}!Preferences@{Preferences}} \paragraph[{set\_\-max\_\-size\_\-allow}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-max\_\-size\_\-allow (int {\em val})}\hfill\label{classPreferences_2753e9e3bc3bf15c5ed73a26ef2db9ef} \index{Preferences@{Preferences}!set\_\-max\_\-size\_\-deny@{set\_\-max\_\-size\_\-deny}} \index{set\_\-max\_\-size\_\-deny@{set\_\-max\_\-size\_\-deny}!Preferences@{Preferences}} \paragraph[{set\_\-max\_\-size\_\-deny}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-max\_\-size\_\-deny (int {\em val})}\hfill\label{classPreferences_8323008e771d4a4cb577ea5a6cd5af6c} \index{Preferences@{Preferences}!set\_\-max\_\-size\_\-score@{set\_\-max\_\-size\_\-score}} \index{set\_\-max\_\-size\_\-score@{set\_\-max\_\-size\_\-score}!Preferences@{Preferences}} \paragraph[{set\_\-max\_\-size\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-max\_\-size\_\-score (int {\em score}, \/ int {\em size})}\hfill\label{classPreferences_dc82f986dd6e1fdb2935938a3151aaf5} \index{Preferences@{Preferences}!set\_\-maxlength@{set\_\-maxlength}} \index{set\_\-maxlength@{set\_\-maxlength}!Preferences@{Preferences}} \paragraph[{set\_\-maxlength}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-maxlength (int {\em val})}\hfill\label{classPreferences_91e17b5740f9151bc077171fce90bea4} \index{Preferences@{Preferences}!set\_\-normal@{set\_\-normal}} \index{set\_\-normal@{set\_\-normal}!Preferences@{Preferences}} \paragraph[{set\_\-normal}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-normal (const char $\ast$ {\em par})}\hfill\label{classPreferences_e34eaff9c12d99475535b2d65b721aa8} \index{Preferences@{Preferences}!set\_\-passwd@{set\_\-passwd}} \index{set\_\-passwd@{set\_\-passwd}!Preferences@{Preferences}} \paragraph[{set\_\-passwd}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-passwd (const char $\ast$ {\em pass})}\hfill\label{classPreferences_3bba6dc213b23cfa8bd5dedab1d6bc2c} \index{Preferences@{Preferences}!set\_\-port@{set\_\-port}} \index{set\_\-port@{set\_\-port}!Preferences@{Preferences}} \paragraph[{set\_\-port}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-port (unsigned int {\em p})}\hfill\label{classPreferences_77f7fe1f6426aea3fdf372b8270d4807} \index{Preferences@{Preferences}!set\_\-protocol@{set\_\-protocol}} \index{set\_\-protocol@{set\_\-protocol}!Preferences@{Preferences}} \paragraph[{set\_\-protocol}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-protocol (const char $\ast$ {\em prot})}\hfill\label{classPreferences_afab91620b190a9376e0542a9f27d49c} \index{Preferences@{Preferences}!set\_\-rc\_\-file@{set\_\-rc\_\-file}} \index{set\_\-rc\_\-file@{set\_\-rc\_\-file}!Preferences@{Preferences}} \paragraph[{set\_\-rc\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-rc\_\-file (const char $\ast$ {\em name})}\hfill\label{classPreferences_d845e83217b77cc0d4a08d7883b0a40f} \index{Preferences@{Preferences}!set\_\-reg\_\-type@{set\_\-reg\_\-type}} \index{set\_\-reg\_\-type@{set\_\-reg\_\-type}!Preferences@{Preferences}} \paragraph[{set\_\-reg\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-reg\_\-type (const char $\ast$ {\em new\_\-type})}\hfill\label{classPreferences_d72b32c7670ec7e04426bc05450e37e7} \index{Preferences@{Preferences}!set\_\-return\_\-status@{set\_\-return\_\-status}} \index{set\_\-return\_\-status@{set\_\-return\_\-status}!Preferences@{Preferences}} \paragraph[{set\_\-return\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-return\_\-status (bool {\em st})}\hfill\label{classPreferences_2a080cea055eeee929d2845e2926d32f} \index{Preferences@{Preferences}!set\_\-server@{set\_\-server}} \index{set\_\-server@{set\_\-server}!Preferences@{Preferences}} \paragraph[{set\_\-server}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-server (const char $\ast$ {\em server})}\hfill\label{classPreferences_c650c18ffa32c10076c93167ca60c2d2} \index{Preferences@{Preferences}!set\_\-test\_\-mode@{set\_\-test\_\-mode}} \index{set\_\-test\_\-mode@{set\_\-test\_\-mode}!Preferences@{Preferences}} \paragraph[{set\_\-test\_\-mode}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-test\_\-mode (const char $\ast$ {\em par})}\hfill\label{classPreferences_26ea6a356d1492eb30e9d7b9853e79ff} \index{Preferences@{Preferences}!set\_\-time\_\-out@{set\_\-time\_\-out}} \index{set\_\-time\_\-out@{set\_\-time\_\-out}!Preferences@{Preferences}} \paragraph[{set\_\-time\_\-out}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-time\_\-out (unsigned int {\em val})}\hfill\label{classPreferences_63575bad9fc1a8c432a615f11fa907e2} \index{Preferences@{Preferences}!set\_\-usr@{set\_\-usr}} \index{set\_\-usr@{set\_\-usr}!Preferences@{Preferences}} \paragraph[{set\_\-usr}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-usr (const char $\ast$ {\em user})}\hfill\label{classPreferences_7ec7478498bfbfa417ddbb2499535da3} \index{Preferences@{Preferences}!set\_\-verbose\_\-level@{set\_\-verbose\_\-level}} \index{set\_\-verbose\_\-level@{set\_\-verbose\_\-level}!Preferences@{Preferences}} \paragraph[{set\_\-verbose\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}void Preferences::set\_\-verbose\_\-level (int {\em level})}\hfill\label{classPreferences_3c2a97b12ae2ff9525d6318ffe214357} \index{Preferences@{Preferences}!test\_\-mode@{test\_\-mode}} \index{test\_\-mode@{test\_\-mode}!Preferences@{Preferences}} \paragraph[{test\_\-mode}]{\setlength{\rightskip}{0pt plus 5cm}bool Preferences::test\_\-mode (void)}\hfill\label{classPreferences_90f544f3db10bb0518dbbd32595284b1} \index{Preferences@{Preferences}!time\_\-out@{time\_\-out}} \index{time\_\-out@{time\_\-out}!Preferences@{Preferences}} \paragraph[{time\_\-out}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Preferences::time\_\-out (void)}\hfill\label{classPreferences_7fe26586baf0ff47767bd1acc43d5a66} \index{Preferences@{Preferences}!verbose\_\-level@{verbose\_\-level}} \index{verbose\_\-level@{verbose\_\-level}!Preferences@{Preferences}} \paragraph[{verbose\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}int Preferences::verbose\_\-level (void)}\hfill\label{classPreferences_588ae9819d902fb8ea13f51d55775efd} \subsubsection{Member Data Documentation} \index{Preferences@{Preferences}!accnts@{accnts}} \index{accnts@{accnts}!Preferences@{Preferences}} \paragraph[{accnts}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Account}$>$ {\bf Preferences::accnts}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_c9e5ebc179c47dd2d5a0de327282b2b6} \index{Preferences@{Preferences}!allows@{allows}} \index{allows@{allows}!Preferences@{Preferences}} \paragraph[{allows}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Filter}$>$ {\bf Preferences::allows}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_e669c185b2a41f9be2fdd45e555087bb} \index{Preferences@{Preferences}!conn\_\-type@{conn\_\-type}} \index{conn\_\-type@{conn\_\-type}!Preferences@{Preferences}} \paragraph[{conn\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::conn\_\-type}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_fac7a9c11e4a35c95e51d29f45d052f0} \index{Preferences@{Preferences}!cur\_\-account@{cur\_\-account}} \index{cur\_\-account@{cur\_\-account}!Preferences@{Preferences}} \paragraph[{cur\_\-account}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Account} {\bf Preferences::cur\_\-account}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_bf10c6052bd762cbd5d1fa97e6f0f3fa} \index{Preferences@{Preferences}!del\_\-duplicates@{del\_\-duplicates}} \index{del\_\-duplicates@{del\_\-duplicates}!Preferences@{Preferences}} \paragraph[{del\_\-duplicates}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::del\_\-duplicates}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_135a3f6f8172d7e2ef5d4b0868ae82e4} \index{Preferences@{Preferences}!denies@{denies}} \index{denies@{denies}!Preferences@{Preferences}} \paragraph[{denies}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Filter}$>$ {\bf Preferences::denies}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_7c738e5cc26f54fc6b53914ba5c03a0f} \index{Preferences@{Preferences}!headers\_\-file\_\-name@{headers\_\-file\_\-name}} \index{headers\_\-file\_\-name@{headers\_\-file\_\-name}!Preferences@{Preferences}} \paragraph[{headers\_\-file\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Preferences::headers\_\-file\_\-name}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_87d974f1c122f9d0f1c3202e31016268} \index{Preferences@{Preferences}!high\_\-score@{high\_\-score}} \index{high\_\-score@{high\_\-score}!Preferences@{Preferences}} \paragraph[{high\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::high\_\-score}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_3e493f7da8cfe5c3cbf7d7b636a9dad6} \index{Preferences@{Preferences}!icase@{icase}} \index{icase@{icase}!Preferences@{Preferences}} \paragraph[{icase}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::icase}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_ee19bf8b0a59a564f29ae9ccc0f8196c} \index{Preferences@{Preferences}!log\_\-file\_\-name@{log\_\-file\_\-name}} \index{log\_\-file\_\-name@{log\_\-file\_\-name}!Preferences@{Preferences}} \paragraph[{log\_\-file\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Preferences::log\_\-file\_\-name}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_d28daf0963038ab26104c7ff5efc1fda} \index{Preferences@{Preferences}!max\_\-line\_\-length@{max\_\-line\_\-length}} \index{max\_\-line\_\-length@{max\_\-line\_\-length}!Preferences@{Preferences}} \paragraph[{max\_\-line\_\-length}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::max\_\-line\_\-length}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_9abf1e54f474ab8977fd0fe7dc864ea2} \index{Preferences@{Preferences}!max\_\-size@{max\_\-size}} \index{max\_\-size@{max\_\-size}!Preferences@{Preferences}} \paragraph[{max\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::max\_\-size}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_20c3d6f93eeb32c69be2cb59e2ed3f14} \index{Preferences@{Preferences}!max\_\-size\_\-friends@{max\_\-size\_\-friends}} \index{max\_\-size\_\-friends@{max\_\-size\_\-friends}!Preferences@{Preferences}} \paragraph[{max\_\-size\_\-friends}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::max\_\-size\_\-friends}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_68ae8561e444be21bac8f63ab715c9fd} \index{Preferences@{Preferences}!negative\_\-allows@{negative\_\-allows}} \index{negative\_\-allows@{negative\_\-allows}!Preferences@{Preferences}} \paragraph[{negative\_\-allows}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::negative\_\-allows}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_b5e4ea28e24a76b1a67ae79fe2f338d6} \index{Preferences@{Preferences}!negative\_\-denies@{negative\_\-denies}} \index{negative\_\-denies@{negative\_\-denies}!Preferences@{Preferences}} \paragraph[{negative\_\-denies}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::negative\_\-denies}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_c22010b49e7c5386f98f35cc248103d0} \index{Preferences@{Preferences}!negative\_\-scores@{negative\_\-scores}} \index{negative\_\-scores@{negative\_\-scores}!Preferences@{Preferences}} \paragraph[{negative\_\-scores}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::negative\_\-scores}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_85f352eb02d6ebf2f0e6cea6578a43ae} \index{Preferences@{Preferences}!norm@{norm}} \index{norm@{norm}!Preferences@{Preferences}} \paragraph[{norm}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::norm}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_d95657188d0fbb0fed7bc661c3865bbb} \index{Preferences@{Preferences}!prefs\_\-file\_\-name@{prefs\_\-file\_\-name}} \index{prefs\_\-file\_\-name@{prefs\_\-file\_\-name}!Preferences@{Preferences}} \paragraph[{prefs\_\-file\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Preferences::prefs\_\-file\_\-name}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_5d131246c4eed2e033e3af972532175d} \index{Preferences@{Preferences}!prefs\_\-stream@{prefs\_\-stream}} \index{prefs\_\-stream@{prefs\_\-stream}!Preferences@{Preferences}} \paragraph[{prefs\_\-stream}]{\setlength{\rightskip}{0pt plus 5cm}ifstream {\bf Preferences::prefs\_\-stream}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_2334e988652eedd1d15e1b03374af320} \index{Preferences@{Preferences}!ret\_\-status@{ret\_\-status}} \index{ret\_\-status@{ret\_\-status}!Preferences@{Preferences}} \paragraph[{ret\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::ret\_\-status}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_713d423c626220c94e95208b9d896bab} \index{Preferences@{Preferences}!rreg\_\-type@{rreg\_\-type}} \index{rreg\_\-type@{rreg\_\-type}!Preferences@{Preferences}} \paragraph[{rreg\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::rreg\_\-type}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_1a45e20df7963123112b6518b5f5fe2e} \index{Preferences@{Preferences}!scores@{scores}} \index{scores@{scores}!Preferences@{Preferences}} \paragraph[{scores}]{\setlength{\rightskip}{0pt plus 5cm}vector$<${\bf Score}$>$ {\bf Preferences::scores}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_bc1d6bd5f0c2f924fb988304bc95d15d} \index{Preferences@{Preferences}!show\_\-headers@{show\_\-headers}} \index{show\_\-headers@{show\_\-headers}!Preferences@{Preferences}} \paragraph[{show\_\-headers}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::show\_\-headers}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_5260cb45cb821dd24ab12a4816f40f86} \index{Preferences@{Preferences}!size\_\-score@{size\_\-score}} \index{size\_\-score@{size\_\-score}!Preferences@{Preferences}} \paragraph[{size\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Size\_\-score} {\bf Preferences::size\_\-score}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_cd0890b029c3eb860b86eb88d0e12141} \index{Preferences@{Preferences}!test@{test}} \index{test@{test}!Preferences@{Preferences}} \paragraph[{test}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::test}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_5ed08eca23db43e3e717119bfb2a277e} \index{Preferences@{Preferences}!test\_\-changed@{test\_\-changed}} \index{test\_\-changed@{test\_\-changed}!Preferences@{Preferences}} \paragraph[{test\_\-changed}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::test\_\-changed}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_55ba027c13ed59260f5b6a81534e7a9d} \index{Preferences@{Preferences}!time\_\-out\_\-val@{time\_\-out\_\-val}} \index{time\_\-out\_\-val@{time\_\-out\_\-val}!Preferences@{Preferences}} \paragraph[{time\_\-out\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}unsigned {\bf Preferences::time\_\-out\_\-val}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_f7f2776dd59475a43314fa2fb27e300b} \index{Preferences@{Preferences}!verbosity@{verbosity}} \index{verbosity@{verbosity}!Preferences@{Preferences}} \paragraph[{verbosity}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Preferences::verbosity}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_5ed276d8b447d58049db610a0defe05b} \index{Preferences@{Preferences}!verbosity\_\-changed@{verbosity\_\-changed}} \index{verbosity\_\-changed@{verbosity\_\-changed}!Preferences@{Preferences}} \paragraph[{verbosity\_\-changed}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Preferences::verbosity\_\-changed}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classPreferences_7516e6b40a41f6d846bf4c35f6a2ad76} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf preferences.hh}\item {\bf preferences.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/protocol_8cc.tex0000644000175000017500000000031011241450773016343 00000000000000\subsection{protocol.cc File Reference} \label{protocol_8cc}\index{protocol.cc@{protocol.cc}} {\tt \#include \char`\"{}connection.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par mailfilter-0.8.2/doc/api/latex/getopt_8h.tex0000644000175000017500000001003611241450773015654 00000000000000\subsection{getopt.h File Reference} \label{getopt_8h}\index{getopt.h@{getopt.h}} {\tt \#include $<$ctype.h$>$}\par \subsubsection*{Classes} \begin{CompactItemize} \item struct {\bf option} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf \_\-GETOPT\_\-H}~1 \item \#define {\bf no\_\-argument}~0 \item \#define {\bf required\_\-argument}~1 \item \#define {\bf optional\_\-argument}~2 \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item int {\bf getopt} () \item int {\bf getopt\_\-long} () \item int {\bf getopt\_\-long\_\-only} () \item int {\bf \_\-getopt\_\-internal} () \end{CompactItemize} \subsubsection*{Variables} \begin{CompactItemize} \item char $\ast$ {\bf optarg} \item int {\bf optind} \item int {\bf opterr} \item int {\bf optopt} \end{CompactItemize} \subsubsection{Define Documentation} \index{getopt.h@{getopt.h}!\_\-GETOPT\_\-H@{\_\-GETOPT\_\-H}} \index{\_\-GETOPT\_\-H@{\_\-GETOPT\_\-H}!getopt.h@{getopt.h}} \paragraph[{\_\-GETOPT\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-GETOPT\_\-H~1}\hfill\label{getopt_8h_aafc27a0389aa87797164b227566342d} \index{getopt.h@{getopt.h}!no\_\-argument@{no\_\-argument}} \index{no\_\-argument@{no\_\-argument}!getopt.h@{getopt.h}} \paragraph[{no\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define no\_\-argument~0}\hfill\label{getopt_8h_3bc1d5f667b5b4ca4b4abb685dc874ce} \index{getopt.h@{getopt.h}!optional\_\-argument@{optional\_\-argument}} \index{optional\_\-argument@{optional\_\-argument}!getopt.h@{getopt.h}} \paragraph[{optional\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define optional\_\-argument~2}\hfill\label{getopt_8h_cca06c0a947656bd8b395bf1084ffb72} \index{getopt.h@{getopt.h}!required\_\-argument@{required\_\-argument}} \index{required\_\-argument@{required\_\-argument}!getopt.h@{getopt.h}} \paragraph[{required\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define required\_\-argument~1}\hfill\label{getopt_8h_6ece8d8dfa8378778f7290fdaba5b8bc} \subsubsection{Function Documentation} \index{getopt.h@{getopt.h}!\_\-getopt\_\-internal@{\_\-getopt\_\-internal}} \index{\_\-getopt\_\-internal@{\_\-getopt\_\-internal}!getopt.h@{getopt.h}} \paragraph[{\_\-getopt\_\-internal}]{\setlength{\rightskip}{0pt plus 5cm}int \_\-getopt\_\-internal ()}\hfill\label{getopt_8h_60428225710059ca135c6b2a8941855f} \index{getopt.h@{getopt.h}!getopt@{getopt}} \index{getopt@{getopt}!getopt.h@{getopt.h}} \paragraph[{getopt}]{\setlength{\rightskip}{0pt plus 5cm}int getopt ()}\hfill\label{getopt_8h_6c5b232cca42dab05f40b47f69715f8b} \index{getopt.h@{getopt.h}!getopt\_\-long@{getopt\_\-long}} \index{getopt\_\-long@{getopt\_\-long}!getopt.h@{getopt.h}} \paragraph[{getopt\_\-long}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long ()}\hfill\label{getopt_8h_8616b8a74ae6c01a7ad95ad2876226ec} \index{getopt.h@{getopt.h}!getopt\_\-long\_\-only@{getopt\_\-long\_\-only}} \index{getopt\_\-long\_\-only@{getopt\_\-long\_\-only}!getopt.h@{getopt.h}} \paragraph[{getopt\_\-long\_\-only}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long\_\-only ()}\hfill\label{getopt_8h_c07930413317507d5c51c19b3ac6ed20} \subsubsection{Variable Documentation} \index{getopt.h@{getopt.h}!optarg@{optarg}} \index{optarg@{optarg}!getopt.h@{getopt.h}} \paragraph[{optarg}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf optarg}}\hfill\label{getopt_8h_db50a0eab9fed92fc3bfc7dfa4f2c410} \index{getopt.h@{getopt.h}!opterr@{opterr}} \index{opterr@{opterr}!getopt.h@{getopt.h}} \paragraph[{opterr}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf opterr}}\hfill\label{getopt_8h_e30f05ee1e2e5652f174a35c7875d25e} \index{getopt.h@{getopt.h}!optind@{optind}} \index{optind@{optind}!getopt.h@{getopt.h}} \paragraph[{optind}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf optind}}\hfill\label{getopt_8h_d5e1c16213bbee2d5e8cc363309f418c} \index{getopt.h@{getopt.h}!optopt@{optopt}} \index{optopt@{optopt}!getopt.h@{getopt.h}} \paragraph[{optopt}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf optopt}}\hfill\label{getopt_8h_475b8db98445da73e5f62a1ef6324b95} mailfilter-0.8.2/doc/api/latex/files.tex0000644000175000017500000000354311241450773015062 00000000000000\subsection{File List} Here is a list of all files with brief descriptions:\begin{CompactList} \item\contentsline{section}{{\bf account.cc} }{\pageref{account_8cc}}{} \item\contentsline{section}{{\bf account.hh} }{\pageref{account_8hh}}{} \item\contentsline{section}{{\bf apop.cc} }{\pageref{apop_8cc}}{} \item\contentsline{section}{{\bf apop.hh} }{\pageref{apop_8hh}}{} \item\contentsline{section}{{\bf connection.hh} }{\pageref{connection_8hh}}{} \item\contentsline{section}{{\bf feedback.cc} }{\pageref{feedback_8cc}}{} \item\contentsline{section}{{\bf feedback.hh} }{\pageref{feedback_8hh}}{} \item\contentsline{section}{{\bf filter.cc} }{\pageref{filter_8cc}}{} \item\contentsline{section}{{\bf filter.hh} }{\pageref{filter_8hh}}{} \item\contentsline{section}{{\bf getopt.c} }{\pageref{getopt_8c}}{} \item\contentsline{section}{{\bf getopt.h} }{\pageref{getopt_8h}}{} \item\contentsline{section}{{\bf getopt1.c} }{\pageref{getopt1_8c}}{} \item\contentsline{section}{{\bf mailfilter.cc} }{\pageref{mailfilter_8cc}}{} \item\contentsline{section}{{\bf mailfilter.hh} }{\pageref{mailfilter_8hh}}{} \item\contentsline{section}{{\bf md5.h} }{\pageref{md5_8h}}{} \item\contentsline{section}{{\bf md5c.c} }{\pageref{md5c_8c}}{} \item\contentsline{section}{{\bf pop3.cc} }{\pageref{pop3_8cc}}{} \item\contentsline{section}{{\bf pop3.hh} }{\pageref{pop3_8hh}}{} \item\contentsline{section}{{\bf preferences.cc} }{\pageref{preferences_8cc}}{} \item\contentsline{section}{{\bf preferences.hh} }{\pageref{preferences_8hh}}{} \item\contentsline{section}{{\bf protocol.cc} }{\pageref{protocol_8cc}}{} \item\contentsline{section}{{\bf protocol.hh} }{\pageref{protocol_8hh}}{} \item\contentsline{section}{{\bf score.hh} }{\pageref{score_8hh}}{} \item\contentsline{section}{{\bf socket.cc} }{\pageref{socket_8cc}}{} \item\contentsline{section}{{\bf socket.hh} }{\pageref{socket_8hh}}{} \end{CompactList} mailfilter-0.8.2/doc/api/latex/classScore.tex0000644000175000017500000000264511241450773016063 00000000000000\subsection{Score Class Reference} \label{classScore}\index{Score@{Score}} {\tt \#include $<$score.hh$>$} Inheritance diagram for Score::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classScore} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item int {\bf score} (void) const \item void {\bf set\_\-score} (int) \end{CompactItemize} \subsubsection*{Protected Attributes} \begin{CompactItemize} \item int {\bf scr} \end{CompactItemize} \subsubsection{Member Function Documentation} \index{Score@{Score}!score@{score}} \index{score@{score}!Score@{Score}} \paragraph[{score}]{\setlength{\rightskip}{0pt plus 5cm}int Score::score (void) const}\hfill\label{classScore_3056988737dd58e89c153f5cc0b66fa2} \index{Score@{Score}!set\_\-score@{set\_\-score}} \index{set\_\-score@{set\_\-score}!Score@{Score}} \paragraph[{set\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}void Score::set\_\-score (int)}\hfill\label{classScore_e2b4280bd9e9de22eb9b8482d5d043fb} \subsubsection{Member Data Documentation} \index{Score@{Score}!scr@{scr}} \index{scr@{scr}!Score@{Score}} \paragraph[{scr}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Score::scr}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classScore_fd3f23c49930d499fdcd677799e583a3} The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf score.hh}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/filter_8cc.tex0000644000175000017500000000060111241450773015772 00000000000000\subsection{filter.cc File Reference} \label{filter_8cc}\index{filter.cc@{filter.cc}} {\tt \#include $<$iostream$>$}\par {\tt \#include $<$string$>$}\par {\tt \#include $<$sys/types.h$>$}\par {\tt \#include $<$regex.h$>$}\par {\tt \#include \char`\"{}filter.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par mailfilter-0.8.2/doc/api/latex/md5c_8c.tex0000644000175000017500000002040611241450773015177 00000000000000\subsection{md5c.c File Reference} \label{md5c_8c}\index{md5c.c@{md5c.c}} {\tt \#include \char`\"{}md5.h\char`\"{}}\par \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf S11}~7 \item \#define {\bf S12}~12 \item \#define {\bf S13}~17 \item \#define {\bf S14}~22 \item \#define {\bf S21}~5 \item \#define {\bf S22}~9 \item \#define {\bf S23}~14 \item \#define {\bf S24}~20 \item \#define {\bf S31}~4 \item \#define {\bf S32}~11 \item \#define {\bf S33}~16 \item \#define {\bf S34}~23 \item \#define {\bf S41}~6 \item \#define {\bf S42}~10 \item \#define {\bf S43}~15 \item \#define {\bf S44}~21 \item \#define {\bf F}(x, y, z)~(((x) \& (y)) $|$ (($\sim$x) \& (z))) \item \#define {\bf G}(x, y, z)~(((x) \& (z)) $|$ ((y) \& ($\sim$z))) \item \#define {\bf H}(x, y, z)~((x) $^\wedge$ (y) $^\wedge$ (z)) \item \#define {\bf I}(x, y, z)~((y) $^\wedge$ ((x) $|$ ($\sim$z))) \item \#define {\bf ROTATE\_\-LEFT}(x, n)~(((x) $<$$<$ (n)) $|$ ((x) $>$$>$ (32-(n)))) \item \#define {\bf FF}(a, b, c, d, x, s, ac) \item \#define {\bf GG}(a, b, c, d, x, s, ac) \item \#define {\bf HH}(a, b, c, d, x, s, ac) \item \#define {\bf II}(a, b, c, d, x, s, ac) \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item void {\bf MD5Init} ({\bf MD5\_\-CTX} $\ast$context) \item void {\bf MD5Update} ({\bf MD5\_\-CTX} $\ast$context, unsigned char $\ast$input, unsigned int inputLen) \item void {\bf MD5Final} (digest, {\bf MD5\_\-CTX} $\ast$context) \end{CompactItemize} \subsubsection{Define Documentation} \index{md5c.c@{md5c.c}!F@{F}} \index{F@{F}!md5c.c@{md5c.c}} \paragraph[{F}]{\setlength{\rightskip}{0pt plus 5cm}\#define F(x, \/ y, \/ z)~(((x) \& (y)) $|$ (($\sim$x) \& (z)))}\hfill\label{md5c_8c_96d73bbd7af15cb1fc38c3f4a3bd82e9} \index{md5c.c@{md5c.c}!FF@{FF}} \index{FF@{FF}!md5c.c@{md5c.c}} \paragraph[{FF}]{\setlength{\rightskip}{0pt plus 5cm}\#define FF(a, \/ b, \/ c, \/ d, \/ x, \/ s, \/ ac)}\hfill\label{md5c_8c_0a143972cb6c4fe16f0ffa8a3d41ebf3} \textbf{Value:} \begin{Code}\begin{verbatim}{ \ (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } \end{verbatim} \end{Code} \index{md5c.c@{md5c.c}!G@{G}} \index{G@{G}!md5c.c@{md5c.c}} \paragraph[{G}]{\setlength{\rightskip}{0pt plus 5cm}\#define G(x, \/ y, \/ z)~(((x) \& (z)) $|$ ((y) \& ($\sim$z)))}\hfill\label{md5c_8c_d96b7cf3182ce2ba85e5a7a93b12c441} \index{md5c.c@{md5c.c}!GG@{GG}} \index{GG@{GG}!md5c.c@{md5c.c}} \paragraph[{GG}]{\setlength{\rightskip}{0pt plus 5cm}\#define GG(a, \/ b, \/ c, \/ d, \/ x, \/ s, \/ ac)}\hfill\label{md5c_8c_685f32faa2a66e743850b990a13b8bfa} \textbf{Value:} \begin{Code}\begin{verbatim}{ \ (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } \end{verbatim} \end{Code} \index{md5c.c@{md5c.c}!H@{H}} \index{H@{H}!md5c.c@{md5c.c}} \paragraph[{H}]{\setlength{\rightskip}{0pt plus 5cm}\#define H(x, \/ y, \/ z)~((x) $^\wedge$ (y) $^\wedge$ (z))}\hfill\label{md5c_8c_e42219072d798876e6b08e6b78614ff6} \index{md5c.c@{md5c.c}!HH@{HH}} \index{HH@{HH}!md5c.c@{md5c.c}} \paragraph[{HH}]{\setlength{\rightskip}{0pt plus 5cm}\#define HH(a, \/ b, \/ c, \/ d, \/ x, \/ s, \/ ac)}\hfill\label{md5c_8c_8b9f1c4778df01ef970b87dbe5541dc5} \textbf{Value:} \begin{Code}\begin{verbatim}{ \ (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } \end{verbatim} \end{Code} \index{md5c.c@{md5c.c}!I@{I}} \index{I@{I}!md5c.c@{md5c.c}} \paragraph[{I}]{\setlength{\rightskip}{0pt plus 5cm}\#define I(x, \/ y, \/ z)~((y) $^\wedge$ ((x) $|$ ($\sim$z)))}\hfill\label{md5c_8c_c0eafdc9ee161b71e7af98af736952fd} \index{md5c.c@{md5c.c}!II@{II}} \index{II@{II}!md5c.c@{md5c.c}} \paragraph[{II}]{\setlength{\rightskip}{0pt plus 5cm}\#define II(a, \/ b, \/ c, \/ d, \/ x, \/ s, \/ ac)}\hfill\label{md5c_8c_d26626e5efb37b2dadef4e88e35e4329} \textbf{Value:} \begin{Code}\begin{verbatim}{ \ (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } \end{verbatim} \end{Code} \index{md5c.c@{md5c.c}!ROTATE\_\-LEFT@{ROTATE\_\-LEFT}} \index{ROTATE\_\-LEFT@{ROTATE\_\-LEFT}!md5c.c@{md5c.c}} \paragraph[{ROTATE\_\-LEFT}]{\setlength{\rightskip}{0pt plus 5cm}\#define ROTATE\_\-LEFT(x, \/ n)~(((x) $<$$<$ (n)) $|$ ((x) $>$$>$ (32-(n))))}\hfill\label{md5c_8c_7417fd4e875360c0533fa5b412cdab49} \index{md5c.c@{md5c.c}!S11@{S11}} \index{S11@{S11}!md5c.c@{md5c.c}} \paragraph[{S11}]{\setlength{\rightskip}{0pt plus 5cm}\#define S11~7}\hfill\label{md5c_8c_51398c0e5541164ad4d6615880073305} \index{md5c.c@{md5c.c}!S12@{S12}} \index{S12@{S12}!md5c.c@{md5c.c}} \paragraph[{S12}]{\setlength{\rightskip}{0pt plus 5cm}\#define S12~12}\hfill\label{md5c_8c_1ec499cd0e54ecc28c2ac2afea5b038e} \index{md5c.c@{md5c.c}!S13@{S13}} \index{S13@{S13}!md5c.c@{md5c.c}} \paragraph[{S13}]{\setlength{\rightskip}{0pt plus 5cm}\#define S13~17}\hfill\label{md5c_8c_aeec90429105fb54d853dd4fc7027a54} \index{md5c.c@{md5c.c}!S14@{S14}} \index{S14@{S14}!md5c.c@{md5c.c}} \paragraph[{S14}]{\setlength{\rightskip}{0pt plus 5cm}\#define S14~22}\hfill\label{md5c_8c_78342b0ccde2ed12fdf19a113cc266cf} \index{md5c.c@{md5c.c}!S21@{S21}} \index{S21@{S21}!md5c.c@{md5c.c}} \paragraph[{S21}]{\setlength{\rightskip}{0pt plus 5cm}\#define S21~5}\hfill\label{md5c_8c_b6d5354f647a0e7592a1f051fc8377b2} \index{md5c.c@{md5c.c}!S22@{S22}} \index{S22@{S22}!md5c.c@{md5c.c}} \paragraph[{S22}]{\setlength{\rightskip}{0pt plus 5cm}\#define S22~9}\hfill\label{md5c_8c_ddad30455da936bc1879ee9c72b46d59} \index{md5c.c@{md5c.c}!S23@{S23}} \index{S23@{S23}!md5c.c@{md5c.c}} \paragraph[{S23}]{\setlength{\rightskip}{0pt plus 5cm}\#define S23~14}\hfill\label{md5c_8c_6321a8b29628936f76e9e78cf5bda95f} \index{md5c.c@{md5c.c}!S24@{S24}} \index{S24@{S24}!md5c.c@{md5c.c}} \paragraph[{S24}]{\setlength{\rightskip}{0pt plus 5cm}\#define S24~20}\hfill\label{md5c_8c_0c09eb77d30a0d5f9154914147b86c20} \index{md5c.c@{md5c.c}!S31@{S31}} \index{S31@{S31}!md5c.c@{md5c.c}} \paragraph[{S31}]{\setlength{\rightskip}{0pt plus 5cm}\#define S31~4}\hfill\label{md5c_8c_ef26590f8a880ee6f4a158168defcd89} \index{md5c.c@{md5c.c}!S32@{S32}} \index{S32@{S32}!md5c.c@{md5c.c}} \paragraph[{S32}]{\setlength{\rightskip}{0pt plus 5cm}\#define S32~11}\hfill\label{md5c_8c_1d512424dd8a91e0a5bcc98563f33914} \index{md5c.c@{md5c.c}!S33@{S33}} \index{S33@{S33}!md5c.c@{md5c.c}} \paragraph[{S33}]{\setlength{\rightskip}{0pt plus 5cm}\#define S33~16}\hfill\label{md5c_8c_1c854214533f6220e859b0063196abb3} \index{md5c.c@{md5c.c}!S34@{S34}} \index{S34@{S34}!md5c.c@{md5c.c}} \paragraph[{S34}]{\setlength{\rightskip}{0pt plus 5cm}\#define S34~23}\hfill\label{md5c_8c_f6472be1d535970afee8e5266a74aa07} \index{md5c.c@{md5c.c}!S41@{S41}} \index{S41@{S41}!md5c.c@{md5c.c}} \paragraph[{S41}]{\setlength{\rightskip}{0pt plus 5cm}\#define S41~6}\hfill\label{md5c_8c_b674ba129e588da55d1d494e1cf3c15e} \index{md5c.c@{md5c.c}!S42@{S42}} \index{S42@{S42}!md5c.c@{md5c.c}} \paragraph[{S42}]{\setlength{\rightskip}{0pt plus 5cm}\#define S42~10}\hfill\label{md5c_8c_268ef1a49114a94b931cc6b313e3cd1b} \index{md5c.c@{md5c.c}!S43@{S43}} \index{S43@{S43}!md5c.c@{md5c.c}} \paragraph[{S43}]{\setlength{\rightskip}{0pt plus 5cm}\#define S43~15}\hfill\label{md5c_8c_5aaa7121f39650d472746942ca68f959} \index{md5c.c@{md5c.c}!S44@{S44}} \index{S44@{S44}!md5c.c@{md5c.c}} \paragraph[{S44}]{\setlength{\rightskip}{0pt plus 5cm}\#define S44~21}\hfill\label{md5c_8c_6a3989af72b55d169bd73a66f8620aae} \subsubsection{Function Documentation} \index{md5c.c@{md5c.c}!MD5Final@{MD5Final}} \index{MD5Final@{MD5Final}!md5c.c@{md5c.c}} \paragraph[{MD5Final}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Final (digest, \/ {\bf MD5\_\-CTX} $\ast$ {\em context})}\hfill\label{md5c_8c_6265921688d4d2f4fb2456dfe7a2828a} \index{md5c.c@{md5c.c}!MD5Init@{MD5Init}} \index{MD5Init@{MD5Init}!md5c.c@{md5c.c}} \paragraph[{MD5Init}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Init ({\bf MD5\_\-CTX} $\ast$ {\em context})}\hfill\label{md5c_8c_08e47999152d737f33fda2b8729c4f7c} \index{md5c.c@{md5c.c}!MD5Update@{MD5Update}} \index{MD5Update@{MD5Update}!md5c.c@{md5c.c}} \paragraph[{MD5Update}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Update ({\bf MD5\_\-CTX} $\ast$ {\em context}, \/ unsigned char $\ast$ {\em input}, \/ unsigned int {\em inputLen})}\hfill\label{md5c_8c_a5b3e14ee3b69e0c7e10d69c9e538b3e} mailfilter-0.8.2/doc/api/latex/classFilter.eps0000644000175000017500000000717411241450773016226 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 740.741 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 0.675 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (Filter) cw (Score) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (Filter) 0 1 box (Score) 0 0 box % ----- relations ----- solid 1 0 0.25 out solid 0 0 0.75 in mailfilter-0.8.2/doc/api/latex/classPOP3.eps0000644000175000017500000000727211241450773015521 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 895.522 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 0.558333 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 3 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (POP3) cw (Protocol) cw (APOP) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (POP3) 0 1 box (Protocol) 0 2 box (APOP) 0 0 box % ----- relations ----- solid 0 0 1 out solid 1 0 2 in solid 1 0 0.25 out solid 0 0 0.75 in mailfilter-0.8.2/doc/api/latex/getopt_8c.tex0000644000175000017500000001344411241450773015655 00000000000000\subsection{getopt.c File Reference} \label{getopt_8c}\index{getopt.c@{getopt.c}} {\tt \#include $<$stdio.h$>$}\par {\tt \#include \char`\"{}getopt.h\char`\"{}}\par {\tt \#include $<$strings.h$>$}\par \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf GETOPT\_\-INTERFACE\_\-VERSION}~2 \item \#define {\bf \_\-}(msgid)~(msgid) \item \#define {\bf SWAP\_\-FLAGS}(ch1, ch2) \item \#define {\bf NONOPTION\_\-P}~(argv[{\bf optind}][0] != '-' $|$$|$ argv[{\bf optind}][1] == '$\backslash$0') \end{CompactItemize} \subsubsection*{Enumerations} \begin{CompactItemize} \item enum \{ {\bf REQUIRE\_\-ORDER}, {\bf PERMUTE}, {\bf RETURN\_\-IN\_\-ORDER} \} \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item char $\ast$ {\bf getenv} () \item int {\bf \_\-getopt\_\-internal} (int argc, char $\ast$const $\ast$argv, const char $\ast$optstring, const struct {\bf option} $\ast$longopts, int $\ast$longind, int long\_\-only) \item int {\bf getopt} (int argc, char $\ast$const $\ast$argv, const char $\ast$optstring) \end{CompactItemize} \subsubsection*{Variables} \begin{CompactItemize} \item char $\ast$ {\bf optarg} \item int {\bf optind} = 1 \item int {\bf \_\-\_\-getopt\_\-initialized} \item int {\bf opterr} = 1 \item int {\bf optopt} = '?' \end{CompactItemize} \subsubsection{Define Documentation} \index{getopt.c@{getopt.c}!\_\-@{\_\-}} \index{\_\-@{\_\-}!getopt.c@{getopt.c}} \paragraph[{\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-(msgid)~(msgid)}\hfill\label{getopt_8c_86a239addea586602343007a370bf8ad} \index{getopt.c@{getopt.c}!GETOPT\_\-INTERFACE\_\-VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}} \index{GETOPT\_\-INTERFACE\_\-VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}!getopt.c@{getopt.c}} \paragraph[{GETOPT\_\-INTERFACE\_\-VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define GETOPT\_\-INTERFACE\_\-VERSION~2}\hfill\label{getopt_8c_5325c715897861c318d3ae312ac452cc} \index{getopt.c@{getopt.c}!NONOPTION\_\-P@{NONOPTION\_\-P}} \index{NONOPTION\_\-P@{NONOPTION\_\-P}!getopt.c@{getopt.c}} \paragraph[{NONOPTION\_\-P}]{\setlength{\rightskip}{0pt plus 5cm}\#define NONOPTION\_\-P~(argv[{\bf optind}][0] != '-' $|$$|$ argv[{\bf optind}][1] == '$\backslash$0')}\hfill\label{getopt_8c_71ceb8911d64b39b402041ba5ea8453c} \index{getopt.c@{getopt.c}!SWAP\_\-FLAGS@{SWAP\_\-FLAGS}} \index{SWAP\_\-FLAGS@{SWAP\_\-FLAGS}!getopt.c@{getopt.c}} \paragraph[{SWAP\_\-FLAGS}]{\setlength{\rightskip}{0pt plus 5cm}\#define SWAP\_\-FLAGS(ch1, \/ ch2)}\hfill\label{getopt_8c_6e06e56c5fa96faaf47f3b231e015e35} \subsubsection{Enumeration Type Documentation} \paragraph[{"@0}]{\setlength{\rightskip}{0pt plus 5cm}anonymous enum}\hfill\label{getopt_8c_06fc87d81c62e9abb8790b6e5713c55b} \begin{Desc} \item[Enumerator: ]\par \begin{description} \index{REQUIRE\_\-ORDER@{REQUIRE\_\-ORDER}!getopt.c@{getopt.c}}\index{getopt.c@{getopt.c}!REQUIRE\_\-ORDER@{REQUIRE\_\-ORDER}}\item[{\em REQUIRE\_\-ORDER\label{getopt_8c_06fc87d81c62e9abb8790b6e5713c55b0e73a0691c110b1442d8364d1d12eccc} }]\index{PERMUTE@{PERMUTE}!getopt.c@{getopt.c}}\index{getopt.c@{getopt.c}!PERMUTE@{PERMUTE}}\item[{\em PERMUTE\label{getopt_8c_06fc87d81c62e9abb8790b6e5713c55bcfdde4b47c27f4efbd832e1ac7f8a8fc} }]\index{RETURN\_\-IN\_\-ORDER@{RETURN\_\-IN\_\-ORDER}!getopt.c@{getopt.c}}\index{getopt.c@{getopt.c}!RETURN\_\-IN\_\-ORDER@{RETURN\_\-IN\_\-ORDER}}\item[{\em RETURN\_\-IN\_\-ORDER\label{getopt_8c_06fc87d81c62e9abb8790b6e5713c55b3c56550bfafe809d9214b863b69c31c5} }]\end{description} \end{Desc} \subsubsection{Function Documentation} \index{getopt.c@{getopt.c}!\_\-getopt\_\-internal@{\_\-getopt\_\-internal}} \index{\_\-getopt\_\-internal@{\_\-getopt\_\-internal}!getopt.c@{getopt.c}} \paragraph[{\_\-getopt\_\-internal}]{\setlength{\rightskip}{0pt plus 5cm}int \_\-getopt\_\-internal (int {\em argc}, \/ char $\ast$const $\ast$ {\em argv}, \/ const char $\ast$ {\em optstring}, \/ const struct {\bf option} $\ast$ {\em longopts}, \/ int $\ast$ {\em longind}, \/ int {\em long\_\-only})}\hfill\label{getopt_8c_0df92a0ae8fe1fd43268c738f548674f} \index{getopt.c@{getopt.c}!getenv@{getenv}} \index{getenv@{getenv}!getopt.c@{getopt.c}} \paragraph[{getenv}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ getenv ()}\hfill\label{getopt_8c_ee28fd8a0e40b6d958f7d20348e45368} \index{getopt.c@{getopt.c}!getopt@{getopt}} \index{getopt@{getopt}!getopt.c@{getopt.c}} \paragraph[{getopt}]{\setlength{\rightskip}{0pt plus 5cm}int getopt (int {\em argc}, \/ char $\ast$const $\ast$ {\em argv}, \/ const char $\ast$ {\em optstring})}\hfill\label{getopt_8c_1b2ada39ab92162c6ec9c67c8093fa2e} \subsubsection{Variable Documentation} \index{getopt.c@{getopt.c}!\_\-\_\-getopt\_\-initialized@{\_\-\_\-getopt\_\-initialized}} \index{\_\-\_\-getopt\_\-initialized@{\_\-\_\-getopt\_\-initialized}!getopt.c@{getopt.c}} \paragraph[{\_\-\_\-getopt\_\-initialized}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \_\-\_\-getopt\_\-initialized}}\hfill\label{getopt_8c_28286be757527aeb1db951b5da9aeec1} \index{getopt.c@{getopt.c}!optarg@{optarg}} \index{optarg@{optarg}!getopt.c@{getopt.c}} \paragraph[{optarg}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf optarg}}\hfill\label{getopt_8c_db50a0eab9fed92fc3bfc7dfa4f2c410} \index{getopt.c@{getopt.c}!opterr@{opterr}} \index{opterr@{opterr}!getopt.c@{getopt.c}} \paragraph[{opterr}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf opterr} = 1}\hfill\label{getopt_8c_e30f05ee1e2e5652f174a35c7875d25e} \index{getopt.c@{getopt.c}!optind@{optind}} \index{optind@{optind}!getopt.c@{getopt.c}} \paragraph[{optind}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf optind} = 1}\hfill\label{getopt_8c_d5e1c16213bbee2d5e8cc363309f418c} \index{getopt.c@{getopt.c}!optopt@{optopt}} \index{optopt@{optopt}!getopt.c@{getopt.c}} \paragraph[{optopt}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf optopt} = '?'}\hfill\label{getopt_8c_475b8db98445da73e5f62a1ef6324b95} mailfilter-0.8.2/doc/api/latex/account_8hh.tex0000644000175000017500000000077111241450773016163 00000000000000\subsection{account.hh File Reference} \label{account_8hh}\index{account.hh@{account.hh}} {\tt \#include $<$string$>$}\par {\tt \#include $<$vector$>$}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par {\tt \#include \char`\"{}pop3.hh\char`\"{}}\par {\tt \#include \char`\"{}apop.hh\char`\"{}}\par {\tt \#include \char`\"{}connection.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Account} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/preferences_8cc.tex0000644000175000017500000000322111241450773017007 00000000000000\subsection{preferences.cc File Reference} \label{preferences_8cc}\index{preferences.cc@{preferences.cc}} {\tt \#include $<$string$>$}\par {\tt \#include $<$cstring$>$}\par {\tt \#include $<$cstdlib$>$}\par {\tt \#include $<$cctype$>$}\par {\tt \#include $<$fstream$>$}\par {\tt \#include $<$vector$>$}\par {\tt \#include $<$stdexcept$>$}\par {\tt \#include $<$cstdio$>$}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par {\tt \#include \char`\"{}filter.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}account.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par {\tt \#include \char`\"{}score.hh\char`\"{}}\par {\tt \#include \char`\"{}rcfile.hh\char`\"{}}\par {\tt \#include $<$wordexp.h$>$}\par {\tt \#include $<$sys/types.h$>$}\par {\tt \#include $<$regex.h$>$}\par \subsubsection*{Functions} \begin{CompactItemize} \item int {\bf rcparse} (void $\ast$) \item int {\bf cmp\_\-no\_\-case} (const string \&, const string \&) \end{CompactItemize} \subsubsection{Function Documentation} \index{preferences.cc@{preferences.cc}!cmp\_\-no\_\-case@{cmp\_\-no\_\-case}} \index{cmp\_\-no\_\-case@{cmp\_\-no\_\-case}!preferences.cc@{preferences.cc}} \paragraph[{cmp\_\-no\_\-case}]{\setlength{\rightskip}{0pt plus 5cm}int cmp\_\-no\_\-case (const string \&, \/ const string \&)}\hfill\label{preferences_8cc_fb83c30b29c387537092966aa333c78e} \index{preferences.cc@{preferences.cc}!rcparse@{rcparse}} \index{rcparse@{rcparse}!preferences.cc@{preferences.cc}} \paragraph[{rcparse}]{\setlength{\rightskip}{0pt plus 5cm}int rcparse (void $\ast$)}\hfill\label{preferences_8cc_ae0927db5ef11d0a5aa6cf30856d9661} mailfilter-0.8.2/doc/api/latex/classConnection.eps0000644000175000017500000000720411241450773017072 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 476.19 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 1.05 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (Connection) cw (Socket) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (Connection) 0 1 box (Socket) 0 0 box % ----- relations ----- solid 1 0 0.25 out solid 0 0 0.75 in mailfilter-0.8.2/doc/api/latex/refman.tex0000644000175000017500000000307011241450773015223 00000000000000\documentclass[a4paper]{article} \usepackage{a4wide} \usepackage{makeidx} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{multicol} \usepackage{float} \usepackage{textcomp} \usepackage{alltt} \usepackage[utf8]{inputenc} \usepackage{doxygen} \makeindex \setcounter{tocdepth}{3} \renewcommand{\footrulewidth}{0.4pt} \begin{document} \begin{titlepage} \vspace*{7cm} \begin{center} {\Large mailfilter \\[1ex]\large 0.8.2 }\\ \vspace*{1cm} {\large Generated by Doxygen 1.5.8}\\ \vspace*{0.5cm} {\small Sat Aug 15 16:13:12 2009}\\ \end{center} \end{titlepage} \pagenumbering{roman} \tableofcontents \pagenumbering{arabic} \section{Class Index} \input{hierarchy} \section{Class Index} \input{annotated} \section{File Index} \input{files} \section{Class Documentation} \input{classAccount} \input{classAPOP} \input{classConnection} \input{classFeedback} \input{classFilter} \input{structMD5__CTX} \input{structoption} \input{classPOP3} \input{classPreferences} \input{classProtocol} \input{classScore} \input{classSize__score} \input{classSocket} \section{File Documentation} \input{account_8cc} \input{account_8hh} \input{apop_8cc} \input{apop_8hh} \input{connection_8hh} \input{feedback_8cc} \input{feedback_8hh} \input{filter_8cc} \input{filter_8hh} \input{getopt_8c} \input{getopt_8h} \input{getopt1_8c} \input{mailfilter_8cc} \input{mailfilter_8hh} \input{md5_8h} \input{md5c_8c} \input{pop3_8cc} \input{pop3_8hh} \input{preferences_8cc} \input{preferences_8hh} \input{protocol_8cc} \input{protocol_8hh} \input{score_8hh} \input{socket_8cc} \input{socket_8hh} \printindex \end{document} mailfilter-0.8.2/doc/api/latex/mailfilter_8cc.tex0000644000175000017500000001273611241450773016651 00000000000000\subsection{mailfilter.cc File Reference} \label{mailfilter_8cc}\index{mailfilter.cc@{mailfilter.cc}} {\tt \#include $<$iostream$>$}\par {\tt \#include $<$sstream$>$}\par {\tt \#include $<$string$>$}\par {\tt \#include $<$cstring$>$}\par {\tt \#include $<$cstdlib$>$}\par {\tt \#include $<$cstdio$>$}\par {\tt \#include $<$csignal$>$}\par {\tt \#include $<$stdexcept$>$}\par {\tt \#include $<$vector$>$}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}weeder.hh\char`\"{}}\par {\tt \#include \char`\"{}time.h\char`\"{}}\par {\tt \#include $<$sys/time.h$>$}\par {\tt \#include \char`\"{}getopt.h\char`\"{}}\par \subsubsection*{Functions} \begin{CompactItemize} \item void {\bf init\_\-app} (void) \item bool {\bf open\_\-prefs} (string) \item void {\bf get\_\-opts} (int argc, char $\ast$argv[$\,$]) \item void {\bf override\_\-prefs} (string) \item int {\bf cmp\_\-no\_\-case} (const string \&, const string \&) \item int {\bf precompile\_\-expressions} (void) \item void {\bf connect\_\-sigint} (int) \item string {\bf int\_\-to\_\-string} (int) \item int {\bf main} (int argc, char $\ast$argv[$\,$]) \item string {\bf exec\_\-shell} (const char $\ast$command) \end{CompactItemize} \subsubsection*{Variables} \begin{CompactItemize} \item struct sigaction {\bf sigact} \item Weeder {\bf weeder} \item int {\bf mailbox\_\-status} \end{CompactItemize} \subsubsection{Function Documentation} \index{mailfilter.cc@{mailfilter.cc}!cmp\_\-no\_\-case@{cmp\_\-no\_\-case}} \index{cmp\_\-no\_\-case@{cmp\_\-no\_\-case}!mailfilter.cc@{mailfilter.cc}} \paragraph[{cmp\_\-no\_\-case}]{\setlength{\rightskip}{0pt plus 5cm}int cmp\_\-no\_\-case (const string \& {\em s}, \/ const string \& {\em s2})}\hfill\label{mailfilter_8cc_fb83c30b29c387537092966aa333c78e} \index{mailfilter.cc@{mailfilter.cc}!connect\_\-sigint@{connect\_\-sigint}} \index{connect\_\-sigint@{connect\_\-sigint}!mailfilter.cc@{mailfilter.cc}} \paragraph[{connect\_\-sigint}]{\setlength{\rightskip}{0pt plus 5cm}void connect\_\-sigint (int {\em signo})}\hfill\label{mailfilter_8cc_42c0c83467bf8024561a6d3df70eb95e} \index{mailfilter.cc@{mailfilter.cc}!exec\_\-shell@{exec\_\-shell}} \index{exec\_\-shell@{exec\_\-shell}!mailfilter.cc@{mailfilter.cc}} \paragraph[{exec\_\-shell}]{\setlength{\rightskip}{0pt plus 5cm}string exec\_\-shell (const char $\ast$ {\em command})}\hfill\label{mailfilter_8cc_5a9ad2e87ba6c60a00cbe9f67e011dc8} \index{mailfilter.cc@{mailfilter.cc}!get\_\-opts@{get\_\-opts}} \index{get\_\-opts@{get\_\-opts}!mailfilter.cc@{mailfilter.cc}} \paragraph[{get\_\-opts}]{\setlength{\rightskip}{0pt plus 5cm}void get\_\-opts (int {\em argc}, \/ char $\ast$ {\em argv}[$\,$])}\hfill\label{mailfilter_8cc_c637252f69fe0ea66e9d27c72b8db2b1} \index{mailfilter.cc@{mailfilter.cc}!init\_\-app@{init\_\-app}} \index{init\_\-app@{init\_\-app}!mailfilter.cc@{mailfilter.cc}} \paragraph[{init\_\-app}]{\setlength{\rightskip}{0pt plus 5cm}void init\_\-app (void)}\hfill\label{mailfilter_8cc_58365390a2f6d58ce8173e26f693d999} \index{mailfilter.cc@{mailfilter.cc}!int\_\-to\_\-string@{int\_\-to\_\-string}} \index{int\_\-to\_\-string@{int\_\-to\_\-string}!mailfilter.cc@{mailfilter.cc}} \paragraph[{int\_\-to\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}string int\_\-to\_\-string (int {\em val})}\hfill\label{mailfilter_8cc_ac5566abbb83233a9d5daa9d32ed2112} \index{mailfilter.cc@{mailfilter.cc}!main@{main}} \index{main@{main}!mailfilter.cc@{mailfilter.cc}} \paragraph[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/ char $\ast$ {\em argv}[$\,$])}\hfill\label{mailfilter_8cc_0ddf1224851353fc92bfbff6f499fa97} \index{mailfilter.cc@{mailfilter.cc}!open\_\-prefs@{open\_\-prefs}} \index{open\_\-prefs@{open\_\-prefs}!mailfilter.cc@{mailfilter.cc}} \paragraph[{open\_\-prefs}]{\setlength{\rightskip}{0pt plus 5cm}bool open\_\-prefs (string)}\hfill\label{mailfilter_8cc_c02d124f8fa9e015fb98e14cc9cb5070} \index{mailfilter.cc@{mailfilter.cc}!override\_\-prefs@{override\_\-prefs}} \index{override\_\-prefs@{override\_\-prefs}!mailfilter.cc@{mailfilter.cc}} \paragraph[{override\_\-prefs}]{\setlength{\rightskip}{0pt plus 5cm}void override\_\-prefs (string)}\hfill\label{mailfilter_8cc_531fcb6645da6100d824da9d52d64ceb} \index{mailfilter.cc@{mailfilter.cc}!precompile\_\-expressions@{precompile\_\-expressions}} \index{precompile\_\-expressions@{precompile\_\-expressions}!mailfilter.cc@{mailfilter.cc}} \paragraph[{precompile\_\-expressions}]{\setlength{\rightskip}{0pt plus 5cm}int precompile\_\-expressions (void)}\hfill\label{mailfilter_8cc_2db2b680ca9c7976043a616dcb98e22f} \subsubsection{Variable Documentation} \index{mailfilter.cc@{mailfilter.cc}!mailbox\_\-status@{mailbox\_\-status}} \index{mailbox\_\-status@{mailbox\_\-status}!mailfilter.cc@{mailfilter.cc}} \paragraph[{mailbox\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf mailbox\_\-status}}\hfill\label{mailfilter_8cc_cd4537e46d80e3511292706d88b868f0} \index{mailfilter.cc@{mailfilter.cc}!sigact@{sigact}} \index{sigact@{sigact}!mailfilter.cc@{mailfilter.cc}} \paragraph[{sigact}]{\setlength{\rightskip}{0pt plus 5cm}struct sigaction {\bf sigact}}\hfill\label{mailfilter_8cc_737d54f440be21a1dd889b62719de138} \index{mailfilter.cc@{mailfilter.cc}!weeder@{weeder}} \index{weeder@{weeder}!mailfilter.cc@{mailfilter.cc}} \paragraph[{weeder}]{\setlength{\rightskip}{0pt plus 5cm}Weeder {\bf weeder}}\hfill\label{mailfilter_8cc_a366ad0c1ab3b661b0df659697a5e10f} mailfilter-0.8.2/doc/api/latex/structoption.tex0000644000175000017500000000253611241450773016536 00000000000000\subsection{option Struct Reference} \label{structoption}\index{option@{option}} {\tt \#include $<$getopt.h$>$} \subsubsection*{Public Attributes} \begin{CompactItemize} \item char $\ast$ {\bf name} \item int {\bf has\_\-arg} \item int $\ast$ {\bf flag} \item int {\bf val} \end{CompactItemize} \subsubsection{Member Data Documentation} \index{option@{option}!flag@{flag}} \index{flag@{flag}!option@{option}} \paragraph[{flag}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf option::flag}}\hfill\label{structoption_b366eea5fe7be25c1928328ba715e353} \index{option@{option}!has\_\-arg@{has\_\-arg}} \index{has\_\-arg@{has\_\-arg}!option@{option}} \paragraph[{has\_\-arg}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf option::has\_\-arg}}\hfill\label{structoption_90d7ee9a51eea5c002682dbd0af149e4} \index{option@{option}!name@{name}} \index{name@{name}!option@{option}} \paragraph[{name}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf option::name}}\hfill\label{structoption_92c850a23c7828c1dba453bf8d15e1f0} \index{option@{option}!val@{val}} \index{val@{val}!option@{option}} \paragraph[{val}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf option::val}}\hfill\label{structoption_13bd155ec3b405d29c41ab8d0793be11} The documentation for this struct was generated from the following file:\begin{CompactItemize} \item {\bf getopt.h}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/protocol_8hh.tex0000644000175000017500000000244511241450773016370 00000000000000\subsection{protocol.hh File Reference} \label{protocol_8hh}\index{protocol.hh@{protocol.hh}} {\tt \#include \char`\"{}connection.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Protocol} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf PROTOCOL\_\-POP3}~2 \item \#define {\bf PROTOCOL\_\-APOP}~4 \item \#define {\bf SSL\_\-C}~4096 \end{CompactItemize} \subsubsection{Define Documentation} \index{protocol.hh@{protocol.hh}!PROTOCOL\_\-APOP@{PROTOCOL\_\-APOP}} \index{PROTOCOL\_\-APOP@{PROTOCOL\_\-APOP}!protocol.hh@{protocol.hh}} \paragraph[{PROTOCOL\_\-APOP}]{\setlength{\rightskip}{0pt plus 5cm}\#define PROTOCOL\_\-APOP~4}\hfill\label{protocol_8hh_04f294c603def267137ca3a5738a2b11} \index{protocol.hh@{protocol.hh}!PROTOCOL\_\-POP3@{PROTOCOL\_\-POP3}} \index{PROTOCOL\_\-POP3@{PROTOCOL\_\-POP3}!protocol.hh@{protocol.hh}} \paragraph[{PROTOCOL\_\-POP3}]{\setlength{\rightskip}{0pt plus 5cm}\#define PROTOCOL\_\-POP3~2}\hfill\label{protocol_8hh_d876dc190884e8c65408ebe50b1d0abd} \index{protocol.hh@{protocol.hh}!SSL\_\-C@{SSL\_\-C}} \index{SSL\_\-C@{SSL\_\-C}!protocol.hh@{protocol.hh}} \paragraph[{SSL\_\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define SSL\_\-C~4096}\hfill\label{protocol_8hh_80a5cc66a6a61cf1a884f75bf1f656bc} mailfilter-0.8.2/doc/api/latex/apop_8cc.tex0000644000175000017500000000066011241450773015451 00000000000000\subsection{apop.cc File Reference} \label{apop_8cc}\index{apop.cc@{apop.cc}} {\tt \#include $<$cstdio$>$}\par {\tt \#include $<$cstring$>$}\par {\tt \#include \char`\"{}apop.hh\char`\"{}}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include $<$strings.h$>$}\par {\tt \#include \char`\"{}md5.h\char`\"{}}\par mailfilter-0.8.2/doc/api/latex/md5_8h.tex0000644000175000017500000000460611241450773015045 00000000000000\subsection{md5.h File Reference} \label{md5_8h}\index{md5.h@{md5.h}} {\tt \#include $<$sys/types.h$>$}\par {\tt \#include $<$inttypes.h$>$}\par \subsubsection*{Classes} \begin{CompactItemize} \item struct {\bf MD5\_\-CTX} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf MD5\_\-H}~1 \end{CompactItemize} \subsubsection*{Typedefs} \begin{CompactItemize} \item typedef unsigned char $\ast$ {\bf POINTER} \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item void {\bf MD5Init} ({\bf MD5\_\-CTX} $\ast$) \item void {\bf MD5Update} ({\bf MD5\_\-CTX} $\ast$, unsigned char $\ast$, unsigned int) \item void {\bf MD5Final} (unsigned char[16], {\bf MD5\_\-CTX} $\ast$) \item void {\bf gethash} (char[33], char $\ast$, char $\ast$) \end{CompactItemize} \subsubsection{Define Documentation} \index{md5.h@{md5.h}!MD5\_\-H@{MD5\_\-H}} \index{MD5\_\-H@{MD5\_\-H}!md5.h@{md5.h}} \paragraph[{MD5\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define MD5\_\-H~1}\hfill\label{md5_8h_32f23738d479a443607b7124f70c465c} \subsubsection{Typedef Documentation} \index{md5.h@{md5.h}!POINTER@{POINTER}} \index{POINTER@{POINTER}!md5.h@{md5.h}} \paragraph[{POINTER}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned char$\ast$ {\bf POINTER}}\hfill\label{md5_8h_73204e40637f83518fb695362ea084a4} \subsubsection{Function Documentation} \index{md5.h@{md5.h}!gethash@{gethash}} \index{gethash@{gethash}!md5.h@{md5.h}} \paragraph[{gethash}]{\setlength{\rightskip}{0pt plus 5cm}void gethash (char[33], \/ char $\ast$, \/ char $\ast$)}\hfill\label{md5_8h_7d2e74be253746111f6c5fe55aecb677} \index{md5.h@{md5.h}!MD5Final@{MD5Final}} \index{MD5Final@{MD5Final}!md5.h@{md5.h}} \paragraph[{MD5Final}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Final (unsigned {\em char}[16], \/ {\bf MD5\_\-CTX} $\ast$)}\hfill\label{md5_8h_4d0e4f16069f15e42f92028772aa7dc9} \index{md5.h@{md5.h}!MD5Init@{MD5Init}} \index{MD5Init@{MD5Init}!md5.h@{md5.h}} \paragraph[{MD5Init}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Init ({\bf MD5\_\-CTX} $\ast$)}\hfill\label{md5_8h_43e334cd23b7e92d1ee2f8b26071b1f0} \index{md5.h@{md5.h}!MD5Update@{MD5Update}} \index{MD5Update@{MD5Update}!md5.h@{md5.h}} \paragraph[{MD5Update}]{\setlength{\rightskip}{0pt plus 5cm}void MD5Update ({\bf MD5\_\-CTX} $\ast$, \/ unsigned char $\ast$, \/ unsigned {\em int})}\hfill\label{md5_8h_94a6d6c9c4c21729d906f81d7f431313} mailfilter-0.8.2/doc/api/latex/FreeSans.ttf0000644000175000017500000005462411241450773015471 00000000000000pGDEF H(*GPOSIPBGSUB HTOS/2g?xVcmapב=cvt !yxgaspH glyfXA7head6hhea4$hmtxU Iloca,|maxpX names?ipostFFH_< D؉D؉==xfI@33f 'PfEd@ ffÀ99jrrD;VjbNRf9^99rXrrFrBr9rHrXr^rLrN99\ffrFV#VbV9Z9#Vr9NV9NVb+V=-V-V9999/Zr-rVro?r5rR9%r;rwrrJror5F9r #)?X;99rjr5rrrX=LrR^95f'!rKb9P}Rr}}!rV#V#V#V#V#V#bVVVV9999)9N9N9N9N9N9=VSrVrVrVrVrVrVF?rRrRrRrR9999rJrrJrJrJrJrJf%rrrr)po)h ~1  1|vuip  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`absefjyqlwkthxm}don~czr{!y.H] >Vlyc *+?},mPhvGr  W j  / A T a p > y 4 [ o ! U /U{CPsw\x$Ut8Zh='3?Kr $0<p|.:FR^j')5@KVa`lx!!!#/щA ##5-P-L7jq 3#%3#j7P8H8P7V3#3#####53#533!#!I@PNPN@JJHcAoPPeoD%)/8A#5$'&=3&'&'&5476753#&'&'67654'&'%jxf4 .> TtxiJYA<tF a#w1} -3' hh+oodI2'I?`z-6C6Ci93-;%)?O2#"'&'4547676"327654'&%3#2#"'&'4547676"327654'&ee`` feb` ^>3H;N\?3H:ׇ˓eda_ eea` ^>3H;N]?3J9{ekedba feG;M]?3F:Ma>2+eiec b` edG:L^>3G9Kb>1j)9F%#"'&54767&'&547632674=3#67654'&#" 3276J'thIF|ef^SK?:m)F/>g/f1SNkun'Ii{n]\nV+0]_eYySFRhs sZ@+7Z2"L+9:2,DlW6BpMI[b#3#b7R8NT3#&&56q6.8qX7Qwtqva[Gɺ1?NN #65&'3p6-7pY6RNStq~`Yʺ¾R37''7'7H &ݐif'Mx>JJ>xMfF !#!5!3FXX#YX 73#5676=#L{N,'d%^F!5F%#5F3#qpX%63 # & !265X$Re}Llo;?!C%w'ZDLI !5>7673#$w CP)OTF#!2!!67676?654'&# fЂ̨7 : HE(0[Qsyv oZ^1B}xkjp|OEB 2"#%632# &'3327654'&##567654'&)2J\uRʣ4_ 8LM-LKUk>6NpPeO8wEf|sRk8wFe+2@$9) !533##״9\R{H&!672# &'3327654'&#"#:|ςqM= T9tQxqM$(ljV { |U]A;/X"2%632#&'&#"632# &%"327654'&XirM v+3Q0vؿ|~}{B&UE]SwSLoF3>_/ۄȢ|~͉ V5eRz^T`YS4^) #!5)<#V~3<z ]L,<"#"'&'47&'&54632"327654'&"327654'&!׈~)zr>,D-^A]E,c?ZTBcQwU?fQw|~}xOM:WskxI4Y:Rz>+X9P>'bLoQAeKnP?N"2#"'&'332767#"'&'476763 "327654'&jrMr-6Q0n%+}}}z@ SKnGfUI]SЦ@_1ۄȄ~͉ [bXS5bS|^T1%#5#5\1#53#5676=#M{1N,'d%\F5 \'fF!5!5F  ӏfP5 5P'#XJP#'#5476767654'&#"#%632#5n[Xf]a_Dc1HYwadzQP:.4`pxoXZC38{A.?_|PhFQe332767654'&'&#"327# '&'&57676763 #"'#"'&547676322767654'&#"R.obejoY:iq9`=Lj~z[:{u_axmEFN{y_NG3Fr_aH9E"/nr,,ϩ>؍=AVߌ`B!΂̷%!jl5~#[6'lo rH8#9 !#3#  ?+`X&#!! 4'&#!!27627654'&#!w^^m6ν7)2q+ ˸=gBc/vmմYnbHC;%#5?D,bj#47%63 #&'&#"327673! &&be::?| /Lf~yf6Cv . WC(N3'# '&&576%63 6'&'&#"32767'`ױ) AF»* 䐔  uo wh GK?, HM  1o(#&=4'&#!#! 4'&#!!276J#2){2I(j4g2-5J36D=9:#/`2}նZb0"+2b2% 7654'&'%$4763 #&'&#"! '&'3"G/>۞1cTy\@K7tvJ"b䜓tly/7GbLvjtI%^A]b5'e9IWu \U+#!5!վ--)3! '&5332765jVxfBᆄM&{Px=)!#3 3#-o !# #3 3 3KT5DD-1 # # 3 3!hfoJJ#3 3JJ)9 !!5!5լN#3!ՓF#`q/N53#5!/}NayZf3# #=f!53ff-#{0VHP1@%63 327#"'&'#"'&5476767676=4'&#"276= C.31LF H-# #&^BwT%^ 0>1aF8kE\5$#5#"'&7632"327654'&b2=~s}nӓWNkS|SInM+!  +}qsZ}orPRP(!3273#"'&57632!654'&#"(OG'mxŃF%+ZZUzV>߄H {aA|B]sX\WtU%###53547632&#"r:P/1'w1Z< m;BP*:"'&'&576723253#"'&'33276="32765'&y x ~EZ&*p? "(A,ds2P@xIjM:D/ㇰLnX7$mlAi h74'&#"#367632#9y/5PB^g>UY;0uaz#pJk3#5#3\1B9#53#"'5327659(/#]\ .@w 3 ##!BF^7#7+P*36763267632#4'&#"#4'&#"#]r6ET^b:OFb+:lJFq%1lJF1"^(q @V2VQq^,VQq^P367632#4'&#"#]z=P]A\5LPB1*kKoz8!uaJP #"'&576"327654'&-`k|ɟSAwLpSC~JPÕޘ}/xmmFll?oB/P!36 #"'&'"327654'&oz}t|ǩr+SGkMsWOmQBmnorRzpsW5BP$##"'&5763253"327654'&`%*|rz +WOkS|SImMB9}qsZ}nsPP#367632NZd_-5*IU1¢+FP2327654'&/&'&547632#&'&#"# '&'~yB%O"5H8o\,:e(:> vA ?r^J(6P' '3RAoZMIgM%0P+'2m:R]Q4>X#327#"'&5#533+6P;& 1!E i$+'1!#5#"'&53327653ۙ`qAU\A\5LPB(lKn;z8!va`1!#3 3H/1f 1 !# #333oȽJ1CC#1 # # 3 3Vs{+d#{)B13#"'53276?3#TA1;L$ A1 65?1 !!5!51XN5*#";#"'&54'&'5676547635U=%F%A^62#K^" o0@Յ&EJ.A'.[z=UV<*A=V>NH3#{{y;N*5327654767&'&54'&+532#;!Vy%B!a53"G]!q0@N&FsS C"(s[}>%"#676323276=3#"/&'&s^l "(959-QlY5IOW((2 !#M' !E)5\11j '673#5&'&576753#&'&# eVxgsVb2k, ;qP{Vw:?+,2i15HA!!632327#"'&'&#"'67654'#53&'&54767632#!"-4>HO5nyEr`3O[Vg{Xu6mrb11T zztT P7/V]mqW:_lIoP#>e ,)Ln=CLSq:$4{zv;aCh/'#"''7&'454767'76327"327654'&wlR{nRirb<?osqYmwRytp2;bA6J>S^B9K=nl=3iudRn q[qlp59lwpWhg_I=Q_@6G=OdA4\!!!#!5!5!5!3 3\`5]zoehifihm)NH3#3#{{{{XL EU327654'&'%&'&54767&'&54767232#54'&#"#"'&567654'%L"m6!T  q*4\\A]SbN$bduhAi~gGB &H/"=^#5!#5!!9Q#"'&547632#&'&#"32767 #"'&'&57676"32767654'&'&j(^ȯooynV$M$4F6QFi5пO,{ͼR1~ޯ9~X]籦7XIy5D$x\dV#q~L)ۃпO-X]߳<TYⲦ:Lm-<!5%#"'&'#"'&54767676=4'&#"#6763232'32765R "Per7KJOTS y)00 %jc N[9'hh[ 8XW/?k0/  D'3$0-L6%, 5%75%7m7ѶRZ!#!R^F!5F%=U#&?4'&#!#! %!27654'&#! #"'&'&57676"32767654'&'&U)"E%+ M.пO,{ͼR1~ޯ9~X]籦7X7lA3QLRk Z5Yf Ü~L)ۃпO-X]߳<TYⲦ:9 j!5j5}2#"'&'46"327654'&m[Z^[|Z[Y<.D6D_:,E5}[[[YZ`~uE6EY<.G5GZ9-fF !#!5!3!5FXX TXX%'F%"#67632!!67676?654'&m.:U@ Y! 54wyC/?). [Dc_B/6%vNLM?AaN-!)0"#7632#"'&53327654'&'򀴦'&Z~ J,umS}I$a"0}*?i+M"?]#6 e7673#HlJX^ 8V Rm#!52#"'&5476"327654'& E#yFdI)C^h,V%1e-[#hhQsX3TzU,kh:R:d:S8 57'557'5} #57>7673#3#%!533##HlJXwbw<_^ 8V f+y l9]} 5#57>7673#3#"#7632!!67676?654'&HlJXvcw;*2U@ Y! 54wxC.^ 8V f+##)[Dc`A/6%wMMK?@bN-!04?B"#7632#"'&53327654'&'򀴦'&%3#%!533##Z~ J,umS}I$a"0}*?i+M"wbv'_?]#6 eYS]!/+h2/C <!?O!'I'e::?| -Pq~ywa,DTm2$ R0.:(. + IǷ+,+ [b)'9)'9)'9);'k9J'j=#3!2#%!27654'&#!y{`wt+G&wCas}qxur>VC%1 7654'&#"#4763 #"'53 7654'&+Z)qNy9}eqF6y1;--#0 2>!j ~=*<`Bmb~`f z^]{B)0' VHP'EVHP'EVHP'EVHP'EVH'kEVHP'EFP<MV3273#"'&/#"'&5476%63676=4'&#"#%63 6763227676=!4'&#"ANJ&nw$!=D^Gp~ #*1   :F_Q$&57632#&'&#"323#632#"'&'7327654'&#"'Y'm= ,7N6zIj, rw! g=XOS$:+i1/B= +2p\0li>q\DQo1 T0.:RP'IRP'IRP'IR'kI&&&'&kJ$47632&'&''7&'&'77# '&"327654'&Jm3NHd J8dZE_'RWзw}[SAuLrSC~J]OJT \PR+9Z;\LTuj`ǑmnIll?P'RJP'SJP'SJP'SJP'SJ'kSfF !5#5#5F [+%;P +#"''7&576327327654 &'&#";Z||}Ab}ƁwXR>IySAΘu91wxbk'\ m1'Y1'Y1'Y'kY)B1']oB-$367632#"'&'"327654'&oY'*||ǩr+SGkMsWOmQBtmnorRzpsW)B'k]"f J>4\ HX 3h% R FV$,f f    J > 4\   H X $$ $H+$TuCopyleft 2002, 2003, 2005 Free Software Foundation.Copyleft 2002, 2003, 2005 Free Software Foundation.FreeSansFreeSansMediumMediumFontForge 1.0 : Free Sans : 26-1-2006FontForge 1.0 : Free Sans : 26-1-2006Free SansFree SansVersion $Revision: 1.76 $ Version $Revision: 1.76 $ FreeSansFreeSansThe use of this font is granted subject to GNU General Public License.The use of this font is granted subject to GNU General Public License.http://www.gnu.org/copyleft/gpl.htmlhttp://www.gnu.org/copyleft/gpl.htmlThe quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.navadnoDovoljena je uporaba v skladu z licenco GNU General Public License.http://www.gnu.org/copyleft/gpl.html`erif bo za vajo spet kuhal doma e ~gance.f  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~glyph3 softhyphenuni02CAuni02CB "jkkl DFLT2armnbengHdevaRgujr\gurufhebrplatnzkernkernz FT3 %8\:;=D1 %8:B;y=~H4zP\.\B\fp     x b  0 ^ F L Z p ~ "0>LZhv|&{  '+358B9:f;=5EFGHIKSUXYZ[]n%3:;= %,/3 %.8:;<=##%s.3EIMNSVYssssss %8:;=%'+378)EISY]%#'+378)9:);u=Y]###)%'+ES %8:;<=%`.`EIS```P'+389:;=EISY] %8:;=X/3b3%='+.337:;!=)E3GHI=KJMNSDVDWDYFZ=[B]3n======99N %QRTV&\JJyy%o'+378EIKMSVY]nVoooooo`$%'+378'EIKMSVY]n '35EISY]$ TNL%;'+378/ELIJKVMSPTYZn;;;;;;-TXZ]NZ[]Z[]LOXZ[\]EIJ-MNPSX1E]8NEIKSWY]T Z[]8;T Z[]85XZ[\]X]GY+ssEGHIJ5KMO PSTUWX9YZ;[?\)]1^X7EILSssEGIKSWEGIKSWEGISUqqEGIKPSW   '+358B9:f;=5{  '+358B9:f;=5EFGHIKSUXYZ[]n   '+358B9:f;=5   '+358B9:f;=5{  '+358B9:f;=5EFGHKSUXYZ[]n{  '+358B9:f;=5EFGHIKSUXYZ[]n%8:=%8:;=8:=8:=%8:;<=%%%QRTV%%FQRTVZ[]Z[]Z[]Z[]Z[]Z[]Z[]Z[]Z[]XXZ[\]%(*+.024 6> EGIMO],238=?BDGmailfilter-0.8.2/doc/api/latex/getopt1_8c.tex0000644000175000017500000000450311241450773015732 00000000000000\subsection{getopt1.c File Reference} \label{getopt1_8c}\index{getopt1.c@{getopt1.c}} {\tt \#include \char`\"{}getopt.h\char`\"{}}\par {\tt \#include $<$stdio.h$>$}\par \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf GETOPT\_\-INTERFACE\_\-VERSION}~2 \item \#define {\bf NULL}~0 \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item int {\bf getopt\_\-long} (int argc, char $\ast$const $\ast$argv, const char $\ast$options, const struct {\bf option} $\ast$long\_\-options, int $\ast$opt\_\-index) \item int {\bf getopt\_\-long\_\-only} (int argc, char $\ast$const $\ast$argv, const char $\ast$options, const struct {\bf option} $\ast$long\_\-options, int $\ast$opt\_\-index) \end{CompactItemize} \subsubsection{Define Documentation} \index{getopt1.c@{getopt1.c}!GETOPT\_\-INTERFACE\_\-VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}} \index{GETOPT\_\-INTERFACE\_\-VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}!getopt1.c@{getopt1.c}} \paragraph[{GETOPT\_\-INTERFACE\_\-VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define GETOPT\_\-INTERFACE\_\-VERSION~2}\hfill\label{getopt1_8c_5325c715897861c318d3ae312ac452cc} \index{getopt1.c@{getopt1.c}!NULL@{NULL}} \index{NULL@{NULL}!getopt1.c@{getopt1.c}} \paragraph[{NULL}]{\setlength{\rightskip}{0pt plus 5cm}\#define NULL~0}\hfill\label{getopt1_8c_070d2ce7b6bb7e5c05602aa8c308d0c4} \subsubsection{Function Documentation} \index{getopt1.c@{getopt1.c}!getopt\_\-long@{getopt\_\-long}} \index{getopt\_\-long@{getopt\_\-long}!getopt1.c@{getopt1.c}} \paragraph[{getopt\_\-long}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long (int {\em argc}, \/ char $\ast$const $\ast$ {\em argv}, \/ const char $\ast$ {\em options}, \/ const struct {\bf option} $\ast$ {\em long\_\-options}, \/ int $\ast$ {\em opt\_\-index})}\hfill\label{getopt1_8c_4daed07e27e2010fb43e3174506ff116} \index{getopt1.c@{getopt1.c}!getopt\_\-long\_\-only@{getopt\_\-long\_\-only}} \index{getopt\_\-long\_\-only@{getopt\_\-long\_\-only}!getopt1.c@{getopt1.c}} \paragraph[{getopt\_\-long\_\-only}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long\_\-only (int {\em argc}, \/ char $\ast$const $\ast$ {\em argv}, \/ const char $\ast$ {\em options}, \/ const struct {\bf option} $\ast$ {\em long\_\-options}, \/ int $\ast$ {\em opt\_\-index})}\hfill\label{getopt1_8c_3dc612f2599424ba14fb38571fe9363c} mailfilter-0.8.2/doc/api/latex/connection_8hh.tex0000644000175000017500000000035211241450773016661 00000000000000\subsection{connection.hh File Reference} \label{connection_8hh}\index{connection.hh@{connection.hh}} {\tt \#include $<$string$>$}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Connection} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/hierarchy.tex0000644000175000017500000000216311241450773015733 00000000000000\subsection{Class Hierarchy} This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} \item \contentsline{section}{Account}{\pageref{classAccount}}{} \item \contentsline{section}{Connection}{\pageref{classConnection}}{} \begin{CompactList} \item \contentsline{section}{Socket}{\pageref{classSocket}}{} \end{CompactList} \item \contentsline{section}{Feedback}{\pageref{classFeedback}}{} \item \contentsline{section}{Filter}{\pageref{classFilter}}{} \begin{CompactList} \item \contentsline{section}{Score}{\pageref{classScore}}{} \end{CompactList} \item \contentsline{section}{MD5\_\-CTX}{\pageref{structMD5__CTX}}{} \item \contentsline{section}{option}{\pageref{structoption}}{} \item \contentsline{section}{Preferences}{\pageref{classPreferences}}{} \item \contentsline{section}{Protocol}{\pageref{classProtocol}}{} \begin{CompactList} \item \contentsline{section}{POP3}{\pageref{classPOP3}}{} \begin{CompactList} \item \contentsline{section}{APOP}{\pageref{classAPOP}}{} \end{CompactList} \end{CompactList} \item \contentsline{section}{Size\_\-score}{\pageref{classSize__score}}{} \end{CompactList} mailfilter-0.8.2/doc/api/latex/filter_8hh.tex0000644000175000017500000000264311241450773016014 00000000000000\subsection{filter.hh File Reference} \label{filter_8hh}\index{filter.hh@{filter.hh}} {\tt \#include $<$string$>$}\par {\tt \#include $<$regex.h$>$}\par {\tt \#include $<$sys/types.h$>$}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Filter} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf CASE\_\-DEFAULT}~REG\_\-ICASE \item \#define {\bf CASE\_\-SENSITIVE}~0 \item \#define {\bf CASE\_\-INSENSITIVE}~REG\_\-ICASE \end{CompactItemize} \subsubsection{Define Documentation} \index{filter.hh@{filter.hh}!CASE\_\-DEFAULT@{CASE\_\-DEFAULT}} \index{CASE\_\-DEFAULT@{CASE\_\-DEFAULT}!filter.hh@{filter.hh}} \paragraph[{CASE\_\-DEFAULT}]{\setlength{\rightskip}{0pt plus 5cm}\#define CASE\_\-DEFAULT~REG\_\-ICASE}\hfill\label{filter_8hh_a5127ed4c597bb0debd64f97e75449c4} \index{filter.hh@{filter.hh}!CASE\_\-INSENSITIVE@{CASE\_\-INSENSITIVE}} \index{CASE\_\-INSENSITIVE@{CASE\_\-INSENSITIVE}!filter.hh@{filter.hh}} \paragraph[{CASE\_\-INSENSITIVE}]{\setlength{\rightskip}{0pt plus 5cm}\#define CASE\_\-INSENSITIVE~REG\_\-ICASE}\hfill\label{filter_8hh_73dbf9d86ec7a319f372cb1ae227a54b} \index{filter.hh@{filter.hh}!CASE\_\-SENSITIVE@{CASE\_\-SENSITIVE}} \index{CASE\_\-SENSITIVE@{CASE\_\-SENSITIVE}!filter.hh@{filter.hh}} \paragraph[{CASE\_\-SENSITIVE}]{\setlength{\rightskip}{0pt plus 5cm}\#define CASE\_\-SENSITIVE~0}\hfill\label{filter_8hh_6094f5f4a8aa099faa6d80b4f020927b} mailfilter-0.8.2/doc/api/latex/feedback_8cc.tex0000644000175000017500000000052111241450773016232 00000000000000\subsection{feedback.cc File Reference} \label{feedback_8cc}\index{feedback.cc@{feedback.cc}} {\tt \#include $<$iostream$>$}\par {\tt \#include $<$string$>$}\par {\tt \#include $<$cstring$>$}\par {\tt \#include $<$fstream$>$}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par mailfilter-0.8.2/doc/api/latex/classAPOP.eps0000644000175000017500000000726411241450773015540 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 895.522 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 0.558333 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 3 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (APOP) cw (POP3) cw (Protocol) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (APOP) 0 0 box (POP3) 0 1 box (Protocol) 0 2 box % ----- relations ----- solid 0 0 0 out solid 1 0 1 in solid 0 0 1 out solid 1 0 2 in mailfilter-0.8.2/doc/api/latex/classSocket.eps0000644000175000017500000000717611241450773016233 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 476.19 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 1.05 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (Socket) cw (Connection) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (Socket) 0 0 box (Connection) 0 1 box % ----- relations ----- solid 0 0 0 out solid 1 0 1 in mailfilter-0.8.2/doc/api/latex/socket_8hh.tex0000644000175000017500000000131211241450773016007 00000000000000\subsection{socket.hh File Reference} \label{socket_8hh}\index{socket.hh@{socket.hh}} {\tt \#include $<$string$>$}\par {\tt \#include $<$csignal$>$}\par {\tt \#include \char`\"{}connection.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Socket} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf MAX\_\-BYTES}~512 \end{CompactItemize} \subsubsection{Define Documentation} \index{socket.hh@{socket.hh}!MAX\_\-BYTES@{MAX\_\-BYTES}} \index{MAX\_\-BYTES@{MAX\_\-BYTES}!socket.hh@{socket.hh}} \paragraph[{MAX\_\-BYTES}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-BYTES~512}\hfill\label{socket_8hh_abb27f74e9a532512f75b57584b5d420} mailfilter-0.8.2/doc/api/latex/classProtocol.eps0000644000175000017500000000730011241450773016571 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 895.522 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 0.558333 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 3 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (Protocol) cw (POP3) cw (APOP) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (Protocol) 0 2 box (POP3) 0 1 box (APOP) 0 0 box % ----- relations ----- solid 1 0 1.25 out solid 0 0 1.75 in solid 1 0 0.25 out solid 0 0 0.75 in mailfilter-0.8.2/doc/api/latex/socket_8cc.tex0000644000175000017500000000155411241450773016005 00000000000000\subsection{socket.cc File Reference} \label{socket_8cc}\index{socket.cc@{socket.cc}} {\tt \#include $<$iostream$>$}\par {\tt \#include $<$csignal$>$}\par {\tt \#include $<$cstring$>$}\par {\tt \#include $<$string$>$}\par {\tt \#include $<$stdexcept$>$}\par {\tt \#include $<$sstream$>$}\par {\tt \#include $<$sys/time.h$>$}\par {\tt \#include $<$sys/types.h$>$}\par {\tt \#include $<$sys/socket.h$>$}\par {\tt \#include $<$setjmp.h$>$}\par {\tt \#include $<$unistd.h$>$}\par {\tt \#include $<$errno.h$>$}\par {\tt \#include $<$fcntl.h$>$}\par {\tt \#include $<$netinet/in.h$>$}\par {\tt \#include $<$netdb.h$>$}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}socket.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par mailfilter-0.8.2/doc/api/latex/pop3_8hh.tex0000644000175000017500000000266111241450773015410 00000000000000\subsection{pop3.hh File Reference} \label{pop3_8hh}\index{pop3.hh@{pop3.hh}} {\tt \#include \char`\"{}header.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf POP3} \end{CompactItemize} \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf REPLY\_\-OK} \item \#define {\bf HEADER\_\-OK} \end{CompactItemize} \subsubsection{Define Documentation} \index{pop3.hh@{pop3.hh}!HEADER\_\-OK@{HEADER\_\-OK}} \index{HEADER\_\-OK@{HEADER\_\-OK}!pop3.hh@{pop3.hh}} \paragraph[{HEADER\_\-OK}]{\setlength{\rightskip}{0pt plus 5cm}\#define HEADER\_\-OK}\hfill\label{pop3_8hh_8e89edde6ff4d0abaca2a4012884b49f} \textbf{Value:} \begin{Code}\begin{verbatim}((conn->c_read (true) > 0 && conn->c_reply ())? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) \end{verbatim} \end{Code} \index{pop3.hh@{pop3.hh}!REPLY\_\-OK@{REPLY\_\-OK}} \index{REPLY\_\-OK@{REPLY\_\-OK}!pop3.hh@{pop3.hh}} \paragraph[{REPLY\_\-OK}]{\setlength{\rightskip}{0pt plus 5cm}\#define REPLY\_\-OK}\hfill\label{pop3_8hh_da8f909957a3c59c73e8de4d28cd623e} \textbf{Value:} \begin{Code}\begin{verbatim}((conn->c_read () > 0 && conn->c_reply ()) ? \ (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \ : false) \end{verbatim} \end{Code} mailfilter-0.8.2/doc/api/latex/preferences_8hh.tex0000644000175000017500000000105511241450773017024 00000000000000\subsection{preferences.hh File Reference} \label{preferences_8hh}\index{preferences.hh@{preferences.hh}} {\tt \#include $<$string$>$}\par {\tt \#include $<$vector$>$}\par {\tt \#include $<$fstream$>$}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par {\tt \#include \char`\"{}socket.hh\char`\"{}}\par {\tt \#include \char`\"{}filter.hh\char`\"{}}\par {\tt \#include \char`\"{}score.hh\char`\"{}}\par {\tt \#include \char`\"{}account.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Preferences} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/doxygen.sty0000644000175000017500000000476711241450773015465 00000000000000\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{doxygen} \RequirePackage{calc} \RequirePackage{array} \pagestyle{fancyplain} \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \lhead[\fancyplain{}{\bfseries\thepage}] {\fancyplain{}{\bfseries\rightmark}} \rhead[\fancyplain{}{\bfseries\leftmark}] {\fancyplain{}{\bfseries\thepage}} \rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Sat Aug 15 16:13:12 2009 for mailfilter by Doxygen }]{} \lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Aug 15 16:13:12 2009 for mailfilter by Doxygen }} \cfoot{} \newenvironment{Code} {\footnotesize} {\normalsize} \newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} \newenvironment{DocInclude} {\footnotesize} {\normalsize} \newenvironment{VerbInclude} {\footnotesize} {\normalsize} \newenvironment{Image} {\begin{figure}[H]} {\end{figure}} \newenvironment{ImageNoCaption}{}{} \newenvironment{CompactList} {\begin{list}{}{ \setlength{\leftmargin}{0.5cm} \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \setlength{\topsep}{0pt} \renewcommand{\makelabel}{\hfill}}} {\end{list}} \newenvironment{CompactItemize} { \begin{itemize} \setlength{\itemsep}{-3pt} \setlength{\parsep}{0pt} \setlength{\topsep}{0pt} \setlength{\partopsep}{0pt} } {\end{itemize}} \newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} \newlength{\tmplength} \newenvironment{TabularC}[1] { \setlength{\tmplength} {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} \par\begin{tabular*}{\linewidth} {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} } {\end{tabular*}\par} \newcommand{\entrylabel}[1]{ {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} \newenvironment{Desc} {\begin{list}{} { \settowidth{\labelwidth}{40pt} \setlength{\leftmargin}{\labelwidth} \setlength{\parsep}{0pt} \setlength{\itemsep}{-4pt} \renewcommand{\makelabel}{\entrylabel} } } {\end{list}} \newenvironment{Indent} {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} \item[]\ignorespaces} {\unskip\end{list}} \setlength{\parindent}{0cm} \setlength{\parskip}{0.2cm} \addtocounter{secnumdepth}{1} \sloppy \usepackage[T1]{fontenc} \makeatletter \renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% {-3.25ex plus -1ex minus -0.2ex}% {1.5ex plus 0.2ex}% {\normalfont\normalsize\bfseries}} \makeatother \stepcounter{secnumdepth} \stepcounter{tocdepth} mailfilter-0.8.2/doc/api/latex/classScore.eps0000644000175000017500000000716611241450773016055 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: ClassName %%Creator: Doxygen %%CreationDate: Time %%For: %Magnification: 1.00 %%Orientation: Portrait %%BoundingBox: 0 0 500 740.741 %%Pages: 0 %%BeginSetup %%EndSetup %%EndComments % ----- variables ----- /boxwidth 0 def /boxheight 40 def /fontheight 24 def /marginwidth 10 def /distx 20 def /disty 40 def /boundaspect 0.675 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def /rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def % ----- procedures ----- /dotted { [1 4] 0 setdash } def /dashed { [5] 0 setdash } def /solid { [] 0 setdash } def /max % result = MAX(arg1,arg2) { /a exch def /b exch def a b gt {a} {b} ifelse } def /xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) { 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max } def /cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) { /str exch def /boxwidth boxwidth str stringwidth pop max def } def /box % draws a box with text `arg1' at grid pos (arg2,arg3) { gsave 2 setlinewidth newpath exch xspacing mul xoffset add exch yspacing mul moveto boxwidth 0 rlineto 0 boxheight rlineto boxwidth neg 0 rlineto 0 boxheight neg rlineto closepath dup stringwidth pop neg boxwidth add 2 div boxheight fontheight 2 div sub 2 div rmoveto show stroke grestore } def /mark { newpath exch xspacing mul xoffset add boxwidth add exch yspacing mul moveto 0 boxheight 4 div rlineto boxheight neg 4 div boxheight neg 4 div rlineto closepath eofill stroke } def /arrow { newpath moveto 3 -8 rlineto -6 0 rlineto 3 8 rlineto closepath eofill stroke } def /out % draws an output connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight add /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /in % draws an input connector for the block at (arg1,arg2) { newpath exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul disty 2 div sub /y exch def /x exch def x y moveto 0 disty 2 div rlineto stroke 1 eq { x y disty 2 div add arrow } if } def /hedge { exch xspacing mul xoffset add boxwidth 2 div add exch yspacing mul boxheight 2 div sub /y exch def /x exch def newpath x y moveto boxwidth 2 div distx add 0 rlineto stroke 1 eq { newpath x boxwidth 2 div distx add add y moveto -8 3 rlineto 0 -6 rlineto 8 3 rlineto closepath eofill stroke } if } def /vedge { /ye exch def /ys exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add dup ys yspacing mul boxheight 2 div sub moveto ye yspacing mul boxheight 2 div sub lineto stroke } def /conn % connections the blocks from col `arg1' to `arg2' of row `arg3' { /ys exch def /xe exch def /xs exch def newpath xs xspacing mul xoffset add boxwidth 2 div add ys yspacing mul disty 2 div sub moveto xspacing xe xs sub mul 0 rlineto stroke } def % ----- main ------ boxfont setfont 1 boundaspect scale (Score) cw (Filter) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def /scalefactor boxwidth cols mul distx cols 1 sub mul add boxheight rows mul disty rows 1 sub mul add boundaspect mul max def boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (Score) 0 0 box (Filter) 0 1 box % ----- relations ----- solid 0 0 0 out solid 1 0 1 in mailfilter-0.8.2/doc/api/latex/classSize__score.tex0000644000175000017500000000166111241450773017251 00000000000000\subsection{Size\_\-score Class Reference} \label{classSize__score}\index{Size\_\-score@{Size\_\-score}} {\tt \#include $<$score.hh$>$} \subsubsection*{Public Attributes} \begin{CompactItemize} \item int {\bf score} \item int {\bf size} \end{CompactItemize} \subsubsection{Member Data Documentation} \index{Size\_\-score@{Size\_\-score}!score@{score}} \index{score@{score}!Size_score@{Size\_\-score}} \paragraph[{score}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Size\_\-score::score}}\hfill\label{classSize__score_e7e169d184ed71fff61c30d21e7a98ad} \index{Size\_\-score@{Size\_\-score}!size@{size}} \index{size@{size}!Size_score@{Size\_\-score}} \paragraph[{size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Size\_\-score::size}}\hfill\label{classSize__score_99ca826b4b43ecb74db8a11e1494c332} The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf score.hh}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/mailfilter_8hh.tex0000644000175000017500000000612311241450773016654 00000000000000\subsection{mailfilter.hh File Reference} \label{mailfilter_8hh}\index{mailfilter.hh@{mailfilter.hh}} {\tt \#include $<$iostream$>$}\par \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf VALUE\_\-HELP}~1 \item \#define {\bf VALUE\_\-VERBOSE}~2 \item \#define {\bf VALUE\_\-MAILFILTERRC}~3 \item \#define {\bf VALUE\_\-LOGFILE}~4 \item \#define {\bf VALUE\_\-VERSION}~5 \item \#define {\bf VALUE\_\-TEST}~6 \item \#define {\bf VALUE\_\-RETURN}~7 \item \#define {\bf ERROR\_\-MSG}(msg) \end{CompactItemize} \subsubsection{Define Documentation} \index{mailfilter.hh@{mailfilter.hh}!ERROR\_\-MSG@{ERROR\_\-MSG}} \index{ERROR\_\-MSG@{ERROR\_\-MSG}!mailfilter.hh@{mailfilter.hh}} \paragraph[{ERROR\_\-MSG}]{\setlength{\rightskip}{0pt plus 5cm}\#define ERROR\_\-MSG(msg)}\hfill\label{mailfilter_8hh_53cf0ce013d4c7336b4ff71a360cf89a} \textbf{Value:} \begin{Code}\begin{verbatim}cerr << PACKAGE_NAME \ << ": Error: " \ << msg \ << endl \end{verbatim} \end{Code} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-HELP@{VALUE\_\-HELP}} \index{VALUE\_\-HELP@{VALUE\_\-HELP}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-HELP}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-HELP~1}\hfill\label{mailfilter_8hh_0e710167f0b3d148705a4693e70791ee} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-LOGFILE@{VALUE\_\-LOGFILE}} \index{VALUE\_\-LOGFILE@{VALUE\_\-LOGFILE}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-LOGFILE}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-LOGFILE~4}\hfill\label{mailfilter_8hh_1a460c94ccf52bf7d5c4f3d8b41812cc} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-MAILFILTERRC@{VALUE\_\-MAILFILTERRC}} \index{VALUE\_\-MAILFILTERRC@{VALUE\_\-MAILFILTERRC}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-MAILFILTERRC}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-MAILFILTERRC~3}\hfill\label{mailfilter_8hh_04f4ee635a88aaf300647f2877bf2c61} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-RETURN@{VALUE\_\-RETURN}} \index{VALUE\_\-RETURN@{VALUE\_\-RETURN}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-RETURN}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-RETURN~7}\hfill\label{mailfilter_8hh_bf2c0b7a8660004b11b68637d7952b55} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-TEST@{VALUE\_\-TEST}} \index{VALUE\_\-TEST@{VALUE\_\-TEST}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-TEST}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-TEST~6}\hfill\label{mailfilter_8hh_57be499b057d836d1f05c17755fced3f} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-VERBOSE@{VALUE\_\-VERBOSE}} \index{VALUE\_\-VERBOSE@{VALUE\_\-VERBOSE}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-VERBOSE}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-VERBOSE~2}\hfill\label{mailfilter_8hh_a4670a9db71a9789770828ca83a6fc38} \index{mailfilter.hh@{mailfilter.hh}!VALUE\_\-VERSION@{VALUE\_\-VERSION}} \index{VALUE\_\-VERSION@{VALUE\_\-VERSION}!mailfilter.hh@{mailfilter.hh}} \paragraph[{VALUE\_\-VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define VALUE\_\-VERSION~5}\hfill\label{mailfilter_8hh_75280acdc2cac7f1a491e910511565ea} mailfilter-0.8.2/doc/api/latex/classAPOP.tex0000644000175000017500000000204411241450773015540 00000000000000\subsection{APOP Class Reference} \label{classAPOP}\index{APOP@{APOP}} {\tt \#include $<$apop.hh$>$} Inheritance diagram for APOP::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=3cm]{classAPOP} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item bool {\bf login} (const char $\ast$usr, const char $\ast$pass, const unsigned int enc) const \end{CompactItemize} \subsubsection{Member Function Documentation} \index{APOP@{APOP}!login@{login}} \index{login@{login}!APOP@{APOP}} \paragraph[{login}]{\setlength{\rightskip}{0pt plus 5cm}bool APOP::login (const char $\ast$ {\em usr}, \/ const char $\ast$ {\em pass}, \/ const unsigned int {\em enc}) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classAPOP_61d6b84a9b463c948c74420065f9dfc9} Reimplemented from {\bf POP3} \doxyref{}{p.}{classPOP3_824f175c9eac3fe9cbc231607d832169}. The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf apop.hh}\item {\bf apop.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/classSocket.tex0000644000175000017500000000655011241450773016237 00000000000000\subsection{Socket Class Reference} \label{classSocket}\index{Socket@{Socket}} {\tt \#include $<$socket.hh$>$} Inheritance diagram for Socket::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classSocket} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item {\bf Socket} (void) \item void {\bf clear} (void) \item int {\bf c\_\-open} (const char $\ast$host, int port, int time\_\-out, int protocol) \item int {\bf c\_\-close} (void) const \item int {\bf c\_\-write} (const char $\ast$command) \item int {\bf c\_\-read} (bool=false) \item const string $\ast$ {\bf c\_\-reply} (void) const \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Socket@{Socket}!Socket@{Socket}} \index{Socket@{Socket}!Socket@{Socket}} \paragraph[{Socket}]{\setlength{\rightskip}{0pt plus 5cm}Socket::Socket (void)}\hfill\label{classSocket_69e810ab6e91f13f746b90cdee819a7d} \subsubsection{Member Function Documentation} \index{Socket@{Socket}!c\_\-close@{c\_\-close}} \index{c\_\-close@{c\_\-close}!Socket@{Socket}} \paragraph[{c\_\-close}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-close (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_503235d029ac700c29cd56a4ca56d71e} Implements {\bf Connection} \doxyref{}{p.}{classConnection_59ec69c9c520e630ff68d26a79e9e233}.\index{Socket@{Socket}!c\_\-open@{c\_\-open}} \index{c\_\-open@{c\_\-open}!Socket@{Socket}} \paragraph[{c\_\-open}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-open (const char $\ast$ {\em host}, \/ int {\em port}, \/ int {\em time\_\-out}, \/ int {\em protocol})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_bde2f1d9ce0920abf5db65045a994261} Implements {\bf Connection} \doxyref{}{p.}{classConnection_72f5c47421cb5e244f13c31af3ec8997}.\index{Socket@{Socket}!c\_\-read@{c\_\-read}} \index{c\_\-read@{c\_\-read}!Socket@{Socket}} \paragraph[{c\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-read (bool {\em read\_\-header} = {\tt false})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_c5891445e5a71a389dffc5a20396901c} Implements {\bf Connection} \doxyref{}{p.}{classConnection_1afa33b5406c710fde80167c4688a3fa}.\index{Socket@{Socket}!c\_\-reply@{c\_\-reply}} \index{c\_\-reply@{c\_\-reply}!Socket@{Socket}} \paragraph[{c\_\-reply}]{\setlength{\rightskip}{0pt plus 5cm}const string $\ast$ Socket::c\_\-reply (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_f4e5077ca0a9275c2a201a6531c58061} Implements {\bf Connection} \doxyref{}{p.}{classConnection_21d05ebfedbedf2bc8f89c8c6727976b}.\index{Socket@{Socket}!c\_\-write@{c\_\-write}} \index{c\_\-write@{c\_\-write}!Socket@{Socket}} \paragraph[{c\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-write (const char $\ast$ {\em command})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_3c60642af7ebb0ee0f3f6642702f6f87} Implements {\bf Connection} \doxyref{}{p.}{classConnection_64687373aef3050c7620d726989df0e2}.\index{Socket@{Socket}!clear@{clear}} \index{clear@{clear}!Socket@{Socket}} \paragraph[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void Socket::clear (void)}\hfill\label{classSocket_e11afdfb4c8b4316b37d2de9750a7614} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf socket.hh}\item {\bf socket.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/classProtocol.tex0000644000175000017500000001276311241450773016613 00000000000000\subsection{Protocol Class Reference} \label{classProtocol}\index{Protocol@{Protocol}} {\tt \#include $<$protocol.hh$>$} Inheritance diagram for Protocol::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=3cm]{classProtocol} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item virtual {\bf $\sim$Protocol} (void) \item virtual bool {\bf login} (const char $\ast$usr, const char $\ast$pass, const unsigned int) const =0 \item virtual bool {\bf logout} (void) const =0 \item virtual int {\bf remove\_\-msg} (const unsigned int num) const =0 \item virtual int {\bf status} (void) const =0 \item virtual int {\bf scan} (void) const =0 \item void {\bf set\_\-connection} ({\bf Connection} $\ast$) \item void {\bf set\_\-ident} (unsigned int) \item unsigned int {\bf ident} (void) const \end{CompactItemize} \subsubsection*{Protected Attributes} \begin{CompactItemize} \item {\bf Connection} $\ast$ {\bf conn} \item unsigned int {\bf prot\_\-ident} \item unsigned int {\bf connect\_\-type} \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Protocol@{Protocol}!$\sim$Protocol@{$\sim$Protocol}} \index{$\sim$Protocol@{$\sim$Protocol}!Protocol@{Protocol}} \paragraph[{$\sim$Protocol}]{\setlength{\rightskip}{0pt plus 5cm}virtual Protocol::$\sim$Protocol (void)\hspace{0.3cm}{\tt [inline, virtual]}}\hfill\label{classProtocol_61154b2c43496d9a97f95dcb7162ab5f} \subsubsection{Member Function Documentation} \index{Protocol@{Protocol}!ident@{ident}} \index{ident@{ident}!Protocol@{Protocol}} \paragraph[{ident}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Protocol::ident (void) const}\hfill\label{classProtocol_21d236277e5acc6209f2eabbdbe133b2} \index{Protocol@{Protocol}!login@{login}} \index{login@{login}!Protocol@{Protocol}} \paragraph[{login}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool Protocol::login (const char $\ast$ {\em usr}, \/ const char $\ast$ {\em pass}, \/ const unsigned {\em int}) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classProtocol_dd24e2c5ffa8c940dd6a3ba8f295113f} Implemented in {\bf POP3} \doxyref{}{p.}{classPOP3_824f175c9eac3fe9cbc231607d832169}, and {\bf APOP} \doxyref{}{p.}{classAPOP_61d6b84a9b463c948c74420065f9dfc9}.\index{Protocol@{Protocol}!logout@{logout}} \index{logout@{logout}!Protocol@{Protocol}} \paragraph[{logout}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool Protocol::logout (void) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classProtocol_488b2fdeb3dec121284b5102b913619e} Implemented in {\bf POP3} \doxyref{}{p.}{classPOP3_7b1056eb702ce559084fc34331b5aa9a}.\index{Protocol@{Protocol}!remove\_\-msg@{remove\_\-msg}} \index{remove\_\-msg@{remove\_\-msg}!Protocol@{Protocol}} \paragraph[{remove\_\-msg}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Protocol::remove\_\-msg (const unsigned int {\em num}) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classProtocol_d53aee64e3f129eec4aff7017c7dbc6f} Implemented in {\bf POP3} \doxyref{}{p.}{classPOP3_8b5ed311c138197ab480534d613b1c48}.\index{Protocol@{Protocol}!scan@{scan}} \index{scan@{scan}!Protocol@{Protocol}} \paragraph[{scan}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Protocol::scan (void) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classProtocol_7dceb148931883c4ce8c1dd643cbcc3f} Implemented in {\bf POP3} \doxyref{}{p.}{classPOP3_bf3047977ab6e51508bc106b3323925e}.\index{Protocol@{Protocol}!set\_\-connection@{set\_\-connection}} \index{set\_\-connection@{set\_\-connection}!Protocol@{Protocol}} \paragraph[{set\_\-connection}]{\setlength{\rightskip}{0pt plus 5cm}void Protocol::set\_\-connection ({\bf Connection} $\ast$ {\em currently\_\-established\_\-connection})}\hfill\label{classProtocol_85546aa117be70f6a0e26d74394853a3} \index{Protocol@{Protocol}!set\_\-ident@{set\_\-ident}} \index{set\_\-ident@{set\_\-ident}!Protocol@{Protocol}} \paragraph[{set\_\-ident}]{\setlength{\rightskip}{0pt plus 5cm}void Protocol::set\_\-ident (unsigned int {\em i})}\hfill\label{classProtocol_264ca0a8901e25808495443c823c399f} \index{Protocol@{Protocol}!status@{status}} \index{status@{status}!Protocol@{Protocol}} \paragraph[{status}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Protocol::status (void) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classProtocol_febeff26211c158d3cfdeb9b456b53c5} Implemented in {\bf POP3} \doxyref{}{p.}{classPOP3_45658ab25cfe351d2dfc0ba596442a7d}. \subsubsection{Member Data Documentation} \index{Protocol@{Protocol}!conn@{conn}} \index{conn@{conn}!Protocol@{Protocol}} \paragraph[{conn}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Connection}$\ast$ {\bf Protocol::conn}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classProtocol_f1f453d40b56eef6493a777d18f82706} \index{Protocol@{Protocol}!connect\_\-type@{connect\_\-type}} \index{connect\_\-type@{connect\_\-type}!Protocol@{Protocol}} \paragraph[{connect\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Protocol::connect\_\-type}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classProtocol_2934827bc2c96f11fa0ec84b196fdfd6} \index{Protocol@{Protocol}!prot\_\-ident@{prot\_\-ident}} \index{prot\_\-ident@{prot\_\-ident}!Protocol@{Protocol}} \paragraph[{prot\_\-ident}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Protocol::prot\_\-ident}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classProtocol_40de8aaff8deebdfee2aa4c29e5b716e} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf protocol.hh}\item {\bf protocol.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/account_8cc.tex0000644000175000017500000000304011241450773016141 00000000000000\subsection{account.cc File Reference} \label{account_8cc}\index{account.cc@{account.cc}} {\tt \#include $<$string$>$}\par {\tt \#include $<$vector$>$}\par {\tt \#include $<$typeinfo$>$}\par {\tt \#include \char`\"{}account.hh\char`\"{}}\par {\tt \#include \char`\"{}pop3.hh\char`\"{}}\par {\tt \#include \char`\"{}apop.hh\char`\"{}}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}connection.hh\char`\"{}}\par {\tt \#include \char`\"{}socket.hh\char`\"{}}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par \subsubsection*{Functions} \begin{CompactItemize} \item string {\bf int\_\-to\_\-string} (int) \end{CompactItemize} \subsubsection*{Variables} \begin{CompactItemize} \item int {\bf mailbox\_\-status} \end{CompactItemize} \subsubsection{Function Documentation} \index{account.cc@{account.cc}!int\_\-to\_\-string@{int\_\-to\_\-string}} \index{int\_\-to\_\-string@{int\_\-to\_\-string}!account.cc@{account.cc}} \paragraph[{int\_\-to\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}string int\_\-to\_\-string (int)}\hfill\label{account_8cc_ac5566abbb83233a9d5daa9d32ed2112} \subsubsection{Variable Documentation} \index{account.cc@{account.cc}!mailbox\_\-status@{mailbox\_\-status}} \index{mailbox\_\-status@{mailbox\_\-status}!account.cc@{account.cc}} \paragraph[{mailbox\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf mailbox\_\-status}}\hfill\label{account_8cc_cd4537e46d80e3511292706d88b868f0} mailfilter-0.8.2/doc/api/latex/classConnection.tex0000644000175000017500000000672411241450773017111 00000000000000\subsection{Connection Class Reference} \label{classConnection}\index{Connection@{Connection}} {\tt \#include $<$connection.hh$>$} Inheritance diagram for Connection::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classConnection} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item virtual {\bf $\sim$Connection} (void) \item virtual int {\bf c\_\-open} (const char $\ast$host\_\-name, int port, int time\_\-out, int protocol)=0 \item virtual int {\bf c\_\-close} (void) const =0 \item virtual int {\bf c\_\-read} (bool=false)=0 \item virtual int {\bf c\_\-write} (const char $\ast$msg)=0 \item virtual const string $\ast$ {\bf c\_\-reply} (void) const =0 \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Connection@{Connection}!$\sim$Connection@{$\sim$Connection}} \index{$\sim$Connection@{$\sim$Connection}!Connection@{Connection}} \paragraph[{$\sim$Connection}]{\setlength{\rightskip}{0pt plus 5cm}virtual Connection::$\sim$Connection (void)\hspace{0.3cm}{\tt [inline, virtual]}}\hfill\label{classConnection_4612766870d8abe5cacadf2cd32d7303} \subsubsection{Member Function Documentation} \index{Connection@{Connection}!c\_\-close@{c\_\-close}} \index{c\_\-close@{c\_\-close}!Connection@{Connection}} \paragraph[{c\_\-close}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Connection::c\_\-close (void) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classConnection_59ec69c9c520e630ff68d26a79e9e233} Implemented in {\bf Socket} \doxyref{}{p.}{classSocket_503235d029ac700c29cd56a4ca56d71e}.\index{Connection@{Connection}!c\_\-open@{c\_\-open}} \index{c\_\-open@{c\_\-open}!Connection@{Connection}} \paragraph[{c\_\-open}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Connection::c\_\-open (const char $\ast$ {\em host\_\-name}, \/ int {\em port}, \/ int {\em time\_\-out}, \/ int {\em protocol})\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classConnection_72f5c47421cb5e244f13c31af3ec8997} Implemented in {\bf Socket} \doxyref{}{p.}{classSocket_bde2f1d9ce0920abf5db65045a994261}.\index{Connection@{Connection}!c\_\-read@{c\_\-read}} \index{c\_\-read@{c\_\-read}!Connection@{Connection}} \paragraph[{c\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Connection::c\_\-read (bool = {\tt false})\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classConnection_1afa33b5406c710fde80167c4688a3fa} Implemented in {\bf Socket} \doxyref{}{p.}{classSocket_c5891445e5a71a389dffc5a20396901c}.\index{Connection@{Connection}!c\_\-reply@{c\_\-reply}} \index{c\_\-reply@{c\_\-reply}!Connection@{Connection}} \paragraph[{c\_\-reply}]{\setlength{\rightskip}{0pt plus 5cm}virtual const string$\ast$ Connection::c\_\-reply (void) const\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classConnection_21d05ebfedbedf2bc8f89c8c6727976b} Implemented in {\bf Socket} \doxyref{}{p.}{classSocket_f4e5077ca0a9275c2a201a6531c58061}.\index{Connection@{Connection}!c\_\-write@{c\_\-write}} \index{c\_\-write@{c\_\-write}!Connection@{Connection}} \paragraph[{c\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}virtual int Connection::c\_\-write (const char $\ast$ {\em msg})\hspace{0.3cm}{\tt [pure virtual]}}\hfill\label{classConnection_64687373aef3050c7620d726989df0e2} Implemented in {\bf Socket} \doxyref{}{p.}{classSocket_3c60642af7ebb0ee0f3f6642702f6f87}. The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf connection.hh}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/score_8hh.tex0000644000175000017500000000040311241450773015632 00000000000000\subsection{score.hh File Reference} \label{score_8hh}\index{score.hh@{score.hh}} {\tt \#include \char`\"{}filter.hh\char`\"{}}\par \subsubsection*{Classes} \begin{CompactItemize} \item class {\bf Size\_\-score} \item class {\bf Score} \end{CompactItemize} mailfilter-0.8.2/doc/api/latex/classAccount.tex0000644000175000017500000001501111241450773016373 00000000000000\subsection{Account Class Reference} \label{classAccount}\index{Account@{Account}} {\tt \#include $<$account.hh$>$} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item void {\bf clear} (void) \item string {\bf server} (void) \item void {\bf set\_\-server} (const char $\ast$) \item string {\bf usr} (void) \item void {\bf set\_\-usr} (const char $\ast$) \item string {\bf passwd} (void) \item void {\bf set\_\-passwd} (const char $\ast$) \item unsigned int {\bf port} (void) \item void {\bf set\_\-port} (unsigned int) \item void {\bf set\_\-protocol} (unsigned int) \item unsigned int {\bf protocol} (void) \item void {\bf set\_\-connection} (unsigned int=POSIX\_\-SOCKETS) \_\-\_\-attribute\_\-\_\-((unused)) \item int {\bf check} (void) \end{CompactItemize} \subsubsection*{Protected Attributes} \begin{CompactItemize} \item string {\bf serv} \item string {\bf user} \item string {\bf pass} \item int {\bf the\_\-port} \item vector$<$ string $>$ {\bf msg\_\-ids} \item {\bf Protocol} $\ast$ {\bf proto} \item {\bf Connection} $\ast$ {\bf conn} \end{CompactItemize} \subsubsection{Member Function Documentation} \index{Account@{Account}!check@{check}} \index{check@{check}!Account@{Account}} \paragraph[{check}]{\setlength{\rightskip}{0pt plus 5cm}int Account::check (void)}\hfill\label{classAccount_df5024f4417af54a47002a923e5a2eff} \index{Account@{Account}!clear@{clear}} \index{clear@{clear}!Account@{Account}} \paragraph[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void Account::clear (void)}\hfill\label{classAccount_ab526ed969bf48bfeb859788a01fde89} \index{Account@{Account}!passwd@{passwd}} \index{passwd@{passwd}!Account@{Account}} \paragraph[{passwd}]{\setlength{\rightskip}{0pt plus 5cm}string Account::passwd (void)}\hfill\label{classAccount_7f25ed19eb6c0027a90f6cc88dc8edbe} \index{Account@{Account}!port@{port}} \index{port@{port}!Account@{Account}} \paragraph[{port}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Account::port (void)}\hfill\label{classAccount_cd6ca787c1999663b0932960c37e7212} \index{Account@{Account}!protocol@{protocol}} \index{protocol@{protocol}!Account@{Account}} \paragraph[{protocol}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Account::protocol (void)}\hfill\label{classAccount_f52be96397b609899ef92a4f81ce0318} \index{Account@{Account}!server@{server}} \index{server@{server}!Account@{Account}} \paragraph[{server}]{\setlength{\rightskip}{0pt plus 5cm}string Account::server (void)}\hfill\label{classAccount_4a25379a5d5e31925b4ed760b733f843} \index{Account@{Account}!set\_\-connection@{set\_\-connection}} \index{set\_\-connection@{set\_\-connection}!Account@{Account}} \paragraph[{set\_\-connection}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-connection (unsigned int {\em the\_\-connection\_\-type} = {\tt POSIX\_\-SOCKETS})}\hfill\label{classAccount_ed2c0897fcc20fe0bf6f0f61152c6506} \index{Account@{Account}!set\_\-passwd@{set\_\-passwd}} \index{set\_\-passwd@{set\_\-passwd}!Account@{Account}} \paragraph[{set\_\-passwd}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-passwd (const char $\ast$ {\em s})}\hfill\label{classAccount_0b95866300803c8731e5731b1babcefa} \index{Account@{Account}!set\_\-port@{set\_\-port}} \index{set\_\-port@{set\_\-port}!Account@{Account}} \paragraph[{set\_\-port}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-port (unsigned int {\em p})}\hfill\label{classAccount_06bd6489cd330825647040028df6a8f0} \index{Account@{Account}!set\_\-protocol@{set\_\-protocol}} \index{set\_\-protocol@{set\_\-protocol}!Account@{Account}} \paragraph[{set\_\-protocol}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-protocol (unsigned int {\em prot})}\hfill\label{classAccount_931770ba3852d9242d2855806c8f1ce5} \index{Account@{Account}!set\_\-server@{set\_\-server}} \index{set\_\-server@{set\_\-server}!Account@{Account}} \paragraph[{set\_\-server}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-server (const char $\ast$ {\em s})}\hfill\label{classAccount_dd86acef57f14b961902da7d7a3fd76f} \index{Account@{Account}!set\_\-usr@{set\_\-usr}} \index{set\_\-usr@{set\_\-usr}!Account@{Account}} \paragraph[{set\_\-usr}]{\setlength{\rightskip}{0pt plus 5cm}void Account::set\_\-usr (const char $\ast$ {\em s})}\hfill\label{classAccount_cdaf877c2d2b079a2db16ad55f4bfae9} \index{Account@{Account}!usr@{usr}} \index{usr@{usr}!Account@{Account}} \paragraph[{usr}]{\setlength{\rightskip}{0pt plus 5cm}string Account::usr (void)}\hfill\label{classAccount_8de162812b38ad6684fff4e30c719450} \subsubsection{Member Data Documentation} \index{Account@{Account}!conn@{conn}} \index{conn@{conn}!Account@{Account}} \paragraph[{conn}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Connection}$\ast$ {\bf Account::conn}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_4b5f5c83f5b3f0d2e6ce9c9358f76385} \index{Account@{Account}!msg\_\-ids@{msg\_\-ids}} \index{msg\_\-ids@{msg\_\-ids}!Account@{Account}} \paragraph[{msg\_\-ids}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$string$>$ {\bf Account::msg\_\-ids}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_53b312e8085daefa3bb18744e809bab0} \index{Account@{Account}!pass@{pass}} \index{pass@{pass}!Account@{Account}} \paragraph[{pass}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Account::pass}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_af19d39e46cbf2b9191eed809efc5be2} \index{Account@{Account}!proto@{proto}} \index{proto@{proto}!Account@{Account}} \paragraph[{proto}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Protocol}$\ast$ {\bf Account::proto}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_dc82f1839409153a48769e5b219959e9} \index{Account@{Account}!serv@{serv}} \index{serv@{serv}!Account@{Account}} \paragraph[{serv}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Account::serv}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_4f91e37f28b4580d63cac1458fcae39d} \index{Account@{Account}!the\_\-port@{the\_\-port}} \index{the\_\-port@{the\_\-port}!Account@{Account}} \paragraph[{the\_\-port}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Account::the\_\-port}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_0e5cb33c4ca7248fb6efa372286cad25} \index{Account@{Account}!user@{user}} \index{user@{user}!Account@{Account}} \paragraph[{user}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Account::user}\hspace{0.3cm}{\tt [protected]}}\hfill\label{classAccount_c579ebb833a6f1be4be9a2b7185cf03e} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf account.hh}\item {\bf account.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/latex/pop3_8cc.tex0000644000175000017500000000414611241450773015376 00000000000000\subsection{pop3.cc File Reference} \label{pop3_8cc}\index{pop3.cc@{pop3.cc}} {\tt \#include $<$cstdio$>$}\par {\tt \#include $<$cstdlib$>$}\par {\tt \#include $<$sstream$>$}\par {\tt \#include $<$string$>$}\par {\tt \#include \char`\"{}socket.hh\char`\"{}}\par {\tt \#include \char`\"{}pop3.hh\char`\"{}}\par {\tt \#include \char`\"{}feedback.hh\char`\"{}}\par {\tt \#include \char`\"{}preferences.hh\char`\"{}}\par {\tt \#include \char`\"{}mailfilter.hh\char`\"{}}\par {\tt \#include \char`\"{}header.hh\char`\"{}}\par {\tt \#include \char`\"{}weeder.hh\char`\"{}}\par {\tt \#include \char`\"{}defines.hh\char`\"{}}\par {\tt \#include \char`\"{}protocol.hh\char`\"{}}\par {\tt \#include $<$FlexLexer.h$>$}\par \subsubsection*{Defines} \begin{CompactItemize} \item \#define {\bf yyFlexLexer}~rfcFlexLexer \end{CompactItemize} \subsubsection*{Functions} \begin{CompactItemize} \item int {\bf rfcparse} (void $\ast$) \end{CompactItemize} \subsubsection*{Variables} \begin{CompactItemize} \item FlexLexer $\ast$ {\bf rfclexer} \item Weeder {\bf weeder} \end{CompactItemize} \subsubsection{Define Documentation} \index{pop3.cc@{pop3.cc}!yyFlexLexer@{yyFlexLexer}} \index{yyFlexLexer@{yyFlexLexer}!pop3.cc@{pop3.cc}} \paragraph[{yyFlexLexer}]{\setlength{\rightskip}{0pt plus 5cm}\#define yyFlexLexer~rfcFlexLexer}\hfill\label{pop3_8cc_f699458ba5331ddec7e15a878f42f8f5} \subsubsection{Function Documentation} \index{pop3.cc@{pop3.cc}!rfcparse@{rfcparse}} \index{rfcparse@{rfcparse}!pop3.cc@{pop3.cc}} \paragraph[{rfcparse}]{\setlength{\rightskip}{0pt plus 5cm}int rfcparse (void $\ast$)}\hfill\label{pop3_8cc_244880e4425841cbc78d84da8c882369} \subsubsection{Variable Documentation} \index{pop3.cc@{pop3.cc}!rfclexer@{rfclexer}} \index{rfclexer@{rfclexer}!pop3.cc@{pop3.cc}} \paragraph[{rfclexer}]{\setlength{\rightskip}{0pt plus 5cm}FlexLexer$\ast$ {\bf rfclexer}}\hfill\label{pop3_8cc_031d57ace52fefb9c659321b045831b5} \index{pop3.cc@{pop3.cc}!weeder@{weeder}} \index{weeder@{weeder}!pop3.cc@{pop3.cc}} \paragraph[{weeder}]{\setlength{\rightskip}{0pt plus 5cm}Weeder {\bf weeder}}\hfill\label{pop3_8cc_a366ad0c1ab3b661b0df659697a5e10f} mailfilter-0.8.2/doc/api/latex/classFilter.tex0000644000175000017500000000710211241450773016226 00000000000000\subsection{Filter Class Reference} \label{classFilter}\index{Filter@{Filter}} {\tt \#include $<$filter.hh$>$} Inheritance diagram for Filter::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classFilter} \end{center} \end{figure} \subsubsection*{Public Member Functions} \begin{CompactItemize} \item {\bf Filter} (void) \item {\bf $\sim$Filter} (void) \item string {\bf expression} (void) const \item void {\bf set\_\-expression} (const char $\ast$) \item int {\bf compile} (void) \item void {\bf set\_\-negativity} (bool) \item bool {\bf is\_\-negative} (void) const \item int {\bf ccase} (void) const \item void {\bf set\_\-case} (int) \item const regex\_\-t $\ast$ {\bf comp\_\-exp} (void) const \end{CompactItemize} \subsubsection{Constructor \& Destructor Documentation} \index{Filter@{Filter}!Filter@{Filter}} \index{Filter@{Filter}!Filter@{Filter}} \paragraph[{Filter}]{\setlength{\rightskip}{0pt plus 5cm}Filter::Filter (void)}\hfill\label{classFilter_b86c90163e27f662edd126f5ae0d0334} \index{Filter@{Filter}!$\sim$Filter@{$\sim$Filter}} \index{$\sim$Filter@{$\sim$Filter}!Filter@{Filter}} \paragraph[{$\sim$Filter}]{\setlength{\rightskip}{0pt plus 5cm}Filter::$\sim$Filter (void)}\hfill\label{classFilter_5d7ba6a80d45796887ac4032b6dbb29a} \subsubsection{Member Function Documentation} \index{Filter@{Filter}!ccase@{ccase}} \index{ccase@{ccase}!Filter@{Filter}} \paragraph[{ccase}]{\setlength{\rightskip}{0pt plus 5cm}int Filter::ccase (void) const}\hfill\label{classFilter_e693aa3a6cc5c221cdb6001d3a993ae5} \index{Filter@{Filter}!comp\_\-exp@{comp\_\-exp}} \index{comp\_\-exp@{comp\_\-exp}!Filter@{Filter}} \paragraph[{comp\_\-exp}]{\setlength{\rightskip}{0pt plus 5cm}const regex\_\-t $\ast$ Filter::comp\_\-exp (void) const}\hfill\label{classFilter_03ba94c3909178285d7b3592223e3f81} \index{Filter@{Filter}!compile@{compile}} \index{compile@{compile}!Filter@{Filter}} \paragraph[{compile}]{\setlength{\rightskip}{0pt plus 5cm}int Filter::compile (void)}\hfill\label{classFilter_04dad870beefa75e77ab935c829f01f9} \index{Filter@{Filter}!expression@{expression}} \index{expression@{expression}!Filter@{Filter}} \paragraph[{expression}]{\setlength{\rightskip}{0pt plus 5cm}string Filter::expression (void) const}\hfill\label{classFilter_9de91db7ddb1391ca715dda8a24f6fce} \index{Filter@{Filter}!is\_\-negative@{is\_\-negative}} \index{is\_\-negative@{is\_\-negative}!Filter@{Filter}} \paragraph[{is\_\-negative}]{\setlength{\rightskip}{0pt plus 5cm}bool Filter::is\_\-negative (void) const}\hfill\label{classFilter_2da73a93e4248a1077978f3ccb5dda30} \index{Filter@{Filter}!set\_\-case@{set\_\-case}} \index{set\_\-case@{set\_\-case}!Filter@{Filter}} \paragraph[{set\_\-case}]{\setlength{\rightskip}{0pt plus 5cm}void Filter::set\_\-case (int {\em c})}\hfill\label{classFilter_d08de0b1335d5e02a663ec537aceebe4} \index{Filter@{Filter}!set\_\-expression@{set\_\-expression}} \index{set\_\-expression@{set\_\-expression}!Filter@{Filter}} \paragraph[{set\_\-expression}]{\setlength{\rightskip}{0pt plus 5cm}void Filter::set\_\-expression (const char $\ast$ {\em exp})}\hfill\label{classFilter_e97e377d363d2eb89fdc798b5aecd3bf} \index{Filter@{Filter}!set\_\-negativity@{set\_\-negativity}} \index{set\_\-negativity@{set\_\-negativity}!Filter@{Filter}} \paragraph[{set\_\-negativity}]{\setlength{\rightskip}{0pt plus 5cm}void Filter::set\_\-negativity (bool {\em t})}\hfill\label{classFilter_8aec8a32fb0ecfb9a47d4b3f34cc5c18} The documentation for this class was generated from the following files:\begin{CompactItemize} \item {\bf filter.hh}\item {\bf filter.cc}\end{CompactItemize} mailfilter-0.8.2/doc/api/html/0000777000175000017500000000000011241450773013144 500000000000000mailfilter-0.8.2/doc/api/html/socket_8hh-source.html0000644000175000017500000002046511241450773017312 00000000000000 mailfilter: socket.hh Source File
Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/structMD5__CTX-members.html0000644000175000017500000000366011241450773020112 00000000000000 mailfilter: Member List

MD5_CTX Member List

This is the complete list of members for MD5_CTX, including all inherited members.

bufferMD5_CTX
countMD5_CTX
stateMD5_CTX


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/connection_8hh-source.html0000644000175000017500000001424511241450773020160 00000000000000 mailfilter: connection.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classConnection.html0000644000175000017500000002070511241450773017077 00000000000000 mailfilter: Connection Class Reference

Connection Class Reference

#include <connection.hh>

Inheritance diagram for Connection:

Socket

List of all members.

Public Member Functions

virtual ~Connection (void)
virtual int c_open (const char *host_name, int port, int time_out, int protocol)=0
virtual int c_close (void) const =0
virtual int c_read (bool=false)=0
virtual int c_write (const char *msg)=0
virtual const string * c_reply (void) const =0


Constructor & Destructor Documentation

virtual Connection::~Connection ( void   )  [inline, virtual]


Member Function Documentation

virtual int Connection::c_close ( void   )  const [pure virtual]

Implemented in Socket.

virtual int Connection::c_open ( const char *  host_name,
int  port,
int  time_out,
int  protocol 
) [pure virtual]

Implemented in Socket.

virtual int Connection::c_read ( bool  = false  )  [pure virtual]

Implemented in Socket.

virtual const string* Connection::c_reply ( void   )  const [pure virtual]

Implemented in Socket.

virtual int Connection::c_write ( const char *  msg  )  [pure virtual]

Implemented in Socket.


The documentation for this class was generated from the following file:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classAccount-members.html0000644000175000017500000001256011241450773020024 00000000000000 mailfilter: Member List

Account Member List

This is the complete list of members for Account, including all inherited members.

check(void)Account
clear(void)Account
connAccount [protected]
msg_idsAccount [protected]
passAccount [protected]
passwd(void)Account
port(void)Account
protoAccount [protected]
protocol(void)Account
servAccount [protected]
server(void)Account
set_connection(unsigned int=POSIX_SOCKETS) __attribute__((unused))Account
set_passwd(const char *)Account
set_port(unsigned int)Account
set_protocol(unsigned int)Account
set_server(const char *)Account
set_usr(const char *)Account
the_portAccount [protected]
userAccount [protected]
usr(void)Account


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classScore.html0000644000175000017500000001055111241450773016051 00000000000000 mailfilter: Score Class Reference

Score Class Reference

#include <score.hh>

Inheritance diagram for Score:

Filter

List of all members.

Public Member Functions

int score (void) const
void set_score (int)

Protected Attributes

int scr


Member Function Documentation

int Score::score ( void   )  const

void Score::set_score ( int   ) 


Member Data Documentation

int Score::scr [protected]


The documentation for this class was generated from the following file:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/score_8hh.html0000644000175000017500000000347211241450773015636 00000000000000 mailfilter: score.hh File Reference

score.hh File Reference

#include "filter.hh"

Go to the source code of this file.

Classes

class  Size_score
class  Score


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/globals.html0000644000175000017500000003253311241450773015377 00000000000000 mailfilter: Class Members
Here is a list of all file members with links to the files they belong to:

- _ -

- c -

- e -

- f -

- g -

- h -

- i -

- m -

- n -

- o -

- p -

- r -

- s -

- v -

- w -

- y -


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/protocol_8hh-source.html0000644000175000017500000002113211241450773017653 00000000000000 mailfilter: protocol.hh Source File
Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classAPOP-members.html0000644000175000017500000000767411241450773017201 00000000000000 mailfilter: Member List

APOP Member List

This is the complete list of members for APOP, including all inherited members.

connProtocol [protected]
connect_typeProtocol [protected]
ident(void) const Protocol
login(const char *usr, const char *pass, const unsigned int enc) const APOP [virtual]
logout(void) const POP3 [virtual]
prot_identProtocol [protected]
remove_msg(const unsigned int) const POP3 [virtual]
scan(void) const POP3 [virtual]
set_connection(Connection *)Protocol
set_ident(unsigned int)Protocol
status(void) const POP3 [virtual]
~Protocol(void)Protocol [inline, virtual]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classProtocol.html0000644000175000017500000003243111241450773016600 00000000000000 mailfilter: Protocol Class Reference

Protocol Class Reference

#include <protocol.hh>

Inheritance diagram for Protocol:

POP3 APOP

List of all members.

Public Member Functions

virtual ~Protocol (void)
virtual bool login (const char *usr, const char *pass, const unsigned int) const =0
virtual bool logout (void) const =0
virtual int remove_msg (const unsigned int num) const =0
virtual int status (void) const =0
virtual int scan (void) const =0
void set_connection (Connection *)
void set_ident (unsigned int)
unsigned int ident (void) const

Protected Attributes

Connectionconn
unsigned int prot_ident
unsigned int connect_type


Constructor & Destructor Documentation

virtual Protocol::~Protocol ( void   )  [inline, virtual]


Member Function Documentation

unsigned int Protocol::ident ( void   )  const

virtual bool Protocol::login ( const char *  usr,
const char *  pass,
const unsigned  int 
) const [pure virtual]

Implemented in POP3, and APOP.

virtual bool Protocol::logout ( void   )  const [pure virtual]

Implemented in POP3.

virtual int Protocol::remove_msg ( const unsigned int  num  )  const [pure virtual]

Implemented in POP3.

virtual int Protocol::scan ( void   )  const [pure virtual]

Implemented in POP3.

void Protocol::set_connection ( Connection currently_established_connection  ) 

void Protocol::set_ident ( unsigned int  i  ) 

virtual int Protocol::status ( void   )  const [pure virtual]

Implemented in POP3.


Member Data Documentation

Connection* Protocol::conn [protected]

unsigned int Protocol::connect_type [protected]

unsigned int Protocol::prot_ident [protected]


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/score_8hh-source.html0000644000175000017500000001273311241450773017134 00000000000000 mailfilter: score.hh Source File
Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/getopt_8c.html0000644000175000017500000003443311241450773015651 00000000000000 mailfilter: getopt.c File Reference

getopt.c File Reference

#include <stdio.h>
#include "getopt.h"
#include <strings.h>

Defines

#define GETOPT_INTERFACE_VERSION   2
#define _(msgid)   (msgid)
#define SWAP_FLAGS(ch1, ch2)
#define NONOPTION_P   (argv[optind][0] != '-' || argv[optind][1] == '\0')

Enumerations

enum  { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER }

Functions

char * getenv ()
int _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
int getopt (int argc, char *const *argv, const char *optstring)

Variables

char * optarg
int optind = 1
int __getopt_initialized
int opterr = 1
int optopt = '?'

Define Documentation

#define _ ( msgid   )     (msgid)

#define GETOPT_INTERFACE_VERSION   2

#define NONOPTION_P   (argv[optind][0] != '-' || argv[optind][1] == '\0')

#define SWAP_FLAGS ( ch1,
ch2   ) 


Enumeration Type Documentation

anonymous enum

Enumerator:
REQUIRE_ORDER 
PERMUTE 
RETURN_IN_ORDER 


Function Documentation

int _getopt_internal ( int  argc,
char *const *  argv,
const char *  optstring,
const struct option longopts,
int *  longind,
int  long_only 
)

char* getenv (  ) 

int getopt ( int  argc,
char *const *  argv,
const char *  optstring 
)


Variable Documentation

char* optarg

int opterr = 1

int optind = 1

int optopt = '?'


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/mailfilter_8hh-source.html0000644000175000017500000001415011241450773020144 00000000000000 mailfilter: mailfilter.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/getopt_8h.html0000644000175000017500000002350411241450773015653 00000000000000 mailfilter: getopt.h File Reference

getopt.h File Reference

#include <ctype.h>

Go to the source code of this file.

Classes

struct  option

Defines

#define _GETOPT_H   1
#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

int getopt ()
int getopt_long ()
int getopt_long_only ()
int _getopt_internal ()

Variables

char * optarg
int optind
int opterr
int optopt


Define Documentation

#define _GETOPT_H   1

#define no_argument   0

#define optional_argument   2

#define required_argument   1


Function Documentation

int _getopt_internal (  ) 

int getopt (  ) 

int getopt_long (  ) 

int getopt_long_only (  ) 


Variable Documentation

char* optarg

int opterr

int optind

int optopt


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/protocol_8cc.html0000644000175000017500000000267611241450773016357 00000000000000 mailfilter: protocol.cc File Reference

protocol.cc File Reference

#include "connection.hh"
#include "protocol.hh"

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/functions_vars.html0000644000175000017500000002054011241450773017012 00000000000000 mailfilter: Class Members - Variables
 

- a -

- b -

- c -

- d -

- f -

- h -

- i -

- l -

- m -

- n -

- p -

- r -

- s -

- t -

- u -

- v -


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/account_8cc.html0000644000175000017500000000746511241450773016153 00000000000000 mailfilter: account.cc File Reference

account.cc File Reference

#include <string>
#include <vector>
#include <typeinfo>
#include "account.hh"
#include "pop3.hh"
#include "apop.hh"
#include "preferences.hh"
#include "feedback.hh"
#include "mailfilter.hh"
#include "connection.hh"
#include "socket.hh"
#include "defines.hh"

Functions

string int_to_string (int)

Variables

int mailbox_status

Function Documentation

string int_to_string ( int   ) 


Variable Documentation


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/pop3_8cc.html0000644000175000017500000001221211241450773015362 00000000000000 mailfilter: pop3.cc File Reference

pop3.cc File Reference

#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <string>
#include "socket.hh"
#include "pop3.hh"
#include "feedback.hh"
#include "preferences.hh"
#include "mailfilter.hh"
#include "header.hh"
#include "weeder.hh"
#include "defines.hh"
#include "protocol.hh"
#include <FlexLexer.h>

Defines

#define yyFlexLexer   rfcFlexLexer

Functions

int rfcparse (void *)

Variables

FlexLexer * rfclexer
Weeder weeder

Define Documentation

#define yyFlexLexer   rfcFlexLexer


Function Documentation

int rfcparse ( void *   ) 


Variable Documentation

FlexLexer* rfclexer

Weeder weeder


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/functions.html0000644000175000017500000005021511241450773015761 00000000000000 mailfilter: Class Members
Here is a list of all class members with links to the classes they belong to:

- a -

- b -

- c -

- d -

- e -

- f -

- h -

- i -

- k -

- l -

- m -

- n -

- o -

- p -

- r -

- s -

- t -

- u -

- v -

- ~ -


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classPOP3.html0000644000175000017500000001656711241450773015534 00000000000000 mailfilter: POP3 Class Reference

POP3 Class Reference

#include <pop3.hh>

Inheritance diagram for POP3:

Protocol APOP

List of all members.

Public Member Functions

bool login (const char *, const char *, const unsigned int) const
bool logout (void) const
int remove_msg (const unsigned int) const
int status (void) const
int scan (void) const


Member Function Documentation

bool POP3::login ( const char *  usr,
const char *  pass,
const unsigned int  enc 
) const [virtual]

Implements Protocol.

Reimplemented in APOP.

bool POP3::logout ( void   )  const [virtual]

Implements Protocol.

int POP3::remove_msg ( const unsigned int  num  )  const [virtual]

Implements Protocol.

int POP3::scan ( void   )  const [virtual]

Implements Protocol.

int POP3::status ( void   )  const [virtual]

Implements Protocol.


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/structoption.html0000644000175000017500000001054111241450773016524 00000000000000 mailfilter: option Struct Reference

option Struct Reference

#include <getopt.h>

List of all members.

Public Attributes

char * name
int has_arg
int * flag
int val


Member Data Documentation

char* option::name


The documentation for this struct was generated from the following file:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/pop3_8hh-source.html0000644000175000017500000001715311241450773016703 00000000000000 mailfilter: pop3.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classAccount.html0000644000175000017500000004242611241450773016400 00000000000000 mailfilter: Account Class Reference

Account Class Reference

#include <account.hh>

List of all members.

Public Member Functions

void clear (void)
string server (void)
void set_server (const char *)
string usr (void)
void set_usr (const char *)
string passwd (void)
void set_passwd (const char *)
unsigned int port (void)
void set_port (unsigned int)
void set_protocol (unsigned int)
unsigned int protocol (void)
void set_connection (unsigned int=POSIX_SOCKETS) __attribute__((unused))
int check (void)

Protected Attributes

string serv
string user
string pass
int the_port
vector< string > msg_ids
Protocolproto
Connectionconn


Member Function Documentation

int Account::check ( void   ) 

void Account::clear ( void   ) 

string Account::passwd ( void   ) 

unsigned int Account::port ( void   ) 

unsigned int Account::protocol ( void   ) 

string Account::server ( void   ) 

void Account::set_connection ( unsigned int  the_connection_type = POSIX_SOCKETS  ) 

void Account::set_passwd ( const char *  s  ) 

void Account::set_port ( unsigned int  p  ) 

void Account::set_protocol ( unsigned int  prot  ) 

void Account::set_server ( const char *  s  ) 

void Account::set_usr ( const char *  s  ) 

string Account::usr ( void   ) 


Member Data Documentation

Connection* Account::conn [protected]

vector<string> Account::msg_ids [protected]

string Account::pass [protected]

Protocol* Account::proto [protected]

string Account::serv [protected]

int Account::the_port [protected]

string Account::user [protected]


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/filter_8cc.html0000644000175000017500000000331411241450773015771 00000000000000 mailfilter: filter.cc File Reference

filter.cc File Reference

#include <iostream>
#include <string>
#include <sys/types.h>
#include <regex.h>
#include "filter.hh"
#include "mailfilter.hh"
#include "preferences.hh"

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/preferences_8cc.html0000644000175000017500000001044111241450773017004 00000000000000 mailfilter: preferences.cc File Reference

preferences.cc File Reference

#include <string>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <fstream>
#include <vector>
#include <stdexcept>
#include <cstdio>
#include "preferences.hh"
#include "filter.hh"
#include "mailfilter.hh"
#include "account.hh"
#include "protocol.hh"
#include "score.hh"
#include "rcfile.hh"
#include <wordexp.h>
#include <sys/types.h>
#include <regex.h>

Functions

int rcparse (void *)
int cmp_no_case (const string &, const string &)

Function Documentation

int cmp_no_case ( const string &  ,
const string &   
)

int rcparse ( void *   ) 


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classAPOP.html0000644000175000017500000000720011241450773015532 00000000000000 mailfilter: APOP Class Reference

APOP Class Reference

#include <apop.hh>

Inheritance diagram for APOP:

POP3 Protocol

List of all members.

Public Member Functions

bool login (const char *usr, const char *pass, const unsigned int enc) const


Member Function Documentation

bool APOP::login ( const char *  usr,
const char *  pass,
const unsigned int  enc 
) const [virtual]

Reimplemented from POP3.


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/md5_8h-source.html0000644000175000017500000001715411241450773016340 00000000000000 mailfilter: md5.h Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classProtocol.png0000644000175000017500000000053511241450773016420 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATX] 3f&;ϞFQ\bt3t qJBrZ+vj| !&ac6W\yJkUyzn7'A=TK0b<1f?S׌P]M5εF-v}/ikTéc_>Ǩ,dc,˳2 ¢qeƜ2aE6"2fپ]s w8}IENDB`mailfilter-0.8.2/doc/api/html/functions_func.html0000644000175000017500000003575011241450773017003 00000000000000 mailfilter: Class Members - Functions
 

- a -

- c -

- d -

- e -

- f -

- h -

- i -

- k -

- l -

- m -

- n -

- o -

- p -

- r -

- s -

- t -

- u -

- v -

- ~ -


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classScore.png0000644000175000017500000000042511241450773015670 00000000000000PNG  IHDR.PZPLTE`{tRNS@fIDAT8풱 EMf b *!o!调hg ">D'ϹQ?96_7}B|+Yf?b#;z<}sؔ%-Q YGM$ed jn]O7>w;VBIENDB`mailfilter-0.8.2/doc/api/html/pop3_8hh.html0000644000175000017500000000734411241450773015406 00000000000000 mailfilter: pop3.hh File Reference

pop3.hh File Reference

#include "header.hh"
#include "protocol.hh"

Go to the source code of this file.

Classes

class  POP3

Defines

#define REPLY_OK
#define HEADER_OK


Define Documentation

#define HEADER_OK

Value:

((conn->c_read (true) > 0 && conn->c_reply ())? \
        (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \
                                                         : false)

#define REPLY_OK

Value:

((conn->c_read () > 0 && conn->c_reply ()) ?     \
        (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \
                                                         : false)


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/index.html0000644000175000017500000000176511241450773015066 00000000000000 mailfilter: Main Page

mailfilter Documentation

0.8.2


Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/preferences_8hh.html0000644000175000017500000000415011241450773017016 00000000000000 mailfilter: preferences.hh File Reference

preferences.hh File Reference

#include <string>
#include <vector>
#include <fstream>
#include "defines.hh"
#include "socket.hh"
#include "filter.hh"
#include "score.hh"
#include "account.hh"

Go to the source code of this file.

Classes

class  Preferences


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/structMD5__CTX.html0000644000175000017500000000743311241450773016464 00000000000000 mailfilter: MD5_CTX Struct Reference

MD5_CTX Struct Reference

#include <md5.h>

List of all members.

Public Attributes

uint32_t state [4]
uint32_t count [2]
unsigned char buffer [64]


Member Data Documentation

unsigned char MD5_CTX::buffer[64]

uint32_t MD5_CTX::count[2]

uint32_t MD5_CTX::state[4]


The documentation for this struct was generated from the following file:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classPreferences.html0000644000175000017500000021146511241450773017246 00000000000000 mailfilter: Preferences Class Reference

Preferences Class Reference

#include <preferences.hh>

List of all members.

Public Member Functions

 Preferences ()
void init (void)
void kill (void)
bool open (const char *)
bool load (void)
void add_deny_rule (const char *, const char *, const char *)
void add_allow_rule (const char *, const char *, const char *)
void add_score (const char *, int, const char *, const char *)
int neg_allows (void)
int neg_denies (void)
void set_rc_file (const char *)
string rc_file (void)
void set_log_file (const char *)
string log_file (void)
void set_verbose_level (int)
int verbose_level (void)
void set_headers_file (const char *)
string headers_file (void)
void set_default_case (const char *)
int default_case (void)
void set_reg_type (const char *)
int reg_type (void)
void set_server (const char *)
void set_usr (const char *)
void set_passwd (const char *)
void set_protocol (const char *)
void set_connection (unsigned int=POSIX_SOCKETS) __attribute__((unused))
void set_port (unsigned int)
unsigned int time_out (void)
void set_time_out (unsigned int)
bool delete_duplicates (void)
void set_del_duplicates (const char *)
int max_size_allow (void)
void set_max_size_allow (int)
int max_size_deny (void)
void set_max_size_deny (int)
Size_score max_size_score (void)
void set_max_size_score (int, int)
int highscore (void)
void set_highscore (int)
bool normal (void)
void set_normal (const char *)
bool test_mode (void)
void set_test_mode (const char *)
int maxlength (void)
void set_maxlength (int)
bool return_status (void)
void set_return_status (bool)
vector< Account > * accounts (void)
vector< Filter > * allow_filters (void)
vector< Filter > * deny_filters (void)
vector< Score > * score_filters (void)

Static Public Member Functions

static PreferencesInstance ()

Protected Attributes

ifstream prefs_stream
vector< Filterallows
vector< Filterdenies
vector< Scorescores
vector< Accountaccnts
Account cur_account
string prefs_file_name
string log_file_name
string headers_file_name
int icase
bool norm
bool test
bool show_headers
bool del_duplicates
bool ret_status
int high_score
unsigned time_out_val
int max_size
Size_score size_score
int max_size_friends
int max_line_length
int rreg_type
int verbosity
int conn_type
int negative_allows
int negative_denies
int negative_scores
bool verbosity_changed
bool test_changed


Constructor & Destructor Documentation

Preferences::Preferences (  ) 


Member Function Documentation

vector< Account > * Preferences::accounts ( void   ) 

void Preferences::add_allow_rule ( const char *  keyword,
const char *  operat,
const char *  id 
)

void Preferences::add_deny_rule ( const char *  keyword,
const char *  operat,
const char *  id 
)

void Preferences::add_score ( const char *  keyword,
int  given_score,
const char *  operat,
const char *  id 
)

vector< Filter > * Preferences::allow_filters ( void   ) 

int Preferences::default_case ( void   ) 

bool Preferences::delete_duplicates ( void   ) 

vector< Filter > * Preferences::deny_filters ( void   ) 

string Preferences::headers_file ( void   ) 

int Preferences::highscore ( void   ) 

void Preferences::init ( void   ) 

Preferences & Preferences::Instance ( void   )  [static]

void Preferences::kill ( void   ) 

bool Preferences::load ( void   ) 

string Preferences::log_file ( void   ) 

int Preferences::max_size_allow ( void   ) 

int Preferences::max_size_deny ( void   ) 

Size_score Preferences::max_size_score ( void   ) 

int Preferences::maxlength ( void   ) 

int Preferences::neg_allows ( void   ) 

int Preferences::neg_denies ( void   ) 

bool Preferences::normal ( void   ) 

bool Preferences::open ( const char *  name  ) 

string Preferences::rc_file ( void   ) 

int Preferences::reg_type ( void   ) 

bool Preferences::return_status ( void   ) 

vector< Score > * Preferences::score_filters ( void   ) 

void Preferences::set_connection ( unsigned int  p = POSIX_SOCKETS  ) 

void Preferences::set_default_case ( const char *  new_case  ) 

void Preferences::set_del_duplicates ( const char *  del  ) 

void Preferences::set_headers_file ( const char *  name  ) 

void Preferences::set_highscore ( int  val  ) 

void Preferences::set_log_file ( const char *  name  ) 

void Preferences::set_max_size_allow ( int  val  ) 

void Preferences::set_max_size_deny ( int  val  ) 

void Preferences::set_max_size_score ( int  score,
int  size 
)

void Preferences::set_maxlength ( int  val  ) 

void Preferences::set_normal ( const char *  par  ) 

void Preferences::set_passwd ( const char *  pass  ) 

void Preferences::set_port ( unsigned int  p  ) 

void Preferences::set_protocol ( const char *  prot  ) 

void Preferences::set_rc_file ( const char *  name  ) 

void Preferences::set_reg_type ( const char *  new_type  ) 

void Preferences::set_return_status ( bool  st  ) 

void Preferences::set_server ( const char *  server  ) 

void Preferences::set_test_mode ( const char *  par  ) 

void Preferences::set_time_out ( unsigned int  val  ) 

void Preferences::set_usr ( const char *  user  ) 

void Preferences::set_verbose_level ( int  level  ) 

bool Preferences::test_mode ( void   ) 

unsigned int Preferences::time_out ( void   ) 

int Preferences::verbose_level ( void   ) 


Member Data Documentation

vector<Account> Preferences::accnts [protected]

vector<Filter> Preferences::allows [protected]

int Preferences::conn_type [protected]

bool Preferences::del_duplicates [protected]

vector<Filter> Preferences::denies [protected]

string Preferences::headers_file_name [protected]

int Preferences::high_score [protected]

int Preferences::icase [protected]

string Preferences::log_file_name [protected]

int Preferences::max_size [protected]

bool Preferences::norm [protected]

string Preferences::prefs_file_name [protected]

ifstream Preferences::prefs_stream [protected]

bool Preferences::ret_status [protected]

int Preferences::rreg_type [protected]

vector<Score> Preferences::scores [protected]

bool Preferences::show_headers [protected]

bool Preferences::test [protected]

bool Preferences::test_changed [protected]

unsigned Preferences::time_out_val [protected]

int Preferences::verbosity [protected]


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classSocket-members.html0000644000175000017500000000613211241450773017656 00000000000000 mailfilter: Member List

Socket Member List

This is the complete list of members for Socket, including all inherited members.

c_close(void) const Socket [virtual]
c_open(const char *host, int port, int time_out, int protocol)Socket [virtual]
c_read(bool=false)Socket [virtual]
c_reply(void) const Socket [virtual]
c_write(const char *command)Socket [virtual]
clear(void)Socket
Socket(void)Socket
~Connection(void)Connection [inline, virtual]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/md5c_8c.html0000644000175000017500000006504111241450773015176 00000000000000 mailfilter: md5c.c File Reference

md5c.c File Reference

#include "md5.h"

Defines

#define S11   7
#define S12   12
#define S13   17
#define S14   22
#define S21   5
#define S22   9
#define S23   14
#define S24   20
#define S31   4
#define S32   11
#define S33   16
#define S34   23
#define S41   6
#define S42   10
#define S43   15
#define S44   21
#define F(x, y, z)   (((x) & (y)) | ((~x) & (z)))
#define G(x, y, z)   (((x) & (z)) | ((y) & (~z)))
#define H(x, y, z)   ((x) ^ (y) ^ (z))
#define I(x, y, z)   ((y) ^ ((x) | (~z)))
#define ROTATE_LEFT(x, n)   (((x) << (n)) | ((x) >> (32-(n))))
#define FF(a, b, c, d, x, s, ac)
#define GG(a, b, c, d, x, s, ac)
#define HH(a, b, c, d, x, s, ac)
#define II(a, b, c, d, x, s, ac)

Functions

void MD5Init (MD5_CTX *context)
void MD5Update (MD5_CTX *context, unsigned char *input, unsigned int inputLen)
void MD5Final (digest, MD5_CTX *context)

Define Documentation

#define F ( x,
y,
 )     (((x) & (y)) | ((~x) & (z)))

#define FF ( a,
b,
c,
d,
x,
s,
ac   ) 

Value:

{ \
 (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }

#define G ( x,
y,
 )     (((x) & (z)) | ((y) & (~z)))

#define GG ( a,
b,
c,
d,
x,
s,
ac   ) 

Value:

{ \
 (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }

#define H ( x,
y,
 )     ((x) ^ (y) ^ (z))

#define HH ( a,
b,
c,
d,
x,
s,
ac   ) 

Value:

{ \
 (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }

#define I ( x,
y,
 )     ((y) ^ ((x) | (~z)))

#define II ( a,
b,
c,
d,
x,
s,
ac   ) 

Value:

{ \
 (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \
 (a) = ROTATE_LEFT ((a), (s)); \
 (a) += (b); \
  }

#define ROTATE_LEFT ( x,
 )     (((x) << (n)) | ((x) >> (32-(n))))

#define S11   7

#define S12   12

#define S13   17

#define S14   22

#define S21   5

#define S22   9

#define S23   14

#define S24   20

#define S31   4

#define S32   11

#define S33   16

#define S34   23

#define S41   6

#define S42   10

#define S43   15

#define S44   21


Function Documentation

void MD5Final ( digest  ,
MD5_CTX context 
)

void MD5Init ( MD5_CTX context  ) 

void MD5Update ( MD5_CTX context,
unsigned char *  input,
unsigned int  inputLen 
)


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/annotated.html0000644000175000017500000000546111241450773015731 00000000000000 mailfilter: Class List

Class List

Here are the classes, structs, unions and interfaces with brief descriptions:
Account
APOP
Connection
Feedback
Filter
MD5_CTX
option
POP3
Preferences
Protocol
Score
Size_score
Socket

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classSize__score.html0000644000175000017500000000612311241450773017242 00000000000000 mailfilter: Size_score Class Reference

Size_score Class Reference

#include <score.hh>

List of all members.

Public Attributes

int score
int size


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classes.html0000644000175000017500000001023411241450773015403 00000000000000 mailfilter: Alphabetical List

Class Index

A | C | F | M | O | P | S

  A  
Connection   
  M  
  P  
  S  
Account   
  F  
MD5_CTX   POP3   Score   
APOP   Feedback   
  O  
Preferences   Size_score   
  C  
Filter   option   Protocol   Socket   

A | C | F | M | O | P | S


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classFilter-members.html0000644000175000017500000000643511241450773017661 00000000000000 mailfilter: Member List

Filter Member List

This is the complete list of members for Filter, including all inherited members.

ccase(void) const Filter
comp_exp(void) const Filter
compile(void)Filter
expression(void) const Filter
Filter(void)Filter
is_negative(void) const Filter
set_case(int)Filter
set_expression(const char *)Filter
set_negativity(bool)Filter
~Filter(void)Filter


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/socket_8cc.html0000644000175000017500000000447211241450773016002 00000000000000 mailfilter: socket.cc File Reference

socket.cc File Reference

#include <iostream>
#include <csignal>
#include <cstring>
#include <string>
#include <stdexcept>
#include <sstream>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <netdb.h>
#include "defines.hh"
#include "mailfilter.hh"
#include "feedback.hh"
#include "socket.hh"
#include "protocol.hh"

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/mailfilter_8cc.html0000644000175000017500000003220011241450773016630 00000000000000 mailfilter: mailfilter.cc File Reference

mailfilter.cc File Reference

#include <iostream>
#include <sstream>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <csignal>
#include <stdexcept>
#include <vector>
#include "mailfilter.hh"
#include "preferences.hh"
#include "feedback.hh"
#include "weeder.hh"
#include "time.h"
#include <sys/time.h>
#include "getopt.h"

Functions

void init_app (void)
bool open_prefs (string)
void get_opts (int argc, char *argv[])
void override_prefs (string)
int cmp_no_case (const string &, const string &)
int precompile_expressions (void)
void connect_sigint (int)
string int_to_string (int)
int main (int argc, char *argv[])
string exec_shell (const char *command)

Variables

struct sigaction sigact
Weeder weeder
int mailbox_status

Function Documentation

int cmp_no_case ( const string &  s,
const string &  s2 
)

void connect_sigint ( int  signo  ) 

string exec_shell ( const char *  command  ) 

void get_opts ( int  argc,
char *  argv[] 
)

void init_app ( void   ) 

string int_to_string ( int  val  ) 

int main ( int  argc,
char *  argv[] 
)

bool open_prefs ( string   ) 

void override_prefs ( string   ) 

int precompile_expressions ( void   ) 


Variable Documentation

struct sigaction sigact

Weeder weeder


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/md5_8h.html0000644000175000017500000001726011241450773015040 00000000000000 mailfilter: md5.h File Reference

md5.h File Reference

#include <sys/types.h>
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  MD5_CTX

Defines

#define MD5_H   1

Typedefs

typedef unsigned char * POINTER

Functions

void MD5Init (MD5_CTX *)
void MD5Update (MD5_CTX *, unsigned char *, unsigned int)
void MD5Final (unsigned char[16], MD5_CTX *)
void gethash (char[33], char *, char *)


Define Documentation

#define MD5_H   1


Typedef Documentation

typedef unsigned char* POINTER


Function Documentation

void gethash ( char  [33],
char *  ,
char *   
)

void MD5Final ( unsigned  char[16],
MD5_CTX  
)

void MD5Init ( MD5_CTX  ) 

void MD5Update ( MD5_CTX ,
unsigned char *  ,
unsigned  int 
)


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/getopt_8h-source.html0000644000175000017500000005235611241450773017160 00000000000000 mailfilter: getopt.h Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classProtocol-members.html0000644000175000017500000001004711241450773020227 00000000000000 mailfilter: Member List

Protocol Member List

This is the complete list of members for Protocol, including all inherited members.

connProtocol [protected]
connect_typeProtocol [protected]
ident(void) const Protocol
login(const char *usr, const char *pass, const unsigned int) const =0Protocol [pure virtual]
logout(void) const =0Protocol [pure virtual]
prot_identProtocol [protected]
remove_msg(const unsigned int num) const =0Protocol [pure virtual]
scan(void) const =0Protocol [pure virtual]
set_connection(Connection *)Protocol
set_ident(unsigned int)Protocol
status(void) const =0Protocol [pure virtual]
~Protocol(void)Protocol [inline, virtual]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classSize__score-members.html0000644000175000017500000000340611241450773020673 00000000000000 mailfilter: Member List

Size_score Member List

This is the complete list of members for Size_score, including all inherited members.

scoreSize_score
sizeSize_score


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/feedback_8cc.html0000644000175000017500000000315011241450773016226 00000000000000 mailfilter: feedback.cc File Reference

feedback.cc File Reference

#include <iostream>
#include <string>
#include <cstring>
#include <fstream>
#include "feedback.hh"
#include "preferences.hh"

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classAPOP.png0000644000175000017500000000053211241450773015353 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATXA @rLy?A)mձV8BӸծFF:GDԧ H,3QcV9?*w^]:<=vev>'t#N\S|`ZpܕZbjs>2sBYMu5X MRKIw'kQ[Fy͎/;0A NCP"%K](C04XqY;/dֱ`mIENDB`mailfilter-0.8.2/doc/api/html/files.html0000644000175000017500000001121311241450773015046 00000000000000 mailfilter: File Index
Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classConnection-members.html0000644000175000017500000000551311241450773020527 00000000000000 mailfilter: Member List

Connection Member List

This is the complete list of members for Connection, including all inherited members.

c_close(void) const =0Connection [pure virtual]
c_open(const char *host_name, int port, int time_out, int protocol)=0Connection [pure virtual]
c_read(bool=false)=0Connection [pure virtual]
c_reply(void) const =0Connection [pure virtual]
c_write(const char *msg)=0Connection [pure virtual]
~Connection(void)Connection [inline, virtual]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classScore-members.html0000644000175000017500000000754311241450773017510 00000000000000 mailfilter: Member List

Score Member List

This is the complete list of members for Score, including all inherited members.

ccase(void) const Filter
comp_exp(void) const Filter
compile(void)Filter
expression(void) const Filter
Filter(void)Filter
is_negative(void) const Filter
score(void) const Score
scrScore [protected]
set_case(int)Filter
set_expression(const char *)Filter
set_negativity(bool)Filter
set_score(int)Score
~Filter(void)Filter


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/getopt1_8c.html0000644000175000017500000001514511241450773015731 00000000000000 mailfilter: getopt1.c File Reference

getopt1.c File Reference

#include "getopt.h"
#include <stdio.h>

Defines

#define GETOPT_INTERFACE_VERSION   2
#define NULL   0

Functions

int getopt_long (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
int getopt_long_only (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)

Define Documentation

#define GETOPT_INTERFACE_VERSION   2

#define NULL   0


Function Documentation

int getopt_long ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index 
)

int getopt_long_only ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index 
)


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/filter_8hh-source.html0000644000175000017500000001726511241450773017313 00000000000000 mailfilter: filter.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classFeedback-members.html0000644000175000017500000000513711241450773020116 00000000000000 mailfilter: Member List

Feedback Member List

This is the complete list of members for Feedback, including all inherited members.

Instance(void)Feedback [static]
open(const char *)Feedback
print_err(const string, int=1)Feedback
print_header(const string)Feedback
print_msg(const string, int)Feedback
~Feedback(void)Feedback


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/doxygen.css0000644000175000017500000001310511241450773015247 00000000000000body, table, div, p, dl { font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; font-size: 12px; } /* @group Heading Levels */ h1 { text-align: center; font-size: 150%; } h2 { font-size: 120%; } h3 { font-size: 100%; } /* @end */ caption { font-weight: bold; } div.qindex, div.navtab{ background-color: #e8eef2; border: 1px solid #84b0c7; text-align: center; margin: 2px; padding: 2px; } div.qindex, div.navpath { width: 100%; line-height: 140%; } div.navtab { margin-right: 15px; } /* @group Link Styling */ a { color: #153788; font-weight: normal; text-decoration: none; } .contents a:visited { color: #1b77c5; } a:hover { text-decoration: underline; } a.qindex { font-weight: bold; } a.qindexHL { font-weight: bold; background-color: #6666cc; color: #ffffff; border: 1px double #9295C2; } .contents a.qindexHL:visited { color: #ffffff; } a.el { font-weight: bold; } a.elRef { } a.code { } a.codeRef { } /* @end */ dl.el { margin-left: -1cm; } .fragment { font-family: monospace, fixed; font-size: 105%; } pre.fragment { border: 1px solid #CCCCCC; background-color: #f5f5f5; padding: 4px 6px; margin: 4px 8px 4px 2px; } div.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } div.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold; } div.groupText { margin-left: 16px; font-style: italic; } body { background: white; color: black; margin-right: 20px; margin-left: 20px; } td.indexkey { background-color: #e8eef2; font-weight: bold; border: 1px solid #CCCCCC; margin: 2px 0px 2px 0; padding: 2px 10px; } td.indexvalue { background-color: #e8eef2; border: 1px solid #CCCCCC; padding: 2px 10px; margin: 2px 0px; } tr.memlist { background-color: #f0f0f0; } p.formulaDsp { text-align: center; } img.formulaDsp { } img.formulaInl { vertical-align: middle; } /* @group Code Colorization */ span.keyword { color: #008000 } span.keywordtype { color: #604020 } span.keywordflow { color: #e08000 } span.comment { color: #800000 } span.preprocessor { color: #806020 } span.stringliteral { color: #002080 } span.charliteral { color: #008080 } span.vhdldigit { color: #ff00ff } span.vhdlchar { color: #000000 } span.vhdlkeyword { color: #700070 } span.vhdllogic { color: #ff0000 } /* @end */ .search { color: #003399; font-weight: bold; } form.search { margin-bottom: 0px; margin-top: 0px; } input.search { font-size: 75%; color: #000080; font-weight: normal; background-color: #e8eef2; } td.tiny { font-size: 75%; } .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #84b0c7; } th.dirtab { background: #e8eef2; font-weight: bold; } hr { height: 0; border: none; border-top: 1px solid #666; } /* @group Member Descriptions */ .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { background-color: #FAFAFA; border: none; margin: 4px; padding: 1px 0 0 8px; } .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; color: #555; } .memItemLeft, .memItemRight, .memTemplParams { border-top: 1px solid #ccc; } .memTemplParams { color: #606060; } /* @end */ /* @group Member Details */ /* Styles for detailed member documentation */ .memtemplate { font-size: 80%; color: #606060; font-weight: normal; margin-left: 3px; } .memnav { background-color: #e8eef2; border: 1px solid #84b0c7; text-align: center; margin: 2px; margin-right: 15px; padding: 2px; } .memitem { padding: 0; } .memname { white-space: nowrap; font-weight: bold; } .memproto, .memdoc { border: 1px solid #84b0c7; } .memproto { padding: 0; background-color: #d5e1e8; font-weight: bold; -webkit-border-top-left-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topleft: 8px; -moz-border-radius-topright: 8px; } .memdoc { padding: 2px 5px; background-color: #eef3f5; border-top-width: 0; -webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px; -moz-border-radius-bottomleft: 8px; -moz-border-radius-bottomright: 8px; } .paramkey { text-align: right; } .paramtype { white-space: nowrap; } .paramname { color: #602020; white-space: nowrap; } .paramname em { font-style: normal; } /* @end */ /* @group Directory (tree) */ /* for the tree view */ .ftvtree { font-family: sans-serif; margin: 0.5em; } /* these are for tree view when used as main index */ .directory { font-size: 9pt; font-weight: bold; } .directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } /* The following two styles can be used to replace the root node title with an image of your choice. Simply uncomment the next two styles, specify the name of your image and be sure to set 'height' to the proper pixel height of your image. */ /* .directory h3.swap { height: 61px; background-repeat: no-repeat; background-image: url("yourimage.gif"); } .directory h3.swap span { display: none; } */ .directory > h3 { margin-top: 0; } .directory p { margin: 0px; white-space: nowrap; } .directory div { display: none; margin: 0px; } .directory img { vertical-align: -30%; } /* these are for tree view when not used as main index */ .directory-alt { font-size: 100%; font-weight: bold; } .directory-alt h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } .directory-alt > h3 { margin-top: 0; } .directory-alt p { margin: 0px; white-space: nowrap; } .directory-alt div { display: none; margin: 0px; } .directory-alt img { vertical-align: -30%; } /* @end */ address { font-style: normal; color: #333; } mailfilter-0.8.2/doc/api/html/socket_8hh.html0000644000175000017500000000467011241450773016014 00000000000000 mailfilter: socket.hh File Reference

socket.hh File Reference

#include <string>
#include <csignal>
#include "connection.hh"

Go to the source code of this file.

Classes

class  Socket

Defines

#define MAX_BYTES   512


Define Documentation

#define MAX_BYTES   512


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/globals_vars.html0000644000175000017500000000576611241450773016442 00000000000000 mailfilter: Class Members
 


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/hierarchy.html0000644000175000017500000000411211241450773015722 00000000000000 mailfilter: Hierarchical Index

Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classPOP3.png0000644000175000017500000000054311241450773015337 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATX] ύ7HN06yauU:14g Q]ԕ:s/Ld$l s n zn&cObla5?+rnꚀl|PgZ{;@C혽Y @ Z mailfilter: mailfilter.hh File Reference

mailfilter.hh File Reference

#include <iostream>

Go to the source code of this file.

Defines

#define VALUE_HELP   1
#define VALUE_VERBOSE   2
#define VALUE_MAILFILTERRC   3
#define VALUE_LOGFILE   4
#define VALUE_VERSION   5
#define VALUE_TEST   6
#define VALUE_RETURN   7
#define ERROR_MSG(msg)


Define Documentation

#define ERROR_MSG ( msg   ) 

Value:

cerr << PACKAGE_NAME  \
       << ": Error: "   \
       << msg           \
       << endl

#define VALUE_HELP   1

#define VALUE_LOGFILE   4

#define VALUE_MAILFILTERRC   3

#define VALUE_RETURN   7

#define VALUE_TEST   6

#define VALUE_VERBOSE   2

#define VALUE_VERSION   5


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/tab_r.gif0000644000175000017500000000503111241450773014635 00000000000000GIF89a,薴ŝɯͻ,,@pH,Ȥrl:ШtJZجv h d@L"F:򑐌$9 (8&Nz (GFB^!˨)WVl)1 w̥.wY0Ib|Hpf:e pJ}Ȧ6nz 80%"8v~ @JЂMBІ:D'ZPKF ּ&16юz HGJRb L5Җ0LgJӚ#(e>Ӟ@ PJԢHMRԦ:PTJժ&5;%Uծz` XJVCjYֶp\Uxͫ^׾i)$Mb:v, ಘͬf7z hGKҚMjWֺ*$SPͭnwm +Mr:E?9Zͮv9" xKbLz^A|ͯ0/LN(; n0'LaJ0{/{ؘG|(SCr. v1wc6@LdHNd/PLeOXp|+s2L_153M5t3_:wsgʹπp?/FFЎt!-JҖ1NӞuA-Pԝ>53UWծ4cYZѶsA׀5,aƶ3=e3~-3Sc6mo2Mq>7ӭn$D~7,y1m}v\/N3#S\gu-mO0C\'_S^|.c.0ל49~s=3d:u)?F;ˮW|;W)vt˽w|=xA;mailfilter-0.8.2/doc/api/html/structoption-members.html0000644000175000017500000000412311241450773020153 00000000000000 mailfilter: Member List

option Member List

This is the complete list of members for option, including all inherited members.

flagoption
has_argoption
nameoption
valoption


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/globals_type.html0000644000175000017500000000331311241450773016432 00000000000000 mailfilter: Class Members
 


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classSocket.png0000644000175000017500000000051611241450773016046 00000000000000PNG  IHDRLPAPLTE`{tRNS@fIDATH10E3p@8UR,;Jx"#nqF543%”dTH L&N(2{,Z  хYUcjgoY]i_a`6ӕ4:kl`4[Ӊ jVJ9kZk fU;̖8wn٩0hZw*~U)NIENDB`mailfilter-0.8.2/doc/api/html/feedback_8hh.html0000644000175000017500000000317711241450773016251 00000000000000 mailfilter: feedback.hh File Reference

feedback.hh File Reference

#include <fstream>
#include <string>

Go to the source code of this file.

Classes

class  Feedback


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/tabs.css0000644000175000017500000000345611241450773014533 00000000000000/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ DIV.tabs { float : left; width : 100%; background : url("tab_b.gif") repeat-x bottom; margin-bottom : 4px; } DIV.tabs UL { margin : 0px; padding-left : 10px; list-style : none; } DIV.tabs LI, DIV.tabs FORM { display : inline; margin : 0px; padding : 0px; } DIV.tabs FORM { float : right; } DIV.tabs A { float : left; background : url("tab_r.gif") no-repeat right top; border-bottom : 1px solid #84B0C7; font-size : 80%; font-weight : bold; text-decoration : none; } DIV.tabs A:hover { background-position: 100% -150px; } DIV.tabs A:link, DIV.tabs A:visited, DIV.tabs A:active, DIV.tabs A:hover { color: #1A419D; } DIV.tabs SPAN { float : left; display : block; background : url("tab_l.gif") no-repeat left top; padding : 5px 9px; white-space : nowrap; } DIV.tabs INPUT { float : right; display : inline; font-size : 1em; } DIV.tabs TD { font-size : 80%; font-weight : bold; text-decoration : none; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ DIV.tabs SPAN {float : none;} /* End IE5-Mac hack */ DIV.tabs A:hover SPAN { background-position: 0% -150px; } DIV.tabs LI.current A { background-position: 100% -150px; border-width : 0px; } DIV.tabs LI.current SPAN { background-position: 0% -150px; padding-bottom : 6px; } DIV.navpath { background : none; border : none; border-bottom : 1px solid #84B0C7; text-align : center; margin : 2px; padding : 2px; } mailfilter-0.8.2/doc/api/html/classFeedback.html0000644000175000017500000001662311241450773016470 00000000000000 mailfilter: Feedback Class Reference

Feedback Class Reference

#include <feedback.hh>

List of all members.

Public Member Functions

 ~Feedback (void)
bool open (const char *)
bool print_msg (const string, int)
bool print_err (const string, int=1)
bool print_header (const string)

Static Public Member Functions

static FeedbackInstance (void)


Constructor & Destructor Documentation

Feedback::~Feedback ( void   ) 


Member Function Documentation

Feedback * Feedback::Instance ( void   )  [static]

bool Feedback::open ( const char *  name  ) 

bool Feedback::print_err ( const string  msg,
int  min_verbose_level = 1 
)

bool Feedback::print_header ( const string  msg  ) 

bool Feedback::print_msg ( const string  msg,
int  min_verbose_level 
)


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/feedback_8hh-source.html0000644000175000017500000001343011241450773017540 00000000000000 mailfilter: feedback.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/apop_8hh.html0000644000175000017500000000316411241450773015460 00000000000000 mailfilter: apop.hh File Reference

apop.hh File Reference

#include "pop3.hh"

Go to the source code of this file.

Classes

class  APOP


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/preferences_8hh-source.html0000644000175000017500000006224311241450773020323 00000000000000 mailfilter: preferences.hh Source File
Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/connection_8hh.html0000644000175000017500000000313711241450773016660 00000000000000 mailfilter: connection.hh File Reference

connection.hh File Reference

#include <string>

Go to the source code of this file.

Classes

class  Connection


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classConnection.png0000644000175000017500000000052111241450773016711 00000000000000PNG  IHDRLPAPLTE`{tRNS@fIDATH1 E 7h/TR-N!C*bv8/!pߡ$|d@$ R1f*tHrUYrƅ豺U]XF,;J#[Uju0_X9//v[Ė5ՉtbհQGrOȡ%&~iǔi_CJJfZ&Ll8gCުSa8{ζ0 ߕ"<IENDB`mailfilter-0.8.2/doc/api/html/globals_defs.html0000644000175000017500000002062711241450773016401 00000000000000 mailfilter: Class Members
 

- _ -

- c -

- e -

- f -

- g -

- h -

- i -

- m -

- n -

- o -

- p -

- r -

- s -

- v -

- y -


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/globals_func.html0000644000175000017500000001102111241450773016377 00000000000000 mailfilter: Class Members
 


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/tab_b.gif0000644000175000017500000000004311241450773014613 00000000000000GIF89a,D;mailfilter-0.8.2/doc/api/html/doxygen.png0000644000175000017500000000240111241450773015240 00000000000000PNG  IHDRd-ok>gAMAOX2tEXtSoftwareAdobe ImageReadyqe<]PLTEǾ"&ﶻޠ{ԍ눙נED9hg]_X<@:#mhU1tRNSvIDATxbC: d#h` @X",***LK.], X@t b @BD6%""  % B:Hf@ RPy"K`\PbC(!II!h(!Cąl!0[X\J\$TM(>a$S @ Ш@R.$LJBRAG1 (FPhhT%!`&q%u P    CT$B|Wl!B`R$( @A%%@,(%$RPmB U`1IYB  99\1 yCCCf"[N'=TGȒl8^K5<SRɤ%@@  b1qAXH&BR y nP4A j>  t!+(.WQA2MU܂ `1%`19F< 3cZ`e!\ D+. 83!lYYA -6EJV @XXX 4 @86`RdB4I " "@xrʌHA`f ȰC"XV0C b@2H ȓ p)!( 04)(%R $Tʀbb,s@7 Ѱ?f֗\PIx!I"Ȉ3 QYt^^gv- }>WJOAV`$&#88\FF SFJ$ƀƊ 4 - Hf ?5 k1d, ."FˀI"4Hgx|fm)))9. aMD& X@t b @%DK.], X@t b @d`ɽSOIENDB`mailfilter-0.8.2/doc/api/html/filter_8hh.html0000644000175000017500000000731311241450773016006 00000000000000 mailfilter: filter.hh File Reference

filter.hh File Reference

#include <string>
#include <regex.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

class  Filter

Defines

#define CASE_DEFAULT   REG_ICASE
#define CASE_SENSITIVE   0
#define CASE_INSENSITIVE   REG_ICASE


Define Documentation

#define CASE_DEFAULT   REG_ICASE

#define CASE_INSENSITIVE   REG_ICASE

#define CASE_SENSITIVE   0


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/protocol_8hh.html0000644000175000017500000000721511241450773016363 00000000000000 mailfilter: protocol.hh File Reference

protocol.hh File Reference

#include "connection.hh"

Go to the source code of this file.

Classes

class  Protocol

Defines

#define PROTOCOL_POP3   2
#define PROTOCOL_APOP   4
#define SSL_C   4096


Define Documentation

#define PROTOCOL_APOP   4

#define PROTOCOL_POP3   2

#define SSL_C   4096


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/apop_8hh-source.html0000644000175000017500000001143411241450773016755 00000000000000 mailfilter: apop.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classPOP3-members.html0000644000175000017500000000766111241450773017157 00000000000000 mailfilter: Member List

POP3 Member List

This is the complete list of members for POP3, including all inherited members.

connProtocol [protected]
connect_typeProtocol [protected]
ident(void) const Protocol
login(const char *, const char *, const unsigned int) const POP3 [virtual]
logout(void) const POP3 [virtual]
prot_identProtocol [protected]
remove_msg(const unsigned int) const POP3 [virtual]
scan(void) const POP3 [virtual]
set_connection(Connection *)Protocol
set_ident(unsigned int)Protocol
status(void) const POP3 [virtual]
~Protocol(void)Protocol [inline, virtual]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classPreferences-members.html0000644000175000017500000004603411241450773020674 00000000000000 mailfilter: Member List

Preferences Member List

This is the complete list of members for Preferences, including all inherited members.

accntsPreferences [protected]
accounts(void)Preferences
add_allow_rule(const char *, const char *, const char *)Preferences
add_deny_rule(const char *, const char *, const char *)Preferences
add_score(const char *, int, const char *, const char *)Preferences
allow_filters(void)Preferences
allowsPreferences [protected]
conn_typePreferences [protected]
cur_accountPreferences [protected]
default_case(void)Preferences
del_duplicatesPreferences [protected]
delete_duplicates(void)Preferences
deniesPreferences [protected]
deny_filters(void)Preferences
headers_file(void)Preferences
headers_file_namePreferences [protected]
high_scorePreferences [protected]
highscore(void)Preferences
icasePreferences [protected]
init(void)Preferences
Instance()Preferences [static]
kill(void)Preferences
load(void)Preferences
log_file(void)Preferences
log_file_namePreferences [protected]
max_line_lengthPreferences [protected]
max_sizePreferences [protected]
max_size_allow(void)Preferences
max_size_deny(void)Preferences
max_size_friendsPreferences [protected]
max_size_score(void)Preferences
maxlength(void)Preferences
neg_allows(void)Preferences
neg_denies(void)Preferences
negative_allowsPreferences [protected]
negative_deniesPreferences [protected]
negative_scoresPreferences [protected]
normPreferences [protected]
normal(void)Preferences
open(const char *)Preferences
Preferences()Preferences
prefs_file_namePreferences [protected]
prefs_streamPreferences [protected]
rc_file(void)Preferences
reg_type(void)Preferences
ret_statusPreferences [protected]
return_status(void)Preferences
rreg_typePreferences [protected]
score_filters(void)Preferences
scoresPreferences [protected]
set_connection(unsigned int=POSIX_SOCKETS) __attribute__((unused))Preferences
set_default_case(const char *)Preferences
set_del_duplicates(const char *)Preferences
set_headers_file(const char *)Preferences
set_highscore(int)Preferences
set_log_file(const char *)Preferences
set_max_size_allow(int)Preferences
set_max_size_deny(int)Preferences
set_max_size_score(int, int)Preferences
set_maxlength(int)Preferences
set_normal(const char *)Preferences
set_passwd(const char *)Preferences
set_port(unsigned int)Preferences
set_protocol(const char *)Preferences
set_rc_file(const char *)Preferences
set_reg_type(const char *)Preferences
set_return_status(bool)Preferences
set_server(const char *)Preferences
set_test_mode(const char *)Preferences
set_time_out(unsigned int)Preferences
set_usr(const char *)Preferences
set_verbose_level(int)Preferences
show_headersPreferences [protected]
size_scorePreferences [protected]
testPreferences [protected]
test_changedPreferences [protected]
test_mode(void)Preferences
time_out(void)Preferences
time_out_valPreferences [protected]
verbose_level(void)Preferences
verbosityPreferences [protected]
verbosity_changedPreferences [protected]


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classFilter.html0000644000175000017500000002374011241450773016227 00000000000000 mailfilter: Filter Class Reference

Filter Class Reference

#include <filter.hh>

Inheritance diagram for Filter:

Score

List of all members.

Public Member Functions

 Filter (void)
 ~Filter (void)
string expression (void) const
void set_expression (const char *)
int compile (void)
void set_negativity (bool)
bool is_negative (void) const
int ccase (void) const
void set_case (int)
const regex_t * comp_exp (void) const


Constructor & Destructor Documentation

Filter::Filter ( void   ) 

Filter::~Filter ( void   ) 


Member Function Documentation

int Filter::ccase ( void   )  const

const regex_t * Filter::comp_exp ( void   )  const

int Filter::compile ( void   ) 

string Filter::expression ( void   )  const

bool Filter::is_negative ( void   )  const

void Filter::set_case ( int  c  ) 

void Filter::set_expression ( const char *  exp  ) 

void Filter::set_negativity ( bool  t  ) 


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/globals_eval.html0000644000175000017500000000377711241450773016416 00000000000000 mailfilter: Class Members
 


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/apop_8cc.html0000644000175000017500000000343211241450773015444 00000000000000 mailfilter: apop.cc File Reference

apop.cc File Reference

#include <cstdio>
#include <cstring>
#include "apop.hh"
#include "feedback.hh"
#include "defines.hh"
#include "mailfilter.hh"
#include <strings.h>
#include "md5.h"

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classSocket.html0000644000175000017500000002204711241450773016231 00000000000000 mailfilter: Socket Class Reference

Socket Class Reference

#include <socket.hh>

Inheritance diagram for Socket:

Connection

List of all members.

Public Member Functions

 Socket (void)
void clear (void)
int c_open (const char *host, int port, int time_out, int protocol)
int c_close (void) const
int c_write (const char *command)
int c_read (bool=false)
const string * c_reply (void) const


Constructor & Destructor Documentation

Socket::Socket ( void   ) 


Member Function Documentation

int Socket::c_close ( void   )  const [virtual]

Implements Connection.

int Socket::c_open ( const char *  host,
int  port,
int  time_out,
int  protocol 
) [virtual]

Implements Connection.

int Socket::c_read ( bool  read_header = false  )  [virtual]

Implements Connection.

const string * Socket::c_reply ( void   )  const [virtual]

Implements Connection.

int Socket::c_write ( const char *  command  )  [virtual]

Implements Connection.

void Socket::clear ( void   ) 


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/account_8hh-source.html0000644000175000017500000002250711241450773017455 00000000000000 mailfilter: account.hh Source File
Generated on Sat Aug 15 16:13:12 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/account_8hh.html0000644000175000017500000000405611241450773016156 00000000000000 mailfilter: account.hh File Reference

account.hh File Reference

#include <string>
#include <vector>
#include "defines.hh"
#include "protocol.hh"
#include "pop3.hh"
#include "apop.hh"
#include "connection.hh"

Go to the source code of this file.

Classes

class  Account


Generated on Sat Aug 15 16:13:13 2009 for mailfilter by  doxygen 1.5.8
mailfilter-0.8.2/doc/api/html/classFilter.png0000644000175000017500000000043011241450773016036 00000000000000PNG  IHDR.PZPLTE`{tRNS@fIDAT81 E͒ poH=O'ډH< /@@ZϵR1s Э ]nyu_ߞ]zw߭Ǿm浏G~თ/>٫|W}v;mailfilter-0.8.2/doc/api/rtf/0000777000175000017500000000000011241450773012773 500000000000000mailfilter-0.8.2/doc/api/rtf/classProtocol.png0000644000175000017500000000053511241450773016247 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATX] 3f&;ϞFQ\bt3t qJBrZ+vj| !&ac6W\yJkUyzn7'A=TK0b<1f?S׌P]M5εF-v}/ikTéc_>Ǩ,dc,˳2 ¢qeƜ2aE6"2fپ]s w8}IENDB`mailfilter-0.8.2/doc/api/rtf/classScore.png0000644000175000017500000000042511241450773015517 00000000000000PNG  IHDR.PZPLTE`{tRNS@fIDAT8풱 EMf b *!o!调hg ">D'ϹQ?96_7}B|+Yf?b#;z<}sؔ%-Q YGM$ed jn]O7>w;VBIENDB`mailfilter-0.8.2/doc/api/rtf/classAPOP.png0000644000175000017500000000053211241450773015202 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATXA @rLy?A)mձV8BӸծFF:GDԧ H,3QcV9?*w^]:<=vev>'t#N\S|`ZpܕZbjs>2sBYMu5X MRKIw'kQ[Fy͎/;0A NCP"%K](C04XqY;/dֱ`mIENDB`mailfilter-0.8.2/doc/api/rtf/classPOP3.png0000644000175000017500000000054311241450773015166 00000000000000PNG  IHDR;U[PLTE`{tRNS@fIDATX] ύ7HN06yauU:14g Q]ԕ:s/Ld$l s n zn&cObla5?+rnꚀl|PgZ{;@C혽Y @ Z}{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b clear} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b server} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_server} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b usr} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_usr} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b passwd} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_passwd} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b port} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_port} (unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_protocol} (unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b protocol} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_connection} (unsigned int=POSIX_SOCKETS) __attribute__((unused)){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b check} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Protected Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b serv}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b user}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b pass}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b the_port}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< string > {\b msg_ids}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Protocol} * {\b proto}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Connection} * {\b conn}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v check\:Account} {\xe \v Account\:check} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Account::check ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFM} {\bkmkend AAAAAAAAFM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v clear\:Account} {\xe \v Account\:clear} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::clear ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFN} {\bkmkend AAAAAAAAFN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v passwd\:Account} {\xe \v Account\:passwd} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Account::passwd ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFO} {\bkmkend AAAAAAAAFO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v port\:Account} {\xe \v Account\:port} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int Account::port ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFP} {\bkmkend AAAAAAAAFP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v protocol\:Account} {\xe \v Account\:protocol} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int Account::protocol ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFQ} {\bkmkend AAAAAAAAFQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v server\:Account} {\xe \v Account\:server} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Account::server ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFR} {\bkmkend AAAAAAAAFR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_connection\:Account} {\xe \v Account\:set_connection} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_connection ({\comment (startParameterList)} unsigned int {\i the_connection_type} = {\f2 POSIX_SOCKETS}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFS} {\bkmkend AAAAAAAAFS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_passwd\:Account} {\xe \v Account\:set_passwd} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_passwd ({\comment (startParameterList)} const char * {\i s}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFT} {\bkmkend AAAAAAAAFT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_port\:Account} {\xe \v Account\:set_port} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_port ({\comment (startParameterList)} unsigned int {\i p}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFU} {\bkmkend AAAAAAAAFU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_protocol\:Account} {\xe \v Account\:set_protocol} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_protocol ({\comment (startParameterList)} unsigned int {\i prot}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFV} {\bkmkend AAAAAAAAFV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_server\:Account} {\xe \v Account\:set_server} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_server ({\comment (startParameterList)} const char * {\i s}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFW} {\bkmkend AAAAAAAAFW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_usr\:Account} {\xe \v Account\:set_usr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Account::set_usr ({\comment (startParameterList)} const char * {\i s}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFX} {\bkmkend AAAAAAAAFX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v usr\:Account} {\xe \v Account\:usr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Account::usr ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFY} {\bkmkend AAAAAAAAFY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v conn\:Account} {\xe \v Account\:conn} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Connection}* {\b Account::conn}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAFZ} {\bkmkend AAAAAAAAFZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v msg_ids\:Account} {\xe \v Account\:msg_ids} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector {\b Account::msg_ids}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGA} {\bkmkend AAAAAAAAGA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v pass\:Account} {\xe \v Account\:pass} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Account::pass}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGB} {\bkmkend AAAAAAAAGB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v proto\:Account} {\xe \v Account\:proto} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Protocol}* {\b Account::proto}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGC} {\bkmkend AAAAAAAAGC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v serv\:Account} {\xe \v Account\:serv} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Account::serv}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGD} {\bkmkend AAAAAAAAGD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v the_port\:Account} {\xe \v Account\:the_port} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Account::the_port}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGE} {\bkmkend AAAAAAAAGE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v user\:Account} {\xe \v Account\:user} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Account::user}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGF} {\bkmkend AAAAAAAAGF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b account.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b account.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classAccount.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classAPOP.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid APOP Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v APOP} {\xe \v APOP} {\comment writeAnchor (classAPOP)} {\bkmkstart AAAAAAAAFA} {\bkmkend AAAAAAAAFA} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for APOP:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classAPOP.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b login} (const char *usr, const char *pass, const unsigned int enc) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v login\:APOP} {\xe \v APOP\:login} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool APOP::login ({\comment (startParameterList)} const char * {\i usr}, {\comment (startParameterList)} const char * {\i pass}, {\comment (startParameterList)} const unsigned int {\i enc}) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGG} {\bkmkend AAAAAAAAGG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Reimplemented from {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGH \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b apop.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b apop.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classAPOP.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classConnection.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Connection Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Connection} {\xe \v Connection} {\comment writeAnchor (classConnection)} {\bkmkstart AAAAAAAAFB} {\bkmkend AAAAAAAAFB} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for Connection:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classConnection.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual {\b ~Connection} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b c_open} (const char *host_name, int port, int time_out, int protocol)=0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b c_close} (void) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b c_read} (bool=false)=0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b c_write} (const char *msg)=0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual const string * {\b c_reply} (void) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ~Connection\:Connection} {\xe \v Connection\:~Connection} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual Connection::~Connection ({\comment (startParameterList)} void){\f2 [inline, virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGI} {\bkmkend AAAAAAAAGI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_close\:Connection} {\xe \v Connection\:c_close} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Connection::c_close ({\comment (startParameterList)} void) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGJ} {\bkmkend AAAAAAAAGJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b Socket} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGK \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_open\:Connection} {\xe \v Connection\:c_open} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Connection::c_open ({\comment (startParameterList)} const char * {\i host_name}, {\comment (startParameterList)} int {\i port}, {\comment (startParameterList)} int {\i time_out}, {\comment (startParameterList)} int {\i protocol}){\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGL} {\bkmkend AAAAAAAAGL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b Socket} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGM \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_read\:Connection} {\xe \v Connection\:c_read} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Connection::c_read ({\comment (startParameterList)} bool = {\f2 false}){\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGN} {\bkmkend AAAAAAAAGN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b Socket} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGO \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_reply\:Connection} {\xe \v Connection\:c_reply} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual const string* Connection::c_reply ({\comment (startParameterList)} void) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGP} {\bkmkend AAAAAAAAGP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b Socket} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGQ \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_write\:Connection} {\xe \v Connection\:c_write} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Connection::c_write ({\comment (startParameterList)} const char * {\i msg}){\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGR} {\bkmkend AAAAAAAAGR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b Socket} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGS \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following file:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b connection.hh}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classConnection.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classFeedback.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Feedback Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Feedback} {\xe \v Feedback} {\comment writeAnchor (classFeedback)} {\bkmkstart AAAAAAAAFC} {\bkmkend AAAAAAAAFC} {\f2 #include }{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b ~Feedback} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b open} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b print_msg} (const string, int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b print_err} (const string, int=1){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b print_header} (const string){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Static Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid static {\b Feedback} * {\b Instance} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ~Feedback\:Feedback} {\xe \v Feedback\:~Feedback} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Feedback::~Feedback ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGT} {\bkmkend AAAAAAAAGT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v Instance\:Feedback} {\xe \v Feedback\:Instance} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Feedback} * Feedback::Instance ({\comment (startParameterList)} void){\f2 [static]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGU} {\bkmkend AAAAAAAAGU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v open\:Feedback} {\xe \v Feedback\:open} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Feedback::open ({\comment (startParameterList)} const char * {\i name}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGV} {\bkmkend AAAAAAAAGV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v print_err\:Feedback} {\xe \v Feedback\:print_err} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Feedback::print_err ({\comment (startParameterList)} const string {\i msg}, {\comment (startParameterList)} int {\i min_verbose_level} = {\f2 1}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGW} {\bkmkend AAAAAAAAGW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v print_header\:Feedback} {\xe \v Feedback\:print_header} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Feedback::print_header ({\comment (startParameterList)} const string {\i msg}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGX} {\bkmkend AAAAAAAAGX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v print_msg\:Feedback} {\xe \v Feedback\:print_msg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Feedback::print_msg ({\comment (startParameterList)} const string {\i msg}, {\comment (startParameterList)} int {\i min_verbose_level}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGY} {\bkmkend AAAAAAAAGY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b feedback.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b feedback.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classFeedback.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classFilter.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Filter Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Filter} {\xe \v Filter} {\comment writeAnchor (classFilter)} {\bkmkstart AAAAAAAAFD} {\bkmkend AAAAAAAAFD} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for Filter:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classFilter.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Filter} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b ~Filter} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b expression} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_expression} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b compile} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_negativity} (bool){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b is_negative} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b ccase} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_case} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid const regex_t * {\b comp_exp} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v Filter\:Filter} {\xe \v Filter\:Filter} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Filter::Filter ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGZ} {\bkmkend AAAAAAAAGZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ~Filter\:Filter} {\xe \v Filter\:~Filter} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Filter::~Filter ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHA} {\bkmkend AAAAAAAAHA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ccase\:Filter} {\xe \v Filter\:ccase} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Filter::ccase ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHB} {\bkmkend AAAAAAAAHB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v comp_exp\:Filter} {\xe \v Filter\:comp_exp} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b const regex_t * Filter::comp_exp ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHC} {\bkmkend AAAAAAAAHC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v compile\:Filter} {\xe \v Filter\:compile} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Filter::compile ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHD} {\bkmkend AAAAAAAAHD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v expression\:Filter} {\xe \v Filter\:expression} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Filter::expression ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHE} {\bkmkend AAAAAAAAHE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v is_negative\:Filter} {\xe \v Filter\:is_negative} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Filter::is_negative ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHF} {\bkmkend AAAAAAAAHF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_case\:Filter} {\xe \v Filter\:set_case} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Filter::set_case ({\comment (startParameterList)} int {\i c}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHG} {\bkmkend AAAAAAAAHG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_expression\:Filter} {\xe \v Filter\:set_expression} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Filter::set_expression ({\comment (startParameterList)} const char * {\i exp}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHH} {\bkmkend AAAAAAAAHH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_negativity\:Filter} {\xe \v Filter\:set_negativity} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Filter::set_negativity ({\comment (startParameterList)} bool {\i t}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHI} {\bkmkend AAAAAAAAHI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b filter.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b filter.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classFilter.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include structMD5__CTX.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid MD5_CTX Struct Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v MD5_CTX} {\xe \v MD5_CTX} {\comment writeAnchor (structMD5__CTX)} {\bkmkstart AAAAAAAAFE} {\bkmkend AAAAAAAAFE} {\f2 #include }{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid uint32_t {\b state} [4]{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid uint32_t {\b count} [2]{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned char {\b buffer} [64]{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v buffer\:MD5_CTX} {\xe \v MD5_CTX\:buffer} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned char {\b MD5_CTX::buffer}[64]{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHJ} {\bkmkend AAAAAAAAHJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v count\:MD5_CTX} {\xe \v MD5_CTX\:count} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b uint32_t {\b MD5_CTX::count}[2]{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHK} {\bkmkend AAAAAAAAHK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v state\:MD5_CTX} {\xe \v MD5_CTX\:state} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b uint32_t {\b MD5_CTX::state}[4]{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHL} {\bkmkend AAAAAAAAHL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this struct was generated from the following file:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b md5.h}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include structMD5__CTX.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include structoption.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid option Struct Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v option} {\xe \v option} {\comment writeAnchor (structoption)} {\bkmkstart AAAAAAAAFF} {\bkmkend AAAAAAAAFF} {\f2 #include }{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid char * {\b name}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b has_arg}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int * {\b flag}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b val}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v flag\:option} {\xe \v option\:flag} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int* {\b option::flag}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHM} {\bkmkend AAAAAAAAHM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v has_arg\:option} {\xe \v option\:has_arg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b option::has_arg}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHN} {\bkmkend AAAAAAAAHN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v name\:option} {\xe \v option\:name} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b char* {\b option::name}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHO} {\bkmkend AAAAAAAAHO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v val\:option} {\xe \v option\:val} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b option::val}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHP} {\bkmkend AAAAAAAAHP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this struct was generated from the following file:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b getopt.h}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include structoption.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classPOP3.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid POP3 Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v POP3} {\xe \v POP3} {\comment writeAnchor (classPOP3)} {\bkmkstart AAAAAAAAFG} {\bkmkend AAAAAAAAFG} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for POP3:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classPOP3.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b login} (const char *, const char *, const unsigned int) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b logout} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b remove_msg} (const unsigned int) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b status} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b scan} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v login\:POP3} {\xe \v POP3\:login} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool POP3::login ({\comment (startParameterList)} const char * {\i usr}, {\comment (startParameterList)} const char * {\i pass}, {\comment (startParameterList)} const unsigned int {\i enc}) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGH} {\bkmkend AAAAAAAAGH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Protocol} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHQ \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par {\comment startParagraph} { Reimplemented in {\b APOP} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGG \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v logout\:POP3} {\xe \v POP3\:logout} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool POP3::logout ({\comment (startParameterList)} void) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHR} {\bkmkend AAAAAAAAHR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Protocol} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHS \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v remove_msg\:POP3} {\xe \v POP3\:remove_msg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int POP3::remove_msg ({\comment (startParameterList)} const unsigned int {\i num}) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHT} {\bkmkend AAAAAAAAHT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Protocol} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHU \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v scan\:POP3} {\xe \v POP3\:scan} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int POP3::scan ({\comment (startParameterList)} void) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHV} {\bkmkend AAAAAAAAHV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Protocol} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHW \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v status\:POP3} {\xe \v POP3\:status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int POP3::status ({\comment (startParameterList)} void) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHX} {\bkmkend AAAAAAAAHX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Protocol} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHY \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b pop3.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b pop3.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classPOP3.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classPreferences.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Preferences Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Preferences} {\xe \v Preferences} {\comment writeAnchor (classPreferences)} {\bkmkstart AAAAAAAAFH} {\bkmkend AAAAAAAAFH} {\f2 #include }{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Preferences} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b init} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b kill} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b open} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b load} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b add_deny_rule} (const char *, const char *, const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b add_allow_rule} (const char *, const char *, const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b add_score} (const char *, int, const char *, const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b neg_allows} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b neg_denies} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_rc_file} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b rc_file} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_log_file} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b log_file} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_verbose_level} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b verbose_level} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_headers_file} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b headers_file} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_default_case} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b default_case} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_reg_type} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b reg_type} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_server} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_usr} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_passwd} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_protocol} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_connection} (unsigned int=POSIX_SOCKETS) __attribute__((unused)){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_port} (unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b time_out} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_time_out} (unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b delete_duplicates} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_del_duplicates} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b max_size_allow} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_max_size_allow} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b max_size_deny} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_max_size_deny} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Size_score} {\b max_size_score} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_max_size_score} (int, int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b highscore} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_highscore} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b normal} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_normal} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b test_mode} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_test_mode} (const char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b maxlength} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_maxlength} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b return_status} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_return_status} (bool){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Account} > * {\b accounts} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Filter} > * {\b allow_filters} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Filter} > * {\b deny_filters} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Score} > * {\b score_filters} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Static Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid static {\b Preferences} & {\b Instance} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Protected Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid ifstream {\b prefs_stream}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Filter} > {\b allows}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Filter} > {\b denies}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Score} > {\b scores}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid vector< {\b Account} > {\b accnts}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Account} {\b cur_account}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b prefs_file_name}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b log_file_name}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b headers_file_name}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b icase}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b norm}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b test}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b show_headers}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b del_duplicates}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b ret_status}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b high_score}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned {\b time_out_val}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b max_size}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Size_score} {\b size_score}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b max_size_friends}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b max_line_length}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b rreg_type}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b verbosity}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b conn_type}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b negative_allows}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b negative_denies}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b negative_scores}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b verbosity_changed}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b test_changed}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v Preferences\:Preferences} {\xe \v Preferences\:Preferences} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Preferences::Preferences (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHZ} {\bkmkend AAAAAAAAHZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v accounts\:Preferences} {\xe \v Preferences\:accounts} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector< {\b Account} > * Preferences::accounts ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIA} {\bkmkend AAAAAAAAIA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v add_allow_rule\:Preferences} {\xe \v Preferences\:add_allow_rule} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::add_allow_rule ({\comment (startParameterList)} const char * {\i keyword}, {\comment (startParameterList)} const char * {\i operat}, {\comment (startParameterList)} const char * {\i id}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIB} {\bkmkend AAAAAAAAIB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v add_deny_rule\:Preferences} {\xe \v Preferences\:add_deny_rule} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::add_deny_rule ({\comment (startParameterList)} const char * {\i keyword}, {\comment (startParameterList)} const char * {\i operat}, {\comment (startParameterList)} const char * {\i id}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIC} {\bkmkend AAAAAAAAIC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v add_score\:Preferences} {\xe \v Preferences\:add_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::add_score ({\comment (startParameterList)} const char * {\i keyword}, {\comment (startParameterList)} int {\i given_score}, {\comment (startParameterList)} const char * {\i operat}, {\comment (startParameterList)} const char * {\i id}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAID} {\bkmkend AAAAAAAAID} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v allow_filters\:Preferences} {\xe \v Preferences\:allow_filters} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector< {\b Filter} > * Preferences::allow_filters ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIE} {\bkmkend AAAAAAAAIE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v default_case\:Preferences} {\xe \v Preferences\:default_case} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::default_case ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIF} {\bkmkend AAAAAAAAIF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v delete_duplicates\:Preferences} {\xe \v Preferences\:delete_duplicates} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::delete_duplicates ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIG} {\bkmkend AAAAAAAAIG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v deny_filters\:Preferences} {\xe \v Preferences\:deny_filters} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector< {\b Filter} > * Preferences::deny_filters ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIH} {\bkmkend AAAAAAAAIH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v headers_file\:Preferences} {\xe \v Preferences\:headers_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Preferences::headers_file ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAII} {\bkmkend AAAAAAAAII} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v highscore\:Preferences} {\xe \v Preferences\:highscore} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::highscore ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIJ} {\bkmkend AAAAAAAAIJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v init\:Preferences} {\xe \v Preferences\:init} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::init ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIK} {\bkmkend AAAAAAAAIK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v Instance\:Preferences} {\xe \v Preferences\:Instance} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Preferences} & Preferences::Instance ({\comment (startParameterList)} void){\f2 [static]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIL} {\bkmkend AAAAAAAAIL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v kill\:Preferences} {\xe \v Preferences\:kill} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::kill ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIM} {\bkmkend AAAAAAAAIM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v load\:Preferences} {\xe \v Preferences\:load} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::load ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIN} {\bkmkend AAAAAAAAIN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v log_file\:Preferences} {\xe \v Preferences\:log_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Preferences::log_file ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIO} {\bkmkend AAAAAAAAIO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_size_allow\:Preferences} {\xe \v Preferences\:max_size_allow} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::max_size_allow ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIP} {\bkmkend AAAAAAAAIP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_size_deny\:Preferences} {\xe \v Preferences\:max_size_deny} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::max_size_deny ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIQ} {\bkmkend AAAAAAAAIQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_size_score\:Preferences} {\xe \v Preferences\:max_size_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Size_score} Preferences::max_size_score ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIR} {\bkmkend AAAAAAAAIR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v maxlength\:Preferences} {\xe \v Preferences\:maxlength} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::maxlength ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIS} {\bkmkend AAAAAAAAIS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v neg_allows\:Preferences} {\xe \v Preferences\:neg_allows} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::neg_allows ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIT} {\bkmkend AAAAAAAAIT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v neg_denies\:Preferences} {\xe \v Preferences\:neg_denies} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::neg_denies ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIU} {\bkmkend AAAAAAAAIU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v normal\:Preferences} {\xe \v Preferences\:normal} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::normal ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIV} {\bkmkend AAAAAAAAIV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v open\:Preferences} {\xe \v Preferences\:open} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::open ({\comment (startParameterList)} const char * {\i name}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIW} {\bkmkend AAAAAAAAIW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v rc_file\:Preferences} {\xe \v Preferences\:rc_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string Preferences::rc_file ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIX} {\bkmkend AAAAAAAAIX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v reg_type\:Preferences} {\xe \v Preferences\:reg_type} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::reg_type ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIY} {\bkmkend AAAAAAAAIY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v return_status\:Preferences} {\xe \v Preferences\:return_status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::return_status ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAIZ} {\bkmkend AAAAAAAAIZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v score_filters\:Preferences} {\xe \v Preferences\:score_filters} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector< {\b Score} > * Preferences::score_filters ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJA} {\bkmkend AAAAAAAAJA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_connection\:Preferences} {\xe \v Preferences\:set_connection} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_connection ({\comment (startParameterList)} unsigned int {\i p} = {\f2 POSIX_SOCKETS}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJB} {\bkmkend AAAAAAAAJB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_default_case\:Preferences} {\xe \v Preferences\:set_default_case} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_default_case ({\comment (startParameterList)} const char * {\i new_case}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJC} {\bkmkend AAAAAAAAJC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_del_duplicates\:Preferences} {\xe \v Preferences\:set_del_duplicates} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_del_duplicates ({\comment (startParameterList)} const char * {\i del}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJD} {\bkmkend AAAAAAAAJD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_headers_file\:Preferences} {\xe \v Preferences\:set_headers_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_headers_file ({\comment (startParameterList)} const char * {\i name}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJE} {\bkmkend AAAAAAAAJE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_highscore\:Preferences} {\xe \v Preferences\:set_highscore} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_highscore ({\comment (startParameterList)} int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJF} {\bkmkend AAAAAAAAJF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_log_file\:Preferences} {\xe \v Preferences\:set_log_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_log_file ({\comment (startParameterList)} const char * {\i name}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJG} {\bkmkend AAAAAAAAJG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_max_size_allow\:Preferences} {\xe \v Preferences\:set_max_size_allow} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_max_size_allow ({\comment (startParameterList)} int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJH} {\bkmkend AAAAAAAAJH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_max_size_deny\:Preferences} {\xe \v Preferences\:set_max_size_deny} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_max_size_deny ({\comment (startParameterList)} int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJI} {\bkmkend AAAAAAAAJI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_max_size_score\:Preferences} {\xe \v Preferences\:set_max_size_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_max_size_score ({\comment (startParameterList)} int {\i score}, {\comment (startParameterList)} int {\i size}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJJ} {\bkmkend AAAAAAAAJJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_maxlength\:Preferences} {\xe \v Preferences\:set_maxlength} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_maxlength ({\comment (startParameterList)} int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJK} {\bkmkend AAAAAAAAJK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_normal\:Preferences} {\xe \v Preferences\:set_normal} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_normal ({\comment (startParameterList)} const char * {\i par}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJL} {\bkmkend AAAAAAAAJL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_passwd\:Preferences} {\xe \v Preferences\:set_passwd} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_passwd ({\comment (startParameterList)} const char * {\i pass}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJM} {\bkmkend AAAAAAAAJM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_port\:Preferences} {\xe \v Preferences\:set_port} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_port ({\comment (startParameterList)} unsigned int {\i p}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJN} {\bkmkend AAAAAAAAJN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_protocol\:Preferences} {\xe \v Preferences\:set_protocol} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_protocol ({\comment (startParameterList)} const char * {\i prot}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJO} {\bkmkend AAAAAAAAJO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_rc_file\:Preferences} {\xe \v Preferences\:set_rc_file} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_rc_file ({\comment (startParameterList)} const char * {\i name}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJP} {\bkmkend AAAAAAAAJP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_reg_type\:Preferences} {\xe \v Preferences\:set_reg_type} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_reg_type ({\comment (startParameterList)} const char * {\i new_type}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJQ} {\bkmkend AAAAAAAAJQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_return_status\:Preferences} {\xe \v Preferences\:set_return_status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_return_status ({\comment (startParameterList)} bool {\i st}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJR} {\bkmkend AAAAAAAAJR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_server\:Preferences} {\xe \v Preferences\:set_server} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_server ({\comment (startParameterList)} const char * {\i server}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJS} {\bkmkend AAAAAAAAJS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_test_mode\:Preferences} {\xe \v Preferences\:set_test_mode} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_test_mode ({\comment (startParameterList)} const char * {\i par}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJT} {\bkmkend AAAAAAAAJT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_time_out\:Preferences} {\xe \v Preferences\:set_time_out} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_time_out ({\comment (startParameterList)} unsigned int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJU} {\bkmkend AAAAAAAAJU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_usr\:Preferences} {\xe \v Preferences\:set_usr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_usr ({\comment (startParameterList)} const char * {\i user}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJV} {\bkmkend AAAAAAAAJV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_verbose_level\:Preferences} {\xe \v Preferences\:set_verbose_level} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Preferences::set_verbose_level ({\comment (startParameterList)} int {\i level}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJW} {\bkmkend AAAAAAAAJW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v test_mode\:Preferences} {\xe \v Preferences\:test_mode} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool Preferences::test_mode ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJX} {\bkmkend AAAAAAAAJX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v time_out\:Preferences} {\xe \v Preferences\:time_out} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int Preferences::time_out ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJY} {\bkmkend AAAAAAAAJY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v verbose_level\:Preferences} {\xe \v Preferences\:verbose_level} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Preferences::verbose_level ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAJZ} {\bkmkend AAAAAAAAJZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v accnts\:Preferences} {\xe \v Preferences\:accnts} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector<{\b Account}> {\b Preferences::accnts}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKA} {\bkmkend AAAAAAAAKA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v allows\:Preferences} {\xe \v Preferences\:allows} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector<{\b Filter}> {\b Preferences::allows}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKB} {\bkmkend AAAAAAAAKB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v conn_type\:Preferences} {\xe \v Preferences\:conn_type} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::conn_type}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKC} {\bkmkend AAAAAAAAKC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v cur_account\:Preferences} {\xe \v Preferences\:cur_account} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Account} {\b Preferences::cur_account}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKD} {\bkmkend AAAAAAAAKD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v del_duplicates\:Preferences} {\xe \v Preferences\:del_duplicates} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::del_duplicates}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKE} {\bkmkend AAAAAAAAKE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v denies\:Preferences} {\xe \v Preferences\:denies} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector<{\b Filter}> {\b Preferences::denies}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKF} {\bkmkend AAAAAAAAKF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v headers_file_name\:Preferences} {\xe \v Preferences\:headers_file_name} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Preferences::headers_file_name}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKG} {\bkmkend AAAAAAAAKG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v high_score\:Preferences} {\xe \v Preferences\:high_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::high_score}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKH} {\bkmkend AAAAAAAAKH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v icase\:Preferences} {\xe \v Preferences\:icase} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::icase}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKI} {\bkmkend AAAAAAAAKI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v log_file_name\:Preferences} {\xe \v Preferences\:log_file_name} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Preferences::log_file_name}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKJ} {\bkmkend AAAAAAAAKJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_line_length\:Preferences} {\xe \v Preferences\:max_line_length} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::max_line_length}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKK} {\bkmkend AAAAAAAAKK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_size\:Preferences} {\xe \v Preferences\:max_size} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::max_size}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKL} {\bkmkend AAAAAAAAKL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v max_size_friends\:Preferences} {\xe \v Preferences\:max_size_friends} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::max_size_friends}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKM} {\bkmkend AAAAAAAAKM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v negative_allows\:Preferences} {\xe \v Preferences\:negative_allows} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::negative_allows}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKN} {\bkmkend AAAAAAAAKN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v negative_denies\:Preferences} {\xe \v Preferences\:negative_denies} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::negative_denies}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKO} {\bkmkend AAAAAAAAKO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v negative_scores\:Preferences} {\xe \v Preferences\:negative_scores} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::negative_scores}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKP} {\bkmkend AAAAAAAAKP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v norm\:Preferences} {\xe \v Preferences\:norm} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::norm}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKQ} {\bkmkend AAAAAAAAKQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v prefs_file_name\:Preferences} {\xe \v Preferences\:prefs_file_name} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string {\b Preferences::prefs_file_name}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKR} {\bkmkend AAAAAAAAKR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v prefs_stream\:Preferences} {\xe \v Preferences\:prefs_stream} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b ifstream {\b Preferences::prefs_stream}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKS} {\bkmkend AAAAAAAAKS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ret_status\:Preferences} {\xe \v Preferences\:ret_status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::ret_status}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKT} {\bkmkend AAAAAAAAKT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v rreg_type\:Preferences} {\xe \v Preferences\:rreg_type} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::rreg_type}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKU} {\bkmkend AAAAAAAAKU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v scores\:Preferences} {\xe \v Preferences\:scores} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b vector<{\b Score}> {\b Preferences::scores}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKV} {\bkmkend AAAAAAAAKV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v show_headers\:Preferences} {\xe \v Preferences\:show_headers} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::show_headers}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKW} {\bkmkend AAAAAAAAKW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v size_score\:Preferences} {\xe \v Preferences\:size_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Size_score} {\b Preferences::size_score}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKX} {\bkmkend AAAAAAAAKX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v test\:Preferences} {\xe \v Preferences\:test} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::test}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKY} {\bkmkend AAAAAAAAKY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v test_changed\:Preferences} {\xe \v Preferences\:test_changed} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::test_changed}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAKZ} {\bkmkend AAAAAAAAKZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v time_out_val\:Preferences} {\xe \v Preferences\:time_out_val} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned {\b Preferences::time_out_val}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALA} {\bkmkend AAAAAAAALA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v verbosity\:Preferences} {\xe \v Preferences\:verbosity} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Preferences::verbosity}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALB} {\bkmkend AAAAAAAALB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v verbosity_changed\:Preferences} {\xe \v Preferences\:verbosity_changed} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool {\b Preferences::verbosity_changed}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALC} {\bkmkend AAAAAAAALC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b preferences.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b preferences.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classPreferences.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classProtocol.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Protocol Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Protocol} {\xe \v Protocol} {\comment writeAnchor (classProtocol)} {\bkmkstart AAAAAAAAFI} {\bkmkend AAAAAAAAFI} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for Protocol:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classProtocol.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual {\b ~Protocol} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual bool {\b login} (const char *usr, const char *pass, const unsigned int) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual bool {\b logout} (void) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b remove_msg} (const unsigned int num) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b status} (void) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid virtual int {\b scan} (void) const =0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_connection} ({\b Connection} *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_ident} (unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b ident} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Protected Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Connection} * {\b conn}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b prot_ident}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid unsigned int {\b connect_type}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ~Protocol\:Protocol} {\xe \v Protocol\:~Protocol} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual Protocol::~Protocol ({\comment (startParameterList)} void){\f2 [inline, virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALD} {\bkmkend AAAAAAAALD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ident\:Protocol} {\xe \v Protocol\:ident} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int Protocol::ident ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALE} {\bkmkend AAAAAAAALE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v login\:Protocol} {\xe \v Protocol\:login} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual bool Protocol::login ({\comment (startParameterList)} const char * {\i usr}, {\comment (startParameterList)} const char * {\i pass}, {\comment (startParameterList)} const unsigned {\i int}) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHQ} {\bkmkend AAAAAAAAHQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGH \\*MERGEFORMAT}{\fldrslt pagenum}}}), and {\b APOP} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGG \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v logout\:Protocol} {\xe \v Protocol\:logout} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual bool Protocol::logout ({\comment (startParameterList)} void) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHS} {\bkmkend AAAAAAAAHS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHR \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v remove_msg\:Protocol} {\xe \v Protocol\:remove_msg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Protocol::remove_msg ({\comment (startParameterList)} const unsigned int {\i num}) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHU} {\bkmkend AAAAAAAAHU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHT \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v scan\:Protocol} {\xe \v Protocol\:scan} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Protocol::scan ({\comment (startParameterList)} void) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHW} {\bkmkend AAAAAAAAHW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHV \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_connection\:Protocol} {\xe \v Protocol\:set_connection} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Protocol::set_connection ({\comment (startParameterList)} {\b Connection} * {\i currently_established_connection}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALF} {\bkmkend AAAAAAAALF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_ident\:Protocol} {\xe \v Protocol\:set_ident} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Protocol::set_ident ({\comment (startParameterList)} unsigned int {\i i}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALG} {\bkmkend AAAAAAAALG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v status\:Protocol} {\xe \v Protocol\:status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b virtual int Protocol::status ({\comment (startParameterList)} void) const{\f2 [pure virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAHY} {\bkmkend AAAAAAAAHY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implemented in {\b POP3} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHX \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v conn\:Protocol} {\xe \v Protocol\:conn} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b {\b Connection}* {\b Protocol::conn}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALH} {\bkmkend AAAAAAAALH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v connect_type\:Protocol} {\xe \v Protocol\:connect_type} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int {\b Protocol::connect_type}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALI} {\bkmkend AAAAAAAALI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v prot_ident\:Protocol} {\xe \v Protocol\:prot_ident} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b unsigned int {\b Protocol::prot_ident}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALJ} {\bkmkend AAAAAAAALJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b protocol.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b protocol.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classProtocol.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classScore.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Score Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Score} {\xe \v Score} {\comment writeAnchor (classScore)} {\bkmkstart AAAAAAAAFJ} {\bkmkend AAAAAAAAFJ} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for Score:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classScore.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b score} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b set_score} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Protected Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b scr}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v score\:Score} {\xe \v Score\:score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Score::score ({\comment (startParameterList)} void) const{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALK} {\bkmkend AAAAAAAALK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v set_score\:Score} {\xe \v Score\:set_score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Score::set_score ({\comment (startParameterList)} int){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALL} {\bkmkend AAAAAAAALL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v scr\:Score} {\xe \v Score\:scr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Score::scr}{\f2 [protected]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALM} {\bkmkend AAAAAAAALM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following file:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b score.hh}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classScore.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classSize__score.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Size_score Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Size_score} {\xe \v Size_score} {\comment writeAnchor (classSize__score)} {\bkmkstart AAAAAAAAFK} {\bkmkend AAAAAAAAFK} {\f2 #include }{\comment (newParagraph)} \par {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Attributes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b score}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b size}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Data Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v score\:Size_score} {\xe \v Size_score\:score} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Size_score::score}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALN} {\bkmkend AAAAAAAALN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v size\:Size_score} {\xe \v Size_score\:size} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b Size_score::size}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALO} {\bkmkend AAAAAAAALO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following file:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b score.hh}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classSize__score.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include classSocket.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid Socket Class Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v Socket} {\xe \v Socket} {\comment writeAnchor (classSocket)} {\bkmkstart AAAAAAAAFL} {\bkmkend AAAAAAAAFL} {\f2 #include }{\comment (newParagraph)} \par {\comment startClassDiagram } Inheritance diagram for Socket:{ \pard\plain \par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "classSocket.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Public Member Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid {\b Socket} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b clear} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b c_open} (const char *host, int port, int time_out, int protocol){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b c_close} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b c_write} (const char *command){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b c_read} (bool=false){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid const string * {\b c_reply} (void) const {\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Constructor & Destructor Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v Socket\:Socket} {\xe \v Socket\:Socket} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Socket::Socket ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALP} {\bkmkend AAAAAAAALP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Member Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_close\:Socket} {\xe \v Socket\:c_close} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Socket::c_close ({\comment (startParameterList)} void) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGK} {\bkmkend AAAAAAAAGK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Connection} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGJ \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_open\:Socket} {\xe \v Socket\:c_open} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Socket::c_open ({\comment (startParameterList)} const char * {\i host}, {\comment (startParameterList)} int {\i port}, {\comment (startParameterList)} int {\i time_out}, {\comment (startParameterList)} int {\i protocol}){\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGM} {\bkmkend AAAAAAAAGM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Connection} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGL \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_read\:Socket} {\xe \v Socket\:c_read} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Socket::c_read ({\comment (startParameterList)} bool {\i read_header} = {\f2 false}){\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGO} {\bkmkend AAAAAAAAGO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Connection} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGN \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_reply\:Socket} {\xe \v Socket\:c_reply} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b const string * Socket::c_reply ({\comment (startParameterList)} void) const{\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGQ} {\bkmkend AAAAAAAAGQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Connection} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGP \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v c_write\:Socket} {\xe \v Socket\:c_write} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int Socket::c_write ({\comment (startParameterList)} const char * {\i command}){\f2 [virtual]}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAGS} {\bkmkend AAAAAAAAGS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment startParagraph} {\comment (newParagraph)} \par { Implements {\b Connection} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGR \\*MERGEFORMAT}{\fldrslt pagenum}}}).{\comment endParagraph} }\par } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v clear\:Socket} {\xe \v Socket\:clear} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void Socket::clear ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAALQ} {\bkmkend AAAAAAAALQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} The documentation for this class was generated from the following files:{\comment (startItemList level=0) } {{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b socket.hh}{\comment (writeListItem)} {\comment (newParagraph)} \par \pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid {\b socket.cc}{\comment (newParagraph)} \par {\comment (endItemList level=1)} }{\comment endFile} {\comment end include classSocket.rtf} {\comment BeginRTFChapter} \pard\plain \sect\sbkpage \s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid File Documentation{\tc \v File Documentation} \par \pard\plain {\comment begin include account_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid account.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v account.cc} {\xe \v account.cc} {\comment writeAnchor (account_8cc)} {\bkmkstart AAAAAAAAAA} {\bkmkend AAAAAAAAAA} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "account.hh"}{\comment (lineBreak)} \par {\f2 #include "pop3.hh"}{\comment (lineBreak)} \par {\f2 #include "apop.hh"}{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "connection.hh"}{\comment (lineBreak)} \par {\f2 #include "socket.hh"}{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b int_to_string} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variables{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b mailbox_status}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v int_to_string\:account.cc} {\xe \v account.cc\:int_to_string} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string int_to_string ({\comment (startParameterList)} int){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAB} {\bkmkend AAAAAAAAAB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variable Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v mailbox_status\:account.cc} {\xe \v account.cc\:mailbox_status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b mailbox_status}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAC} {\bkmkend AAAAAAAAAC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include account_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include account_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid account.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v account.hh} {\xe \v account.hh} {\comment writeAnchor (account_8hh)} {\bkmkstart AAAAAAAAAD} {\bkmkend AAAAAAAAAD} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\f2 #include "pop3.hh"}{\comment (lineBreak)} \par {\f2 #include "apop.hh"}{\comment (lineBreak)} \par {\f2 #include "connection.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Account}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include account_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include apop_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid apop.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v apop.cc} {\xe \v apop.cc} {\comment writeAnchor (apop_8cc)} {\bkmkstart AAAAAAAAAE} {\bkmkend AAAAAAAAAE} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "apop.hh"}{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "md5.h"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment endFile} {\comment end include apop_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include apop_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid apop.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v apop.hh} {\xe \v apop.hh} {\comment writeAnchor (apop_8hh)} {\bkmkstart AAAAAAAAAF} {\bkmkend AAAAAAAAAF} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "pop3.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b APOP}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include apop_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include connection_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid connection.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v connection.hh} {\xe \v connection.hh} {\comment writeAnchor (connection_8hh)} {\bkmkstart AAAAAAAAAG} {\bkmkend AAAAAAAAAG} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Connection}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include connection_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include feedback_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid feedback.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v feedback.cc} {\xe \v feedback.cc} {\comment writeAnchor (feedback_8cc)} {\bkmkstart AAAAAAAAAH} {\bkmkend AAAAAAAAAH} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment endFile} {\comment end include feedback_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include feedback_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid feedback.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v feedback.hh} {\xe \v feedback.hh} {\comment writeAnchor (feedback_8hh)} {\bkmkstart AAAAAAAAAI} {\bkmkend AAAAAAAAAI} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Feedback}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include feedback_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include filter_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid filter.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v filter.cc} {\xe \v filter.cc} {\comment writeAnchor (filter_8cc)} {\bkmkstart AAAAAAAAAJ} {\bkmkend AAAAAAAAAJ} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "filter.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment endFile} {\comment end include filter_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include filter_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid filter.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v filter.hh} {\xe \v filter.hh} {\comment writeAnchor (filter_8hh)} {\bkmkstart AAAAAAAAAK} {\bkmkend AAAAAAAAAK} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Filter}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b CASE_DEFAULT}\~ REG_ICASE{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b CASE_SENSITIVE}\~ 0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b CASE_INSENSITIVE}\~ REG_ICASE{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v CASE_DEFAULT\:filter.hh} {\xe \v filter.hh\:CASE_DEFAULT} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define CASE_DEFAULT\~ REG_ICASE{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAL} {\bkmkend AAAAAAAAAL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v CASE_INSENSITIVE\:filter.hh} {\xe \v filter.hh\:CASE_INSENSITIVE} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define CASE_INSENSITIVE\~ REG_ICASE{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAM} {\bkmkend AAAAAAAAAM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v CASE_SENSITIVE\:filter.hh} {\xe \v filter.hh\:CASE_SENSITIVE} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define CASE_SENSITIVE\~ 0{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAN} {\bkmkend AAAAAAAAAN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include filter_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include getopt_8c.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid getopt.c File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v getopt.c} {\xe \v getopt.c} {\comment writeAnchor (getopt_8c)} {\bkmkstart AAAAAAAAAO} {\bkmkend AAAAAAAAAO} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "getopt.h"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b GETOPT_INTERFACE_VERSION}\~ 2{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b _}(msgid)\~ (msgid){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b SWAP_FLAGS}(ch1, ch2){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b NONOPTION_P}\~ (argv[{\b optind}][0] != '-' || argv[{\b optind}][1] == '\\0'){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Enumerations{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid enum \{ {\b REQUIRE_ORDER}, {\b PERMUTE}, {\b RETURN_IN_ORDER} \}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid char * {\b getenv} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b _getopt_internal} (int argc, char *const *argv, const char *optstring, const struct {\b option} *longopts, int *longind, int long_only){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt} (int argc, char *const *argv, const char *optstring){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variables{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid char * {\b optarg}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b optind} = 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b __getopt_initialized}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b opterr} = 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b optopt} = '?'{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v _\:getopt.c} {\xe \v getopt.c\:_} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define _({\comment (startParameterList)} msgid)\~ (msgid){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAP} {\bkmkend AAAAAAAAAP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v GETOPT_INTERFACE_VERSION\:getopt.c} {\xe \v getopt.c\:GETOPT_INTERFACE_VERSION} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define GETOPT_INTERFACE_VERSION\~ 2{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAQ} {\bkmkend AAAAAAAAAQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v NONOPTION_P\:getopt.c} {\xe \v getopt.c\:NONOPTION_P} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define NONOPTION_P\~ (argv[{\b optind}][0] != '-' || argv[{\b optind}][1] == '\\0'){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAR} {\bkmkend AAAAAAAAAR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v SWAP_FLAGS\:getopt.c} {\xe \v getopt.c\:SWAP_FLAGS} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define SWAP_FLAGS({\comment (startParameterList)} ch1, {\comment (startParameterList)} ch2){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAS} {\bkmkend AAAAAAAAAS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Enumeration Type Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b anonymous enum{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAT} {\bkmkend AAAAAAAAAT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\comment (startSimpleSect)} {{{\b {\comment (newParagraph)} \par Enumerator: }}{\comment (newParagraph)} \par \pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\comment (writeDescItem) } {\comment (startDescTable) } {\xe \v REQUIRE_ORDER\:getopt.c} {\xe \v getopt.c\:REQUIRE_ORDER} {\comment (startDescTableTitle) } {\b {\i {\comment startDoxyAnchor} REQUIRE_ORDER{\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAU} {\bkmkend AAAAAAAAAU} {\comment (endDescTableTitle) } }} {\comment (startDescTableData) } {\comment (endDescTableData) } {\comment (newParagraph)} \par {\xe \v PERMUTE\:getopt.c} {\xe \v getopt.c\:PERMUTE} {\comment (startDescTableTitle) } {\b {\i {\comment startDoxyAnchor} PERMUTE{\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAV} {\bkmkend AAAAAAAAAV} {\comment (endDescTableTitle) } }} {\comment (startDescTableData) } {\comment (endDescTableData) } {\comment (newParagraph)} \par {\xe \v RETURN_IN_ORDER\:getopt.c} {\xe \v getopt.c\:RETURN_IN_ORDER} {\comment (startDescTableTitle) } {\b {\i {\comment startDoxyAnchor} RETURN_IN_ORDER{\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAW} {\bkmkend AAAAAAAAAW} {\comment (endDescTableTitle) } }} {\comment (startDescTableData) } {\comment (endDescTableData) } {\comment (newParagraph)} \par {\comment (endDescTable)} {\comment (endSimpleSect)} } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v _getopt_internal\:getopt.c} {\xe \v getopt.c\:_getopt_internal} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int _getopt_internal ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char *const * {\i argv}, {\comment (startParameterList)} const char * {\i optstring}, {\comment (startParameterList)} const struct {\b option} * {\i longopts}, {\comment (startParameterList)} int * {\i longind}, {\comment (startParameterList)} int {\i long_only}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAX} {\bkmkend AAAAAAAAAX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getenv\:getopt.c} {\xe \v getopt.c\:getenv} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b char* getenv (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAY} {\bkmkend AAAAAAAAAY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt\:getopt.c} {\xe \v getopt.c\:getopt} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char *const * {\i argv}, {\comment (startParameterList)} const char * {\i optstring}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAAZ} {\bkmkend AAAAAAAAAZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variable Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v __getopt_initialized\:getopt.c} {\xe \v getopt.c\:__getopt_initialized} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b __getopt_initialized}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABA} {\bkmkend AAAAAAAABA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optarg\:getopt.c} {\xe \v getopt.c\:optarg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b char* {\b optarg}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABB} {\bkmkend AAAAAAAABB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v opterr\:getopt.c} {\xe \v getopt.c\:opterr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b opterr} = 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABC} {\bkmkend AAAAAAAABC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optind\:getopt.c} {\xe \v getopt.c\:optind} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b optind} = 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABD} {\bkmkend AAAAAAAABD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optopt\:getopt.c} {\xe \v getopt.c\:optopt} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b optopt} = '?'{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABE} {\bkmkend AAAAAAAABE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include getopt_8c.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include getopt_8h.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid getopt.h File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v getopt.h} {\xe \v getopt.h} {\comment writeAnchor (getopt_8h)} {\bkmkstart AAAAAAAABF} {\bkmkend AAAAAAAABF} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid struct {\b option}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b _GETOPT_H}\~ 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b no_argument}\~ 0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b required_argument}\~ 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b optional_argument}\~ 2{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt_long} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt_long_only} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b _getopt_internal} (){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variables{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid char * {\b optarg}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b optind}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b opterr}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b optopt}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v _GETOPT_H\:getopt.h} {\xe \v getopt.h\:_GETOPT_H} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define _GETOPT_H\~ 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABG} {\bkmkend AAAAAAAABG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v no_argument\:getopt.h} {\xe \v getopt.h\:no_argument} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define no_argument\~ 0{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABH} {\bkmkend AAAAAAAABH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optional_argument\:getopt.h} {\xe \v getopt.h\:optional_argument} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define optional_argument\~ 2{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABI} {\bkmkend AAAAAAAABI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v required_argument\:getopt.h} {\xe \v getopt.h\:required_argument} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define required_argument\~ 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABJ} {\bkmkend AAAAAAAABJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v _getopt_internal\:getopt.h} {\xe \v getopt.h\:_getopt_internal} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int _getopt_internal (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABK} {\bkmkend AAAAAAAABK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt\:getopt.h} {\xe \v getopt.h\:getopt} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABL} {\bkmkend AAAAAAAABL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt_long\:getopt.h} {\xe \v getopt.h\:getopt_long} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt_long (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABM} {\bkmkend AAAAAAAABM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt_long_only\:getopt.h} {\xe \v getopt.h\:getopt_long_only} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt_long_only (){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABN} {\bkmkend AAAAAAAABN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variable Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optarg\:getopt.h} {\xe \v getopt.h\:optarg} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b char* {\b optarg}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABO} {\bkmkend AAAAAAAABO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v opterr\:getopt.h} {\xe \v getopt.h\:opterr} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b opterr}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABP} {\bkmkend AAAAAAAABP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optind\:getopt.h} {\xe \v getopt.h\:optind} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b optind}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABQ} {\bkmkend AAAAAAAABQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v optopt\:getopt.h} {\xe \v getopt.h\:optopt} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b optopt}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABR} {\bkmkend AAAAAAAABR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include getopt_8h.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include getopt1_8c.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid getopt1.c File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v getopt1.c} {\xe \v getopt1.c} {\comment writeAnchor (getopt1_8c)} {\bkmkstart AAAAAAAABS} {\bkmkend AAAAAAAABS} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "getopt.h"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b GETOPT_INTERFACE_VERSION}\~ 2{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b NULL}\~ 0{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt_long} (int argc, char *const *argv, const char *options, const struct {\b option} *long_options, int *opt_index){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b getopt_long_only} (int argc, char *const *argv, const char *options, const struct {\b option} *long_options, int *opt_index){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v GETOPT_INTERFACE_VERSION\:getopt1.c} {\xe \v getopt1.c\:GETOPT_INTERFACE_VERSION} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define GETOPT_INTERFACE_VERSION\~ 2{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABT} {\bkmkend AAAAAAAABT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v NULL\:getopt1.c} {\xe \v getopt1.c\:NULL} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define NULL\~ 0{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABU} {\bkmkend AAAAAAAABU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt_long\:getopt1.c} {\xe \v getopt1.c\:getopt_long} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt_long ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char *const * {\i argv}, {\comment (startParameterList)} const char * {\i options}, {\comment (startParameterList)} const struct {\b option} * {\i long_options}, {\comment (startParameterList)} int * {\i opt_index}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABV} {\bkmkend AAAAAAAABV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v getopt_long_only\:getopt1.c} {\xe \v getopt1.c\:getopt_long_only} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int getopt_long_only ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char *const * {\i argv}, {\comment (startParameterList)} const char * {\i options}, {\comment (startParameterList)} const struct {\b option} * {\i long_options}, {\comment (startParameterList)} int * {\i opt_index}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABW} {\bkmkend AAAAAAAABW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include getopt1_8c.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include mailfilter_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid mailfilter.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v mailfilter.cc} {\xe \v mailfilter.cc} {\comment writeAnchor (mailfilter_8cc)} {\bkmkstart AAAAAAAABX} {\bkmkend AAAAAAAABX} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "weeder.hh"}{\comment (lineBreak)} \par {\f2 #include "time.h"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "getopt.h"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b init_app} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid bool {\b open_prefs} (string){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b get_opts} (int argc, char *argv[]){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b override_prefs} (string){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b cmp_no_case} (const string &, const string &){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b precompile_expressions} (void){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b connect_sigint} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b int_to_string} (int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b main} (int argc, char *argv[]){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid string {\b exec_shell} (const char *command){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variables{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid struct sigaction {\b sigact}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid Weeder {\b weeder}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b mailbox_status}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v cmp_no_case\:mailfilter.cc} {\xe \v mailfilter.cc\:cmp_no_case} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int cmp_no_case ({\comment (startParameterList)} const string & {\i s}, {\comment (startParameterList)} const string & {\i s2}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABY} {\bkmkend AAAAAAAABY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v connect_sigint\:mailfilter.cc} {\xe \v mailfilter.cc\:connect_sigint} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void connect_sigint ({\comment (startParameterList)} int {\i signo}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAABZ} {\bkmkend AAAAAAAABZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v exec_shell\:mailfilter.cc} {\xe \v mailfilter.cc\:exec_shell} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string exec_shell ({\comment (startParameterList)} const char * {\i command}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACA} {\bkmkend AAAAAAAACA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v get_opts\:mailfilter.cc} {\xe \v mailfilter.cc\:get_opts} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void get_opts ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char * {\i argv}[]){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACB} {\bkmkend AAAAAAAACB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v init_app\:mailfilter.cc} {\xe \v mailfilter.cc\:init_app} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void init_app ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACC} {\bkmkend AAAAAAAACC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v int_to_string\:mailfilter.cc} {\xe \v mailfilter.cc\:int_to_string} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b string int_to_string ({\comment (startParameterList)} int {\i val}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACD} {\bkmkend AAAAAAAACD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v main\:mailfilter.cc} {\xe \v mailfilter.cc\:main} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int main ({\comment (startParameterList)} int {\i argc}, {\comment (startParameterList)} char * {\i argv}[]){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACE} {\bkmkend AAAAAAAACE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v open_prefs\:mailfilter.cc} {\xe \v mailfilter.cc\:open_prefs} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b bool open_prefs ({\comment (startParameterList)} string){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACF} {\bkmkend AAAAAAAACF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v override_prefs\:mailfilter.cc} {\xe \v mailfilter.cc\:override_prefs} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void override_prefs ({\comment (startParameterList)} string){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACG} {\bkmkend AAAAAAAACG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v precompile_expressions\:mailfilter.cc} {\xe \v mailfilter.cc\:precompile_expressions} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int precompile_expressions ({\comment (startParameterList)} void){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACH} {\bkmkend AAAAAAAACH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variable Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v mailbox_status\:mailfilter.cc} {\xe \v mailfilter.cc\:mailbox_status} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int {\b mailbox_status}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACI} {\bkmkend AAAAAAAACI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v sigact\:mailfilter.cc} {\xe \v mailfilter.cc\:sigact} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b struct sigaction {\b sigact}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACJ} {\bkmkend AAAAAAAACJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v weeder\:mailfilter.cc} {\xe \v mailfilter.cc\:weeder} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Weeder {\b weeder}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACK} {\bkmkend AAAAAAAACK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include mailfilter_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include mailfilter_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid mailfilter.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v mailfilter.hh} {\xe \v mailfilter.hh} {\comment writeAnchor (mailfilter_8hh)} {\bkmkstart AAAAAAAACL} {\bkmkend AAAAAAAACL} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_HELP}\~ 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_VERBOSE}\~ 2{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_MAILFILTERRC}\~ 3{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_LOGFILE}\~ 4{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_VERSION}\~ 5{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_TEST}\~ 6{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b VALUE_RETURN}\~ 7{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b ERROR_MSG}(msg){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ERROR_MSG\:mailfilter.hh} {\xe \v mailfilter.hh\:ERROR_MSG} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define ERROR_MSG({\comment (startParameterList)} msg){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACM} {\bkmkend AAAAAAAACM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid cerr << PACKAGE_NAME \\{\comment (lineBreak)} \par << ": Error: " \\{\comment (lineBreak)} \par << msg \\{\comment (lineBreak)} \par << endl{\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_HELP\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_HELP} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_HELP\~ 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACN} {\bkmkend AAAAAAAACN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_LOGFILE\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_LOGFILE} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_LOGFILE\~ 4{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACO} {\bkmkend AAAAAAAACO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_MAILFILTERRC\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_MAILFILTERRC} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_MAILFILTERRC\~ 3{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACP} {\bkmkend AAAAAAAACP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_RETURN\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_RETURN} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_RETURN\~ 7{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACQ} {\bkmkend AAAAAAAACQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_TEST\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_TEST} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_TEST\~ 6{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACR} {\bkmkend AAAAAAAACR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_VERBOSE\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_VERBOSE} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_VERBOSE\~ 2{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACS} {\bkmkend AAAAAAAACS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v VALUE_VERSION\:mailfilter.hh} {\xe \v mailfilter.hh\:VALUE_VERSION} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define VALUE_VERSION\~ 5{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACT} {\bkmkend AAAAAAAACT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include mailfilter_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include md5_8h.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid md5.h File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v md5.h} {\xe \v md5.h} {\comment writeAnchor (md5_8h)} {\bkmkstart AAAAAAAACU} {\bkmkend AAAAAAAACU} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid struct {\b MD5_CTX}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b MD5_H}\~ 1{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Typedefs{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid typedef unsigned char * {\b POINTER}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Init} ({\b MD5_CTX} *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Update} ({\b MD5_CTX} *, unsigned char *, unsigned int){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Final} (unsigned char[16], {\b MD5_CTX} *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b gethash} (char[33], char *, char *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5_H\:md5.h} {\xe \v md5.h\:MD5_H} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define MD5_H\~ 1{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACV} {\bkmkend AAAAAAAACV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Typedef Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v POINTER\:md5.h} {\xe \v md5.h\:POINTER} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b typedef unsigned char* {\b POINTER}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACW} {\bkmkend AAAAAAAACW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v gethash\:md5.h} {\xe \v md5.h\:gethash} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void gethash ({\comment (startParameterList)} char[33], {\comment (startParameterList)} char *, {\comment (startParameterList)} char *){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACX} {\bkmkend AAAAAAAACX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Final\:md5.h} {\xe \v md5.h\:MD5Final} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Final ({\comment (startParameterList)} unsigned {\i char}[16], {\comment (startParameterList)} {\b MD5_CTX} *){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACY} {\bkmkend AAAAAAAACY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Init\:md5.h} {\xe \v md5.h\:MD5Init} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Init ({\comment (startParameterList)} {\b MD5_CTX} *){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAACZ} {\bkmkend AAAAAAAACZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Update\:md5.h} {\xe \v md5.h\:MD5Update} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Update ({\comment (startParameterList)} {\b MD5_CTX} *, {\comment (startParameterList)} unsigned char *, {\comment (startParameterList)} unsigned {\i int}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADA} {\bkmkend AAAAAAAADA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include md5_8h.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include md5c_8c.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid md5c.c File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v md5c.c} {\xe \v md5c.c} {\comment writeAnchor (md5c_8c)} {\bkmkstart AAAAAAAADB} {\bkmkend AAAAAAAADB} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "md5.h"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S11}\~ 7{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S12}\~ 12{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S13}\~ 17{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S14}\~ 22{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S21}\~ 5{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S22}\~ 9{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S23}\~ 14{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S24}\~ 20{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S31}\~ 4{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S32}\~ 11{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S33}\~ 16{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S34}\~ 23{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S41}\~ 6{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S42}\~ 10{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S43}\~ 15{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b S44}\~ 21{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b F}(x, y, z)\~ (((x) & (y)) | ((~x) & (z))){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b G}(x, y, z)\~ (((x) & (z)) | ((y) & (~z))){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b H}(x, y, z)\~ ((x) ^ (y) ^ (z)){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b I}(x, y, z)\~ ((y) ^ ((x) | (~z))){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b ROTATE_LEFT}(x, n)\~ (((x) << (n)) | ((x) >> (32-(n)))){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b FF}(a, b, c, d, x, s, ac){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b GG}(a, b, c, d, x, s, ac){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b HH}(a, b, c, d, x, s, ac){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b II}(a, b, c, d, x, s, ac){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Init} ({\b MD5_CTX} *context){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Update} ({\b MD5_CTX} *context, unsigned char *input, unsigned int inputLen){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid void {\b MD5Final} (digest, {\b MD5_CTX} *context){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v F\:md5c.c} {\xe \v md5c.c\:F} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define F({\comment (startParameterList)} x, {\comment (startParameterList)} y, {\comment (startParameterList)} z)\~ (((x) & (y)) | ((~x) & (z))){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADC} {\bkmkend AAAAAAAADC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v FF\:md5c.c} {\xe \v md5c.c\:FF} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define FF({\comment (startParameterList)} a, {\comment (startParameterList)} b, {\comment (startParameterList)} c, {\comment (startParameterList)} d, {\comment (startParameterList)} x, {\comment (startParameterList)} s, {\comment (startParameterList)} ac){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADD} {\bkmkend AAAAAAAADD} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ \\{\comment (lineBreak)} \par (a) += F ((b), (c), (d)) + (x) + (uint32_t)(ac); \\{\comment (lineBreak)} \par (a) = ROTATE_LEFT ((a), (s)); \\{\comment (lineBreak)} \par (a) += (b); \\{\comment (lineBreak)} \par \}{\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v G\:md5c.c} {\xe \v md5c.c\:G} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define G({\comment (startParameterList)} x, {\comment (startParameterList)} y, {\comment (startParameterList)} z)\~ (((x) & (z)) | ((y) & (~z))){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADE} {\bkmkend AAAAAAAADE} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v GG\:md5c.c} {\xe \v md5c.c\:GG} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define GG({\comment (startParameterList)} a, {\comment (startParameterList)} b, {\comment (startParameterList)} c, {\comment (startParameterList)} d, {\comment (startParameterList)} x, {\comment (startParameterList)} s, {\comment (startParameterList)} ac){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADF} {\bkmkend AAAAAAAADF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ \\{\comment (lineBreak)} \par (a) += G ((b), (c), (d)) + (x) + (uint32_t)(ac); \\{\comment (lineBreak)} \par (a) = ROTATE_LEFT ((a), (s)); \\{\comment (lineBreak)} \par (a) += (b); \\{\comment (lineBreak)} \par \}{\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v H\:md5c.c} {\xe \v md5c.c\:H} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define H({\comment (startParameterList)} x, {\comment (startParameterList)} y, {\comment (startParameterList)} z)\~ ((x) ^ (y) ^ (z)){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADG} {\bkmkend AAAAAAAADG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v HH\:md5c.c} {\xe \v md5c.c\:HH} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define HH({\comment (startParameterList)} a, {\comment (startParameterList)} b, {\comment (startParameterList)} c, {\comment (startParameterList)} d, {\comment (startParameterList)} x, {\comment (startParameterList)} s, {\comment (startParameterList)} ac){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADH} {\bkmkend AAAAAAAADH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ \\{\comment (lineBreak)} \par (a) += H ((b), (c), (d)) + (x) + (uint32_t)(ac); \\{\comment (lineBreak)} \par (a) = ROTATE_LEFT ((a), (s)); \\{\comment (lineBreak)} \par (a) += (b); \\{\comment (lineBreak)} \par \}{\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v I\:md5c.c} {\xe \v md5c.c\:I} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define I({\comment (startParameterList)} x, {\comment (startParameterList)} y, {\comment (startParameterList)} z)\~ ((y) ^ ((x) | (~z))){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADI} {\bkmkend AAAAAAAADI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v II\:md5c.c} {\xe \v md5c.c\:II} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define II({\comment (startParameterList)} a, {\comment (startParameterList)} b, {\comment (startParameterList)} c, {\comment (startParameterList)} d, {\comment (startParameterList)} x, {\comment (startParameterList)} s, {\comment (startParameterList)} ac){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADJ} {\bkmkend AAAAAAAADJ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ \\{\comment (lineBreak)} \par (a) += I ((b), (c), (d)) + (x) + (uint32_t)(ac); \\{\comment (lineBreak)} \par (a) = ROTATE_LEFT ((a), (s)); \\{\comment (lineBreak)} \par (a) += (b); \\{\comment (lineBreak)} \par \}{\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v ROTATE_LEFT\:md5c.c} {\xe \v md5c.c\:ROTATE_LEFT} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define ROTATE_LEFT({\comment (startParameterList)} x, {\comment (startParameterList)} n)\~ (((x) << (n)) | ((x) >> (32-(n)))){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADK} {\bkmkend AAAAAAAADK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S11\:md5c.c} {\xe \v md5c.c\:S11} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S11\~ 7{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADL} {\bkmkend AAAAAAAADL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S12\:md5c.c} {\xe \v md5c.c\:S12} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S12\~ 12{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADM} {\bkmkend AAAAAAAADM} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S13\:md5c.c} {\xe \v md5c.c\:S13} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S13\~ 17{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADN} {\bkmkend AAAAAAAADN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S14\:md5c.c} {\xe \v md5c.c\:S14} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S14\~ 22{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADO} {\bkmkend AAAAAAAADO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S21\:md5c.c} {\xe \v md5c.c\:S21} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S21\~ 5{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADP} {\bkmkend AAAAAAAADP} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S22\:md5c.c} {\xe \v md5c.c\:S22} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S22\~ 9{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADQ} {\bkmkend AAAAAAAADQ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S23\:md5c.c} {\xe \v md5c.c\:S23} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S23\~ 14{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADR} {\bkmkend AAAAAAAADR} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S24\:md5c.c} {\xe \v md5c.c\:S24} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S24\~ 20{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADS} {\bkmkend AAAAAAAADS} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S31\:md5c.c} {\xe \v md5c.c\:S31} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S31\~ 4{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADT} {\bkmkend AAAAAAAADT} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S32\:md5c.c} {\xe \v md5c.c\:S32} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S32\~ 11{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADU} {\bkmkend AAAAAAAADU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S33\:md5c.c} {\xe \v md5c.c\:S33} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S33\~ 16{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADV} {\bkmkend AAAAAAAADV} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S34\:md5c.c} {\xe \v md5c.c\:S34} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S34\~ 23{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADW} {\bkmkend AAAAAAAADW} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S41\:md5c.c} {\xe \v md5c.c\:S41} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S41\~ 6{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADX} {\bkmkend AAAAAAAADX} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S42\:md5c.c} {\xe \v md5c.c\:S42} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S42\~ 10{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADY} {\bkmkend AAAAAAAADY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S43\:md5c.c} {\xe \v md5c.c\:S43} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S43\~ 15{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAADZ} {\bkmkend AAAAAAAADZ} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v S44\:md5c.c} {\xe \v md5c.c\:S44} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define S44\~ 21{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEA} {\bkmkend AAAAAAAAEA} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Final\:md5c.c} {\xe \v md5c.c\:MD5Final} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Final ({\comment (startParameterList)} digest, {\comment (startParameterList)} {\b MD5_CTX} * {\i context}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEB} {\bkmkend AAAAAAAAEB} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Init\:md5c.c} {\xe \v md5c.c\:MD5Init} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Init ({\comment (startParameterList)} {\b MD5_CTX} * {\i context}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEC} {\bkmkend AAAAAAAAEC} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MD5Update\:md5c.c} {\xe \v md5c.c\:MD5Update} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b void MD5Update ({\comment (startParameterList)} {\b MD5_CTX} * {\i context}, {\comment (startParameterList)} unsigned char * {\i input}, {\comment (startParameterList)} unsigned int {\i inputLen}){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAED} {\bkmkend AAAAAAAAED} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include md5c_8c.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include pop3_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid pop3.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v pop3.cc} {\xe \v pop3.cc} {\comment writeAnchor (pop3_8cc)} {\bkmkstart AAAAAAAAEE} {\bkmkend AAAAAAAAEE} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "socket.hh"}{\comment (lineBreak)} \par {\f2 #include "pop3.hh"}{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "header.hh"}{\comment (lineBreak)} \par {\f2 #include "weeder.hh"}{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b yyFlexLexer}\~ rfcFlexLexer{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b rfcparse} (void *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variables{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid FlexLexer * {\b rfclexer}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid Weeder {\b weeder}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v yyFlexLexer\:pop3.cc} {\xe \v pop3.cc\:yyFlexLexer} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define yyFlexLexer\~ rfcFlexLexer{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEF} {\bkmkend AAAAAAAAEF} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v rfcparse\:pop3.cc} {\xe \v pop3.cc\:rfcparse} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int rfcparse ({\comment (startParameterList)} void *){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEG} {\bkmkend AAAAAAAAEG} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Variable Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v rfclexer\:pop3.cc} {\xe \v pop3.cc\:rfclexer} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b FlexLexer* {\b rfclexer}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEH} {\bkmkend AAAAAAAAEH} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v weeder\:pop3.cc} {\xe \v pop3.cc\:weeder} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b Weeder {\b weeder}{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEI} {\bkmkend AAAAAAAAEI} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include pop3_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include pop3_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid pop3.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v pop3.hh} {\xe \v pop3.hh} {\comment writeAnchor (pop3_8hh)} {\bkmkstart AAAAAAAAEJ} {\bkmkend AAAAAAAAEJ} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "header.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b POP3}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b REPLY_OK}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b HEADER_OK}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v HEADER_OK\:pop3.hh} {\xe \v pop3.hh\:HEADER_OK} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define HEADER_OK{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEK} {\bkmkend AAAAAAAAEK} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid ((conn->c_read (true) > 0 && conn->c_reply ())? \\{\comment (lineBreak)} \par (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \\{\comment (lineBreak)} \par : false){\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v REPLY_OK\:pop3.hh} {\xe \v pop3.hh\:REPLY_OK} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define REPLY_OK{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEL} {\bkmkend AAAAAAAAEL} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\b Value:}{\comment (startCodeFragment) } { \pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid ((conn->c_read () > 0 && conn->c_reply ()) ? \\{\comment (lineBreak)} \par (((conn->c_reply ()->c_str ())[0] == '+') ? true : false) \\{\comment (lineBreak)} \par : false){\comment (lineBreak)} \par {\comment (endCodeFragment) } } } {\comment endFile} {\comment end include pop3_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include preferences_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid preferences.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v preferences.cc} {\xe \v preferences.cc} {\comment writeAnchor (preferences_8cc)} {\bkmkstart AAAAAAAAEM} {\bkmkend AAAAAAAAEM} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "preferences.hh"}{\comment (lineBreak)} \par {\f2 #include "filter.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "account.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\f2 #include "score.hh"}{\comment (lineBreak)} \par {\f2 #include "rcfile.hh"}{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Functions{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b rcparse} (void *){\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid int {\b cmp_no_case} (const string &, const string &){\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Function Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v cmp_no_case\:preferences.cc} {\xe \v preferences.cc\:cmp_no_case} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int cmp_no_case ({\comment (startParameterList)} const string &, {\comment (startParameterList)} const string &){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEN} {\bkmkend AAAAAAAAEN} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v rcparse\:preferences.cc} {\xe \v preferences.cc\:rcparse} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b int rcparse ({\comment (startParameterList)} void *){\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEO} {\bkmkend AAAAAAAAEO} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include preferences_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include preferences_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid preferences.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v preferences.hh} {\xe \v preferences.hh} {\comment writeAnchor (preferences_8hh)} {\bkmkstart AAAAAAAAEP} {\bkmkend AAAAAAAAEP} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\f2 #include "socket.hh"}{\comment (lineBreak)} \par {\f2 #include "filter.hh"}{\comment (lineBreak)} \par {\f2 #include "score.hh"}{\comment (lineBreak)} \par {\f2 #include "account.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Preferences}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include preferences_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include protocol_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid protocol.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v protocol.cc} {\xe \v protocol.cc} {\comment writeAnchor (protocol_8cc)} {\bkmkstart AAAAAAAAEQ} {\bkmkend AAAAAAAAEQ} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "connection.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment endFile} {\comment end include protocol_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include protocol_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid protocol.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v protocol.hh} {\xe \v protocol.hh} {\comment writeAnchor (protocol_8hh)} {\bkmkstart AAAAAAAAER} {\bkmkend AAAAAAAAER} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "connection.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Protocol}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b PROTOCOL_POP3}\~ 2{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b PROTOCOL_APOP}\~ 4{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b SSL_C}\~ 4096{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v PROTOCOL_APOP\:protocol.hh} {\xe \v protocol.hh\:PROTOCOL_APOP} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define PROTOCOL_APOP\~ 4{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAES} {\bkmkend AAAAAAAAES} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v PROTOCOL_POP3\:protocol.hh} {\xe \v protocol.hh\:PROTOCOL_POP3} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define PROTOCOL_POP3\~ 2{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAET} {\bkmkend AAAAAAAAET} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v SSL_C\:protocol.hh} {\xe \v protocol.hh\:SSL_C} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define SSL_C\~ 4096{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEU} {\bkmkend AAAAAAAAEU} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include protocol_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include score_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid score.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v score.hh} {\xe \v score.hh} {\comment writeAnchor (score_8hh)} {\bkmkstart AAAAAAAAEV} {\bkmkend AAAAAAAAEV} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "filter.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Size_score}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Score}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment endFile} {\comment end include score_8hh.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include socket_8cc.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid socket.cc File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v socket.cc} {\xe \v socket.cc} {\comment writeAnchor (socket_8cc)} {\bkmkstart AAAAAAAAEW} {\bkmkend AAAAAAAAEW} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "defines.hh"}{\comment (lineBreak)} \par {\f2 #include "mailfilter.hh"}{\comment (lineBreak)} \par {\f2 #include "feedback.hh"}{\comment (lineBreak)} \par {\f2 #include "socket.hh"}{\comment (lineBreak)} \par {\f2 #include "protocol.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment endFile} {\comment end include socket_8cc.rtf} \par \pard\plain {\comment BeginRTFSection} \pard\plain \sect\sbkpage \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid {\comment begin include socket_8hh.rtf} {\comment startTitleHead} \pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid socket.hh File Reference{\comment endTitleHead} \par \pard\plain {\tc\tcl2 \v socket.hh} {\xe \v socket.hh} {\comment writeAnchor (socket_8hh)} {\bkmkstart AAAAAAAAEX} {\bkmkend AAAAAAAAEX} {\comment startTextBlock} { \pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }{\comment (lineBreak)} \par {\f2 #include }{\comment (lineBreak)} \par {\f2 #include "connection.hh"}{\comment (lineBreak)} \par {\comment endTextBlock} } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Classes{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid class {\b Socket}{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Defines{\comment endGroupHeader} \par \pard\plain {\comment (startMemberList) } { {\comment startMemberItem } \pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid #define {\b MAX_BYTES}\~ 512{\comment endMemberItem } {\comment (newParagraph)} \par {\comment (endMemberList) } } {\comment (rtfwriteRuler_thin)} {\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} {\comment startGroupHeader} \pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid Define Documentation{\comment endGroupHeader} \par \pard\plain {\comment startDoxyAnchor} {\comment startMemberDoc} {\xe \v MAX_BYTES\:socket.hh} {\xe \v socket.hh\:MAX_BYTES} \pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { {\b #define MAX_BYTES\~ 512{\comment endMemberDoc} } }{\comment (newParagraph)} \par {\comment endDoxyAnchor} {\bkmkstart AAAAAAAAEY} {\bkmkend AAAAAAAAEY} {\comment (startIndent) } { \pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid } {\comment endFile} {\comment end include socket_8hh.rtf} {\comment BeginRTFChapter} \pard\plain \sect\sbkpage \s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid Index\par \pard\plain {\tc \v Index} {\field\fldedit {\*\fldinst INDEX \\c2 \\*MERGEFORMAT}{\fldrslt INDEX}} {\comment endFile} }mailfilter-0.8.2/doc/api/rtf/classConnection.png0000644000175000017500000000052111241450773016540 00000000000000PNG  IHDRLPAPLTE`{tRNS@fIDATH1 E 7h/TR-N!C*bv8/!pߡ$|d@$ R1f*tHrUYrƅ豺U]XF,;J#[Uju0_X9//v[Ė5ՉtbհQGrOȡ%&~iǔi_CJJfZ&Ll8gCުSa8{ζ0 ߕ"<IENDB`mailfilter-0.8.2/doc/api/rtf/classFilter.png0000644000175000017500000000043011241450773015665 00000000000000PNG  IHDR.PZPLTE`{tRNS@fIDAT81 E͒ poH=O'ډH< /@@ZϵR1s Э ]n # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. EXTRA_DIST = FAQ supported_servers @MAINT@doxygen: Doxyfile @MAINT@ doxygen Doxyfile dist-hook: if test -d $(srcdir)/api; then \ mkdir $(distdir)/api ;\ fi if test -d $(srcdir)/api/html; then \ mkdir $(distdir)/api/html ;\ cp $(srcdir)/api/html/* $(distdir)/api/html ;\ fi if test -d $(srcdir)/api/latex; then \ mkdir $(distdir)/api/latex ;\ cp $(srcdir)/api/latex/* $(distdir)/api/latex ;\ fi if test -d $(srcdir)/api/man; then \ mkdir $(distdir)/api/man ;\ cp -r $(srcdir)/api/man/* $(distdir)/api/man ;\ fi if test -d $(srcdir)/api/rtf; then \ mkdir $(distdir)/api/rtf ;\ cp $(srcdir)/api/rtf/* $(distdir)/api/rtf ;\ fi mailfilter-0.8.2/doc/Doxyfile.in0000644000175000017500000007205610554745030013467 00000000000000# Doxyfile.in: create a Doxyfile (doxygen configuration file) from a template # $Id: Doxyfile.in,v 1.4.4.1 2003/07/20 20:41:45 baueran Exp $ # Doxyfile 1.2.3 # This file describes the settings to be used by doxygen for a project # # All text after a hash (#) is considered a comment and will be ignored # The format is: # TAG = value [value, ...] # For lists items can also be appended using: # TAG += value [value, ...] # Values that contain spaces should be placed between quotes (" ") #--------------------------------------------------------------------------- # General configuration options #--------------------------------------------------------------------------- # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = @PACKAGE@ # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = @VERSION@ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = api # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: # Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, # Korean, Hungarian, Spanish, Romanian, Russian, Croatian, Polish, # Portuguese and Slovene. OUTPUT_LANGUAGE = English # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = NO # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these class will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. It is allowed to use relative paths in the argument list. STRIP_FROM_PATH = # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = NO # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a class diagram (in Html and LaTeX) for classes with base or # super classes. Setting the tag to NO turns the diagrams off. CLASS_DIAGRAMS = YES # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. SOURCE_BROWSER = NO # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate # file names in lower case letters. If set to YES upper case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # users are adviced to set this option to NO. CASE_SENSE_NAMES = YES # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc # comments will behave just like the Qt-style comments (thus requiring an # explict @brief command for a brief description. JAVADOC_AUTOBRIEF = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # reimplements. INHERIT_DOCS = YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 4 # The ENABLE_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = # The GENERATE_TODOLIST tag can be used to enable (YES) or # disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES # The GENERATE_TESTLIST tag can be used to enable (YES) or # disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". # For example adding "sideeffect=\par Side Effects:\n" will allow you to # put the command \sideeffect (or @sideeffect) in the documentation, which # will result in a user defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. ALIASES = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. WARN_FORMAT = "$file:$line: $text" # The WARN_LOGFILE tag can be used to specify a file to which warning # and error messages should be written. If left blank the output is written # to stderr. WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. # please keep this list in sync with the mailfilter_SOURCES variable in ../src/Makefile.amx INPUT = ../src/mailfilter.cc \ ../src/mailfilter.hh \ ../src/feedback.cc \ ../src/feedback.hh \ ../src/preferences.cc \ ../src/preferences.hh \ ../src/connection.hh \ ../src/protocol.hh \ ../src/protocol.cc \ ../src/socket.hh \ ../src/socket.cc \ ../src/pop3.cc \ ../src/pop3.hh \ ../src/filter.hh \ ../src/filter.cc \ ../src/score.hh \ ../src/account.hh \ ../src/account.cc \ ../src/apop.hh \ ../src/apop.cc \ ../src/i18n.hh \ ../src/md5c.c \ ../src/md5.h \ ../src/getopt.c \ ../src/getopt.h \ ../src/getopt1.c # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. FILE_PATTERNS = # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = NO # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. EXCLUDE_PATTERNS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command , where # is the value of the INPUT_FILTER tag, and is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. INPUT_FILTER = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER) will be used to filter the input files when producing source # files to browse. FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet HTML_STYLESHEET = # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compressed HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # This tag can be used to set the number of enum values (range [1..20]) # that doxygen will group on one line in the generated HTML documentation. ENUM_VALUES_PER_LINE = 4 #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = YES # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = YES # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are: a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! LATEX_HEADER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of # plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # The RTF output is optimised for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = YES # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using a WORD or other. # programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen's # config file, i.e. a series of assigments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = YES # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- # If the GENERATE_XML tag is set to YES Doxygen will # generate an XML file that captures the structure of # the code including all documentation. Warning: This feature # is still experimental and very incomplete. GENERATE_XML = NO #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_PREDEFINED tags. EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = YES # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the # directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form: name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. PREDEFINED = # If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition. EXPAND_AS_DEFINED = #--------------------------------------------------------------------------- # Configuration::addtions related to external references #--------------------------------------------------------------------------- # The TAGFILES tag can be used to specify one or more tagfiles. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = NO # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the ENABLE_PREPROCESSING, INCLUDE_GRAPH, and HAVE_DOT tags are set to # YES then doxygen will generate a graph for each documented file showing # the direct and indirect include dependencies of the file with other # documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, INCLUDED_BY_GRAPH, and HAVE_DOT tags are set to # YES then doxygen will generate a graph for each documented header file showing # the documented files that directly or indirectly include this file INCLUDED_BY_GRAPH = YES # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found on the path. DOT_PATH = # The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_WIDTH = 1024 # The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_HEIGHT = 1024 # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES #--------------------------------------------------------------------------- # Configuration::addtions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = NO # The CGI_NAME tag should be the name of the CGI script that # starts the search engine (doxysearch) with the correct parameters. # A script with this name will be generated by doxygen. CGI_NAME = search.cgi # The CGI_URL tag should be the absolute URL to the directory where the # cgi binaries are located. See the documentation of your http daemon for # details. CGI_URL = # The DOC_URL tag should be the absolute URL to the directory where the # documentation is located. If left blank the absolute path to the # documentation, with file:// prepended to it, will be used. DOC_URL = # The DOC_ABSPATH tag should be the absolute path to the directory where the # documentation is located. If left blank the directory on the local machine # will be used. DOC_ABSPATH = # The BIN_ABSPATH tag must point to the directory where the doxysearch binary # is installed. BIN_ABSPATH = /usr/bin/ # The EXT_DOC_PATHS tag can be used to specify one or more paths to # documentation generated for other projects. This allows doxysearch to search # the documentation for these projects as well. EXT_DOC_PATHS = mailfilter-0.8.2/COPYING0000644000175000017500000010451311212607132011624 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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 3 of the License, 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . mailfilter-0.8.2/Makefile.am0000644000175000017500000000534011134562512012630 00000000000000# Makefile.am: help build sources on mulitiple architectures # $Id: Makefile.am,v 1.20.2.3.2.8 2007/01/01 13:38:40 baueran Exp $ # Copyright (c) 2000 - 2009 Andreas Bauer # # 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. AUTOMAKE_OPTIONS = dist-shar dist-zip dist-tarZ SUBDIRS = doc man src contrib EXTRA_DIST = ylwrap # EXTRA_DIST = config.rpath mkinstalldirs ABOUT-NLS ylwrap ACLOCAL_AMFLAGS = -I # build a distribution snapshot # TODO: # add a snap documentation target # check to see if there is already a previous snapshot there, # and don't overwrite it! @MAINT@snapshot: README-snapshot maintainer-clean @MAINT@ @a=`date -R` ;\ @MAINT@ echo "Last built on $$a" >> README-snapshot @MAINT@ @d=`pwd` ;\ @MAINT@ d=`basename $$d` ;\ @MAINT@ echo $$d ;\ @MAINT@ cd .. ;\ @MAINT@ tar -cvzf $$d-`date +%m%d%y`.tar.gz $$d ;\ @MAINT@ mv $$d-`date +%m%d%y`.tar.gz $$d/ ;\ @MAINT@ cd $$d @MAINT@doxygen: @MAINT@ cd $(top_srcdir)/doc ;\ @MAINT@ ${MAKE} doxygen @MAINT@alldist: man doxygen @MAINT@ ${MAKE} distcheck @MAINT@ ${MAKE} dist-shar @MAINT@ ${MAKE} dist-zip @MAINT@ ${MAKE} dist-tarZ @MAINT@cvsclean: maintainer-clean @MAINT@ @-rm -f `find . -name Makefile.in` @MAINT@ @-rm -f configure aclocal.m4 config.h.in stamp-h.in depcomp ylwrap @MAINT@ @-rm -f config.guess config.sub config.cache config.log config.status @MAINT@ @-rm -f mkinstalldirs missing install-sh COPYING @MAINT@ @-rm -fr @PACKAGE@-@VERSION@* *~ */*~ @MAINT@ @-rm -fr $(top_srcdir)/doc/api @MAINT@ @-rm -fr $(top_srcdir)/intl @MAINT@ @-rm -fr $(top_srcdir)/src/y.* @MAINT@ @-rm -fr $(top_srcdir)/src/rcfile.c* @MAINT@ @-rm -fr $(top_srcdir)/src/lex.* @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822.cc @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822scanner.* @MAINT@ @-rm -fr $(top_srcdir)/src/rfc822parser.* @MAINT@ @-rm -fr $(top_srcdir)/src/rcparser.* @MAINT@ @-rm -fr $(top_srcdir)/src/yy.tab.* @MAINT@ @-rm -fr $(top_srcdir)/src/lex.* @MAINT@ @echo "=================================================" @MAINT@ @echo "Don't forget your ChangeLog and NEWS entries ...." @MAINT@ @echo "=================================================" mailfilter-0.8.2/AUTHORS0000644000175000017500000000175210554745027011660 00000000000000Mailfilter AUTHORS -=-=-=-=-=-=-=-=-= Andreas Bauer (Project Leader, Developer, German translation) Ron Day (Maintainer of Mailfilter package for Slackware Linux) Etienne Herlent (French translation, Maintainer of Mailfilter package for Mac OS X) Joerg Jaspert (Maintainer of Mailfilter package for Debian Linux) Ilgiz Kalmetev (Russian translation) Dimitris Kamenopoulos (Greek Translation) Frederic L. W. Meunier <0@pervalidus.net> (Portuguese translation) Matteo Merli (Italian translation) Bob Paddock (Maintainer of Mailfilter package for MS-Windows) Mike Polniak (Maintainer of Mailfilter package for Gentoo Linux) Carlos Valdivia Yage (Spanish translation) mailfilter-0.8.2/aclocal.m40000644000175000017500000010136411212607122012431 00000000000000# generated automatically by aclocal 1.10.2 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.10.2], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 4 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [# Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 13 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR mailfilter-0.8.2/README0000644000175000017500000000247510672707004011465 00000000000000Mailfilter README -=-=-=-=-=-=-=-=- Mailfilter is a flexible utility for Unix-like operating systems to get rid of unwanted spam mails, before having to go through the trouble of downloading them into the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc. Mailfilter connects to any POP mail box and compares part of its content to a set of user defined filter rules. That way the spam gets deleted directly on the mail server. With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are regular expressions, so you can make use of familiar options from other mail delivery programs such as e.g. procmail. Mailfilter is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. For more information, see the COPYING file provided with the Mailfilter program. The latest version of Mailfilter can be obtained from this web page: http://mailfilter.sourceforge.net/ For installation instructions please refer to the INSTALL document and read the platform specific information and the FAQ in the doc/ directory. Further information can be found in the mailfilter(1) man page. Enjoy Mailfilter!