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
1 Jakob Kaivo <jkaivo@ndn.net> 1 Jakob Kaivo <jkaivo@ndn.net>
2 Jeff Bailey <jbailey@gnu.org>
3
......
1 1999-10-03 Jeff Bailey <jbailey@cr499794-a.crdva1.bc.wave.home.com>
2
3 * mail/Makefile.am: Add -Wall to compile line.
4
5 * libmailbox/Makefile.am: Add -Wall to compile line.
6
7 * libmailbox/mailbox.c: Warning cleanup, second parameter of lock
8 should be unsigned int, not int.
9
10 * libmailbox/mailbox.h: ""
11
12 * libmailbox/unixmbox.h: ""
13
14 * libmailbox/unixmbox.c: ""
15
16 * AUTHORS: Include my name. =)
17
18 * README: Rewrite for public consumption
19
20 * README-alpha: New file, add mailing list address, CVS information.
21
22 * libmailbox/unixmbox.c: Include config.h if defined
23
24 * libmailbox/mailbox.c: Include config.h if defined
25
26 * mail/mail.c: Include config.h if defined, update copyright.
27
28
1 Fri Oct 1 01:00:00 1999 Sean 'Shaleh' Perry <shaleh@debian.org> 29 Fri Oct 1 01:00:00 1999 Sean 'Shaleh' Perry <shaleh@debian.org>
2 30
3 * added an examples directory and the first example, from.c 31 * added an examples directory and the first example, from.c
......
1 This is the GNU mailutils package. 1 This is the GNU mailutils package
2 =================================
2 3
3 This is a *pre-release* version, and not ready for production use yet. If you
4 are taking source from CVS, you will need to have libtool, automake, and autoconf
5 installed to help contribute. See the file 'INSTALL' for (generic) installation
6 instructions.
...\ No newline at end of file ...\ No newline at end of file
4 This package contains a POP3 server and a simple replacement for `/bin/mail'.
5 An IMAP4 server is being worked on. These applications are tied around a
6 central library that handles all mailbox activity called libmailbox, which is
7 GPLd (See COPYING). If you want to use this in your own programs, see the
8 examples subdirectory.
9
10 This software is part of the GNU project and belongs to the Free Software
11 Foundation.
12
13 Why use this package?
14 =====================
15
16 Most POP3 servers load the entire email box into RAM and deal with it
17 there. This server, instead, creates an index in RAM of all of the messages
18 in the mailbox, allowing for quick access. You can expect this server
19 to use approx 750kb base code (on IA32) + 32 bytes per message indexed.
20
21 How to install
22 ==============
23
24 Please see the INSTALL file in this directory.
25
26 Where to report BUGS
27 ====================
28
29 Please report any bugs to <bug-mailutils@gnu.org>. We encourage sysadmins
30 who will be using this package to subscribe to this list by sending an email
31 to <bug-mailutils-request@gnu.org> with the word `subscribe' in the body of
32 the message.
......
1 # Use automake to process this file -*-Makefile-*- 1 # Use automake to process this file -*-Makefile-*-
2 2
3 CPPFLAGS = -Wall
4
3 if INSTALL_MAILBOX 5 if INSTALL_MAILBOX
4 include_HEADERS = mailbox.h 6 include_HEADERS = mailbox.h
5 lib_LTLIBRARIES = libmailbox.la 7 lib_LTLIBRARIES = libmailbox.la
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17 17
18 #ifdef HAVE_CONFIG_H
19 #include <config.h>
20 #endif
21
18 #include "mailbox.h" 22 #include "mailbox.h"
19 #include "unixmbox.h" 23 #include "unixmbox.h"
20 24
......
...@@ -58,7 +58,7 @@ typedef struct _mailbox ...@@ -58,7 +58,7 @@ typedef struct _mailbox
58 int (*_expunge) __P ((struct _mailbox *)); 58 int (*_expunge) __P ((struct _mailbox *));
59 int (*_add_message) __P ((struct _mailbox *, char *)); 59 int (*_add_message) __P ((struct _mailbox *, char *));
60 int (*_is_deleted) __P ((struct _mailbox *, unsigned int)); 60 int (*_is_deleted) __P ((struct _mailbox *, unsigned int));
61 int (*_lock) __P((struct _mailbox *, int)); 61 int (*_lock) __P((struct _mailbox *, unsigned int));
62 char *(*_get_body) __P ((struct _mailbox *, unsigned int)); 62 char *(*_get_body) __P ((struct _mailbox *, unsigned int));
63 char *(*_get_header) __P ((struct _mailbox *, unsigned int)); 63 char *(*_get_header) __P ((struct _mailbox *, unsigned int));
64 } 64 }
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17 17
18 #ifdef HAVE_CONFIG_H
19 #include <config.h>
20 #endif
21
18 #include "unixmbox.h" 22 #include "unixmbox.h"
19 23
20 /* 24 /*
...@@ -357,7 +361,7 @@ unixmbox_get_header (mailbox * mbox, unsigned int num) ...@@ -357,7 +361,7 @@ unixmbox_get_header (mailbox * mbox, unsigned int num)
357 * Get locking code from Procmail and/or Exim 361 * Get locking code from Procmail and/or Exim
358 */ 362 */
359 int 363 int
360 unixmbox_lock (mailbox *mbox, int mode) 364 unixmbox_lock (mailbox *mbox, unsigned int mode)
361 { 365 {
362 unixmbox_data *data = mbox->_data; 366 unixmbox_data *data = mbox->_data;
363 data->lockmode = mode; 367 data->lockmode = mode;
......
...@@ -65,7 +65,7 @@ int unixmbox_delete (mailbox *mbox, unsigned int num); ...@@ -65,7 +65,7 @@ int unixmbox_delete (mailbox *mbox, unsigned int num);
65 int unixmbox_undelete (mailbox *mbox, unsigned int num); 65 int unixmbox_undelete (mailbox *mbox, unsigned int num);
66 int unixmbox_expunge (mailbox *mbox); 66 int unixmbox_expunge (mailbox *mbox);
67 int unixmbox_is_deleted (mailbox *mbox, unsigned int num); 67 int unixmbox_is_deleted (mailbox *mbox, unsigned int num);
68 int unixmbox_lock (mailbox *mbox, int mode); 68 int unixmbox_lock (mailbox *mbox, unsigned int mode);
69 int unixmbox_add_message (mailbox *mbox, char *message); 69 int unixmbox_add_message (mailbox *mbox, char *message);
70 char *unixmbox_get_body (mailbox *mbox, unsigned int num); 70 char *unixmbox_get_body (mailbox *mbox, unsigned int num);
71 char *unixmbox_get_header (mailbox *mbox, unsigned int num); 71 char *unixmbox_get_header (mailbox *mbox, unsigned int num);
......
1 CPPFLAGS = -I$(top_srcdir)/libmailbox 1 CPPFLAGS = -I$(top_srcdir)/libmailbox -Wall
2 2
3 bin_PROGRAMS = mail 3 bin_PROGRAMS = mail
4 4
......
1 /* copyright and license info go here */ 1 /* GNU mailutils - a suite of utilities for electronic mail
2 Copyright (C) 1999 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17
18 #ifdef HAVE_CONFIG_H
19 #include <config.h>
20 #endif
2 21
3 #include <mailbox.h> 22 #include <mailbox.h>
4 #include <stdio.h> 23 #include <stdio.h>
......