summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bf4e14a)
The old-style `int foo()' still lived on in a few places.
* Enable Email Address Internationalization, which requires
* support of 8-bit addresses.
*/
* Enable Email Address Internationalization, which requires
* support of 8-bit addresses.
*/
/*
* Parse an address header, and return a sequence of email addresses.
/*
* Parse an address header, and return a sequence of email addresses.
* Free memory allocated by new_fs(). It allocates to a static so
* no argument is necessary.
*/
* Free memory allocated by new_fs(). It allocates to a static so
* no argument is necessary.
*/
/*
* Compile a format string into a set of format instructions. Arguments are:
/*
* Compile a format string into a set of format instructions. Arguments are:
char *m_mktemp(const char *, int *, FILE **);
char *m_mktemp2(const char *, const char *, int *, FILE **);
char *m_mktemps(const char *pfx, const char *suffix, int *, FILE **);
char *m_mktemp(const char *, int *, FILE **);
char *m_mktemp2(const char *, const char *, int *, FILE **);
char *m_mktemps(const char *pfx, const char *suffix, int *, FILE **);
+char *get_temp_dir(void);
/*
* Create a subprocess and redirect our standard output to it.
/*
* Create a subprocess and redirect our standard output to it.
int remdir (char *);
void scan_detect_mbox_style (FILE *);
int remdir (char *);
void scan_detect_mbox_style (FILE *);
+void scan_finished(void);
void scan_reset_m_getfld_state ();
int seq_addmsg (struct msgs *, char *, int, int, int);
int seq_addsel (struct msgs *, char *, int, int);
void scan_reset_m_getfld_state ();
int seq_addmsg (struct msgs *, char *, int, int, int);
int seq_addsel (struct msgs *, char *, int, int);
/*
* credentials management
*/
/*
* credentials management
*/
-void init_credentials_file ();
+void init_credentials_file(void);
/*
* Allocate and return a credentials structure. The credentials structure
/*
* Allocate and return a credentials structure. The credentials structure
-init_credentials_file () {
+init_credentials_file(void) {
if (credentials_file == NULL) {
char *cred_style = context_find ("credentials");
if (credentials_file == NULL) {
char *cred_style = context_find ("credentials");
free (formats);
formats = 0;
}
free (formats);
formats = 0;
}
{
/* Ignore envvars if we are setuid */
if ((getuid()==geteuid()) && (getgid()==getegid())) {
{
/* Ignore envvars if we are setuid */
if ((getuid()==geteuid()) && (getgid()==getegid())) {
/* The following two functions allow access to the global gstate above. */
void
/* The following two functions allow access to the global gstate above. */
void
m_getfld_state_destroy (&gstate);
}
m_getfld_state_destroy (&gstate);
}