Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
88524de8
...
88524de8fe5ebf28f21ec59ad7739a5bc15186e9
authored
2002-01-22 15:19:17 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added network-related includes.
1 parent
be1fcf2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
mail.local/mail.local.h
mail.local/mail.local.h
View file @
88524de
...
...
@@ -29,12 +29,20 @@
#include <stdarg.h>
#include <sys/stat.h>
#include <sysexits.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "getopt.h"
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifndef INADDR_LOOPBACK
# define INADDR_LOOPBAK 0x7f000001
#endif
#include <mailutils/mailbox.h>
#include <mailutils/message.h>
#include <mailutils/error.h>
...
...
@@ -52,15 +60,6 @@ extern int debug_level;
#define MQUOTA_EXCEEDED 1
#define MQUOTA_UNLIMITED 2
struct
mda_data
{
FILE
*
fp
;
char
*
progfile
;
char
*
progfile_pattern
;
char
**
argv
;
char
*
tempfile
;
};
extern
char
*
quotadbname
;
extern
int
exit_code
;
...
...
@@ -71,6 +70,17 @@ int mda (FILE *fp, char *username, mailbox_t mbox);
char
*
make_progfile_name
(
char
*
pattern
,
char
*
username
);
#ifdef WITH_GUILE
struct
mda_data
{
FILE
*
fp
;
char
*
progfile
;
char
*
progfile_pattern
;
char
**
argv
;
char
*
tempfile
;
};
int
prog_mda
(
struct
mda_data
*
data
);
extern
int
debug_guile
;
#endif
...
...
Please
register
or
sign in
to post a comment