Commit dddb3013 dddb3013ed5cd64b28bdee2ddef38532c736f980 by Jeff Bailey

1999-10-03 Jeff Bailey <jbailey@cr499794-a.crdva1.bc.wave.home.com>

	* mail/Makefile.am: Add -Wall to compile line.

	* libmailbox/Makefile.am: Add -Wall to compile line.

	* libmailbox/mailbox.c: Warning cleanup, second parameter of lock
	should be unsigned int, not int.

	* libmailbox/mailbox.h: ""

	* libmailbox/unixmbox.h: ""

	* libmailbox/unixmbox.c: ""

	* AUTHORS: Include my name. =)

	* README: Rewrite for public consumption

	* README-alpha: New file, add mailing list address, CVS information.

	* libmailbox/unixmbox.c: Include config.h if defined

	* libmailbox/mailbox.c: Include config.h if defined

	* mail/mail.c: Include config.h if defined, update copyright.
1 parent d829859e
Jakob Kaivo <jkaivo@ndn.net>
Jeff Bailey <jbailey@gnu.org>
......
1999-10-03 Jeff Bailey <jbailey@cr499794-a.crdva1.bc.wave.home.com>
* mail/Makefile.am: Add -Wall to compile line.
* libmailbox/Makefile.am: Add -Wall to compile line.
* libmailbox/mailbox.c: Warning cleanup, second parameter of lock
should be unsigned int, not int.
* libmailbox/mailbox.h: ""
* libmailbox/unixmbox.h: ""
* libmailbox/unixmbox.c: ""
* AUTHORS: Include my name. =)
* README: Rewrite for public consumption
* README-alpha: New file, add mailing list address, CVS information.
* libmailbox/unixmbox.c: Include config.h if defined
* libmailbox/mailbox.c: Include config.h if defined
* mail/mail.c: Include config.h if defined, update copyright.
Fri Oct 1 01:00:00 1999 Sean 'Shaleh' Perry <shaleh@debian.org>
* added an examples directory and the first example, from.c
......
This is the GNU mailutils package.
This is the GNU mailutils package
=================================
This is a *pre-release* version, and not ready for production use yet. If you
are taking source from CVS, you will need to have libtool, automake, and autoconf
installed to help contribute. See the file 'INSTALL' for (generic) installation
instructions.
\ No newline at end of file
This package contains a POP3 server and a simple replacement for `/bin/mail'.
An IMAP4 server is being worked on. These applications are tied around a
central library that handles all mailbox activity called libmailbox, which is
GPLd (See COPYING). If you want to use this in your own programs, see the
examples subdirectory.
This software is part of the GNU project and belongs to the Free Software
Foundation.
Why use this package?
=====================
Most POP3 servers load the entire email box into RAM and deal with it
there. This server, instead, creates an index in RAM of all of the messages
in the mailbox, allowing for quick access. You can expect this server
to use approx 750kb base code (on IA32) + 32 bytes per message indexed.
How to install
==============
Please see the INSTALL file in this directory.
Where to report BUGS
====================
Please report any bugs to <bug-mailutils@gnu.org>. We encourage sysadmins
who will be using this package to subscribe to this list by sending an email
to <bug-mailutils-request@gnu.org> with the word `subscribe' in the body of
the message.
......
# Use automake to process this file -*-Makefile-*-
CPPFLAGS = -Wall
if INSTALL_MAILBOX
include_HEADERS = mailbox.h
lib_LTLIBRARIES = libmailbox.la
......
......@@ -15,6 +15,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mailbox.h"
#include "unixmbox.h"
......
......@@ -58,7 +58,7 @@ typedef struct _mailbox
int (*_expunge) __P ((struct _mailbox *));
int (*_add_message) __P ((struct _mailbox *, char *));
int (*_is_deleted) __P ((struct _mailbox *, unsigned int));
int (*_lock) __P((struct _mailbox *, int));
int (*_lock) __P((struct _mailbox *, unsigned int));
char *(*_get_body) __P ((struct _mailbox *, unsigned int));
char *(*_get_header) __P ((struct _mailbox *, unsigned int));
}
......
......@@ -15,6 +15,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "unixmbox.h"
/*
......@@ -357,7 +361,7 @@ unixmbox_get_header (mailbox * mbox, unsigned int num)
* Get locking code from Procmail and/or Exim
*/
int
unixmbox_lock (mailbox *mbox, int mode)
unixmbox_lock (mailbox *mbox, unsigned int mode)
{
unixmbox_data *data = mbox->_data;
data->lockmode = mode;
......
......@@ -65,7 +65,7 @@ int unixmbox_delete (mailbox *mbox, unsigned int num);
int unixmbox_undelete (mailbox *mbox, unsigned int num);
int unixmbox_expunge (mailbox *mbox);
int unixmbox_is_deleted (mailbox *mbox, unsigned int num);
int unixmbox_lock (mailbox *mbox, int mode);
int unixmbox_lock (mailbox *mbox, unsigned int mode);
int unixmbox_add_message (mailbox *mbox, char *message);
char *unixmbox_get_body (mailbox *mbox, unsigned int num);
char *unixmbox_get_header (mailbox *mbox, unsigned int num);
......
CPPFLAGS = -I$(top_srcdir)/libmailbox
CPPFLAGS = -I$(top_srcdir)/libmailbox -Wall
bin_PROGRAMS = mail
......
/* copyright and license info go here */
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <mailbox.h>
#include <stdio.h>
......