/* remote host account manipulation (POP/IMAP) */
-#ifndef _MUTT_ACCOUNT_H_
-#define _MUTT_ACCOUNT_H_ 1
+#ifndef _MUTT_ACCOUNT_H
+#define _MUTT_ACCOUNT_H 1
#include "url.h"
int mutt_account_getpass (ACCOUNT* account);
void mutt_account_unsetpass (ACCOUNT* account);
-#endif /* _MUTT_ACCOUNT_H_ */
+#endif /* _MUTT_ACCOUNT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
/*
* Versions of the string comparison functions which are
* locale-insensitive.
*/
-#ifndef _ASCII_H
-# define _ASCII_H
+#ifndef _MUTT_ASCII_H
+#define _MUTT_ASCII_H 1
#include <ctype.h>
return s;
}
-#endif
+#endif /* _MUTT_ASCII_H */
/* common protos for compose / attach menus */
-#ifndef _ATTACH_H_
-#define _ATTACH_H_ 1
+#ifndef _MUTT_ATTACH_H
+#define _MUTT_ATTACH_H 1
#include "mutt_menu.h"
BODY *cur, int flags);
void mutt_attach_reply(FILE *fp, HEADER *hdr, ATTACHPTR **idx, short idxlen,
BODY *cur, int flags);
-#endif /* _ATTACH_H_ */
+
+#endif /* _MUTT_ATTACH_H */
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _BCACHE_H_
-#define _BCACHE_H_ 1
+
+#ifndef _MUTT_BCACHE_H
+#define _MUTT_BCACHE_H 1
#include "account.h"
int (*want_id)(const char *id, body_cache_t *bcache,
void *data), void *data);
-#endif /* _BCACHE_H_ */
+#endif /* _MUTT_BCACHE_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _BROWSER_H
-#define _BROWSER_H 1
+#ifndef _MUTT_BROWSER_H
+#define _MUTT_BROWSER_H 1
#ifdef USE_NNTP
#include "nntp.h"
unsigned unmarked : 1;
#endif
};
-#endif /* _BROWSER_H */
+
+#endif /* _MUTT_BROWSER_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef BUFFER_INCLUDED
-#define BUFFER_INCLUDED
+#ifndef _MUTT_BUFFER_H
+#define _MUTT_BUFFER_H 1
#include <sys/types.h>
void mutt_buffer_addch(BUFFER *buf, char c);
int mutt_extract_token(BUFFER *dest, BUFFER *tok, int flags);
-#endif
-
+#endif /* _MUTT_BUFFER_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _BUFFY_H
-#define _BUFFY_H
+#ifndef _MUTT_BUFFY_H
+#define _MUTT_BUFFY_H 1
/*parameter to mutt_parse_mailboxes*/
#define MUTT_MAILBOXES 1
int mh_buffy (BUFFY *mailbox, int check_stats);
-#endif /* _BUFFY_H */
+#endif /* _MUTT_BUFFY_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _CHARSET_H
-#define _CHARSET_H
+#ifndef _MUTT_CHARSET_H
+#define _MUTT_CHARSET_H 1
#include <iconv.h>
*/
int mutt_check_charset (const char *s, int strict);
-#endif /* _CHARSET_H */
+#endif /* _MUTT_CHARSET_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _COMPRESS_H_
-#define _COMPRESS_H_
+#ifndef _MUTT_COMPRESS_H
+#define _MUTT_COMPRESS_H 1
int mutt_comp_can_append (CONTEXT *ctx);
int mutt_comp_can_read (const char *path);
extern struct mx_ops mx_comp_ops;
-#endif /* _COMPRESS_H_ */
+#endif /* _MUTT_COMPRESS_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_COPY_H
+#define _MUTT_COPY_H 1
+
/* flags to _mutt_copy_message */
#define MUTT_CM_NOHEADER 1 /* don't copy the message header */
#define MUTT_CM_PREFIX (1<<1) /* quote the message */
int mutt_copy_message(FILE *fpout, CONTEXT *src, HEADER *hdr, int flags, int chflags);
int mutt_append_message(CONTEXT *dest, CONTEXT *src, HEADER *hdr, int cmflags, int chflags);
+
+#endif /* _MUTT_COPY_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CRYPT_GPGME_H
-#define CRYPT_GPGME_H
+#ifndef _MUTT_CRYPT_GPGME_H
+#define _MUTT_CRYPT_GPGME_H 1
#include "mutt_crypt.h"
void mutt_gpgme_set_sender (const char *sender);
-#endif
+#endif /* _MUTT_CRYPT_GPGME_H */
#include "config.h"
-#ifdef CRYPT_BACKEND_GPGME
-
#include "crypt-mod.h"
#include "crypt-gpgme.h"
}
};
-#endif
#include "config.h"
-#ifdef CRYPT_BACKEND_GPGME
-
#include "crypt-mod.h"
#include "crypt-gpgme.h"
}
};
-#endif
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CRYPTOGRAPHY_H
-#define CRYPTOGRAPHY_H
+#ifndef _MUTT_CRYPT_MOD_H
+#define _MUTT_CRYPT_MOD_H 1
#include "mutt.h"
#include "mutt_crypt.h"
#define CRYPT_MOD_CALL(identifier, func) \
*(crypto_module_lookup (APPLICATION_ ## identifier))->functions.func
-#endif
+#endif /* _MUTT_CRYPT_MOD_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _CRYPTHASH_H
-# define _CRYPTHASH_H
+#ifndef _MUTT_CRYPTHASH_H
+#define _MUTT_CRYPTHASH_H 1
# include <sys/types.h>
/* POINTER defines a generic pointer type */
typedef unsigned char *POINTER;
-#endif
+#endif /* _MUTT_CRYPTHASH_H */
/* build complete documentation */
+#ifndef _MUTT_MAKEDOC_DEFS_H
+#define _MUTT_MAKEDOC_DEFS_H 1
+
#ifdef MAKEDOC_FULL
# ifndef CRYPT_BACKEND_GPGME
# define CRYPT_BACKEND_GPGME
# define USE_LUA
# endif
#endif
+
+#endif /* _MUTT_MAKEDOC_DEFS_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _DOTLOCK_H
-#define _DOTLOCK_H
+#ifndef _MUTT_DOTLOCK_H
+#define _MUTT_DOTLOCK_H 1
/* exit values */
int dotlock_invoke (const char *, int, int, int);
#endif
-#endif
+#endif /* _MUTT_DOTLOCK_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef FILTER_INCLUDED
-#define FILTER_INCLUDED
+#ifndef _MUTT_FILTER_H
+#define _MUTT_FILTER_H 1
#include <unistd.h>
#include <stdio.h>
pid_t mutt_create_filter(const char *s, FILE **in, FILE **out, FILE **err);
int mutt_wait_filter(pid_t pid);
-#endif
-
+#endif /* _MUTT_FILTER_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_FUNCTIONS_H
+#define _MUTT_FUNCTIONS_H 1
+
/*
* This file contains the structures needed to parse ``bind'' commands, as
* well as the default bindings for each menu.
};
#endif /* MIXMASTER */
// clang-format on
+
+#endif /* _MUTT_FUNCTIONS_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_GLOBALS_H
+#define _MUTT_GLOBALS_H 1
+
WHERE void (*mutt_error) (const char *, ...);
WHERE void (*mutt_message) (const char *, ...);
#include "mutt_crypt.h"
#include "git-ver.h"
#endif /* MAIN_C */
+
+#endif /* _MUTT_GLOBALS_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_GROUP_H_
-#define _MUTT_GROUP_H_ 1
+#ifndef _MUTT_GROUP_H
+#define _MUTT_GROUP_H 1
#define MUTT_GROUP 0
#define MUTT_UNGROUP 1
int mutt_group_context_remove_rx(group_context_t *ctx, const char *s);
int mutt_group_context_remove_adrlist(group_context_t *ctx, ADDRESS *a);
-#endif /* _MUTT_GROUP_H_ */
+#endif /* _MUTT_GROUP_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _HASH_H
-#define _HASH_H
+#ifndef _MUTT_HASH_H
+#define _MUTT_HASH_H 1
union hash_key
{
struct hash_elem *hash_walk(const HASH *table, struct hash_walk_state *state);
-#endif
+#endif /* _MUTT_HASH_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _HCACHE_BACKEND_H_
-#define _HCACHE_BACKEND_H_
+#ifndef _MUTT_HCACHE_BACKEND_H
+#define _MUTT_HCACHE_BACKEND_H 1
#include <stdlib.h> /* for size_t */
.backend = hcache_##_name##_backend \
};
-#endif /* _HCACHE_BACKEND_H_ */
+#endif /* _MUTT_HCACHE_BACKEND_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _HCACHE_H_
-#define _HCACHE_H_ 1
+#ifndef _MUTT_HCACHE_H
+#define _MUTT_HCACHE_H 1
#include "mutt.h"
mutt_hcache_is_valid_backend(const char *s);
-#endif /* _HCACHE_H_ */
+#endif /* _MUTT_HCACHE_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _HISTORY_H
-#define _HISTORY_H
+#ifndef _MUTT_HISTORY_H
+#define _MUTT_HISTORY_H 1
enum history_class
{
int mutt_history_at_scratch(history_class_t hclass);
void mutt_history_save_scratch(history_class_t hclass, const char *s);
-#endif
+#endif /* _MUTT_HISTORY_H */
/* common defs for authenticators. A good place to set up a generic callback
* system */
-#ifndef _IMAP_AUTH_H
-#define _IMAP_AUTH_H 1
+#ifndef _MUTT_IMAP_AUTH_H
+#define _MUTT_IMAP_AUTH_H 1
typedef enum
{
imap_auth_res_t imap_auth_sasl (IMAP_DATA* idata, const char* method);
#endif
-#endif /* _IMAP_AUTH_H */
+#endif /* _MUTT_IMAP_AUTH_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _IMAP_H
-#define _IMAP_H 1
+#ifndef _MUTT_IMAP_H
+#define _MUTT_IMAP_H 1
#include "account.h"
#include "browser.h"
void imap_get_parent_path (char *output, const char *path, size_t olen);
void imap_clean_path (char *path, size_t plen);
-#endif
+#endif /* _MUTT_IMAP_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _IMAP_PRIVATE_H
-#define _IMAP_PRIVATE_H 1
+#ifndef _MUTT_IMAP_PRIVATE_H
+#define _MUTT_IMAP_PRIVATE_H 1
#include "account.h"
#include "imap.h"
#define imap_hcache_keylen mutt_strlen
#endif /* USE_HCACHE */
-#endif
+#endif /* _MUTT_IMAP_PRIVATE_H */
/* message.c data structures */
-#ifndef MESSAGE_H
-#define MESSAGE_H 1
+#ifndef _MUTT_IMAP_MESSAGE_H
+#define _MUTT_IMAP_MESSAGE_H 1
/* -- data structures -- */
/* IMAP-specific header data, stored as HEADER->data */
/* -- macros -- */
#define HEADER_DATA(ph) ((IMAP_HEADER_DATA*) ((ph)->data))
-#endif /* MESSAGE_H */
+#endif /* _MUTT_IMAP_MESSAGE_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_INIT_H
+#define _MUTT_INIT_H 1
+
#ifdef _MAKEDOC
# include "config.h"
# include "doc/makedoc-defs.h"
{ "unsubscribe", parse_unsubscribe, 0 },
{ NULL, NULL, 0 }
};
+
+#endif /* _MUTT_INIT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef KEYMAP_H
-#define KEYMAP_H
+#ifndef _MUTT_KEYMAP_H
+#define _MUTT_KEYMAP_H 1
#include "mapping.h"
#include "keymap_defs.h"
-#endif /* KEYMAP_H */
+#endif /* _MUTT_KEYMAP_H */
/* mutt functions which are generally useful. */
-#ifndef _LIB_H
-# define _LIB_H
+#ifndef _MUTT_LIB_H
+#define _MUTT_LIB_H 1
# include <stdio.h>
# include <string.h>
int mutt_inbox_cmp (const char *a, const char *b);
const char *mutt_strsysexit(int e);
-#endif
+
+#endif /* _MUTT_LIB_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MAILBOX_H
-#define _MAILBOX_H
+#ifndef _MUTT_MAILBOX_H
+#define _MUTT_MAILBOX_H 1
/* flags for mutt_open_mailbox() */
#define MUTT_NOSORT (1<<0) /* do not sort the mailbox after opening it */
int mx_is_maildir(const char *path);
int mx_is_mh(const char *path);
-#endif
+#endif /* _MUTT_MAILBOX_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MAPPING_H
-#define MAPPING_H
+#ifndef _MUTT_MAPPING_H
+#define _MUTT_MAPPING_H 1
struct mapping_t
{
int mutt_getvaluebyname(const char *name, const struct mapping_t *map);
-#endif
+#endif /* _MUTT_MAPPING_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MBYTE_H
-# define _MBYTE_H
+#ifndef _MUTT_MBYTE_H
+#define _MUTT_MBYTE_H 1
# ifdef HAVE_WC_FUNCS
# ifdef HAVE_WCHAR_H
wchar_t replacement_char(void);
int is_display_corrupting_utf8(wchar_t wc);
-#endif /* _MBYTE_H */
+#endif /* _MUTT_MBYTE_H */
* Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.
*/
-#ifndef _MD5_H
-#define _MD5_H 1
+#ifndef _MUTT_MD5_H
+#define _MUTT_MD5_H 1
#include <stdio.h>
extern void *__md5_buffer (const char *buffer, size_t len,
void *resblock) __THROW;
-#endif /* md5.h */
+#endif /* _MUTT_MD5_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_MIME_H
+#define _MUTT_MIME_H 1
+
/* Content-Type */
enum
{
#ifndef _SENDLIB_C
extern char MimeSpecials[];
#endif
+
+#endif /* _MUTT_MIME_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MUTT_H
-#define MUTT_H
+#ifndef _MUTT_H
+#define _MUTT_H 1
#include <stdio.h>
#include <stdlib.h>
#include "lib.h"
#include "globals.h"
-#endif /*MUTT_H*/
-
-
-
-
+#endif /* _MUTT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MUTT_COMMANDS_H
-#define MUTT_COMMANDS_H
+#ifndef _MUTT_COMMANDS_H
+#define _MUTT_COMMANDS_H 1
#include "mutt.h"
const struct command_t *mutt_command_get(const char *s);
void mutt_commands_apply(void *data, void (*application)(void *, const struct command_t *));
-#endif
+#endif /* _MUTT_COMMANDS_H */
all defined in crypt.c and cryptglue.c
*/
-#ifndef MUTT_CRYPT_H
-#define MUTT_CRYPT_H
+#ifndef _MUTT_CRYPT_H
+#define _MUTT_CRYPT_H 1
#include "mutt.h" /* Need this to declare BODY, ADDRESS. STATE etc. */
/* FIXME: They should be pointer to anonymous structures for better
void crypt_init (void);
-#endif /*MUTT_CRYPT_H*/
+#endif /* _MUTT_CRYPT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_CURSES_H_
-#define _MUTT_CURSES_H_ 1
+#ifndef _MUTT_CURSES_H
+#define _MUTT_CURSES_H 1
#ifdef USE_SLANG_CURSES
#define MAYBE_REDRAW(x) if (option (OPTNEEDREDRAW)) { unset_option (OPTNEEDREDRAW); x = REDRAW_FULL; }
-#endif /* _MUTT_CURSES_H_ */
+#endif /* _MUTT_CURSES_H */
*/
#ifndef _MUTT_IDNA_H
-# define _MUTT_IDNA_H
+#define _MUTT_IDNA_H 1
#include "rfc822.h"
#include "charset.h"
const char *mutt_addr_for_display (ADDRESS *a);
-#endif
+#endif /* _MUTT_IDNA_H */
*/
#ifndef _MUTT_LUA_H
-#define _MUTT_LUA_H
+#define _MUTT_LUA_H 1
#include "mutt.h"
* This file is named mutt_menu.h so it doesn't collide with ncurses menu.h
*/
-#ifndef _MUTT_MENU_H_
-#define _MUTT_MENU_H_ 1
+#ifndef _MUTT_MENU_H
+#define _MUTT_MENU_H 1
#include "keymap.h"
#include "mutt_regex.h"
int mutt_limit_current_thread (HEADER *h);
-#endif /* _MUTT_MENU_H_ */
+#endif /* _MUTT_MENU_H */
*/
#ifndef _MUTT_NOTMUCH_H
-#define _MUTT_NOTMUCH_H
+#define _MUTT_NOTMUCH_H 1
#include <stdbool.h>
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MUTT_OPTIONS_H
-#define MUTT_OPTIONS_H
+#ifndef _MUTT_OPTIONS_H
+#define _MUTT_OPTIONS_H 1
#include "mutt.h"
const struct option_t *mutt_option_get(const char *s);
int mutt_option_set(const struct option_t *val, BUFFER *err);
-#endif
+#endif /* _MUTT_OPTIONS_H */
* A (more) generic interface to regular expression matching
*/
-#ifndef MUTT_REGEX_H
-#define MUTT_REGEX_H
+#ifndef _MUTT_REGEX_H
+#define _MUTT_REGEX_H 1
#include <regex.h>
WHERE REGEXP Smileys;
WHERE REGEXP GecosMask;
-#endif /* MUTT_REGEX_H */
+#endif /* _MUTT_REGEX_H */
/* common SASL helper routines */
-#ifndef _MUTT_SASL_H_
-#define _MUTT_SASL_H_ 1
+#ifndef _MUTT_SASL_H
+#define _MUTT_SASL_H 1
#include <sasl/sasl.h>
}
SASL_DATA;
-#endif /* _MUTT_SASL_H_ */
+#endif /* _MUTT_SASL_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_SASL_PLAIN_H_
-#define _MUTT_SASL_PLAIN_H_
+#ifndef _MUTT_SASL_PLAIN_H
+#define _MUTT_SASL_PLAIN_H 1
#include <stdlib.h> /* for size_t */
size_t mutt_sasl_plain_msg(char *buf, size_t buflen, const char *cmd,
const char *authz, const char *user, const char *pass);
-#endif /* _MUTT_SASL_PLAIN_H_ */
+#endif /* _MUTT_SASL_PLAIN_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_SOCKET_H_
-#define _MUTT_SOCKET_H_ 1
+#ifndef _MUTT_SOCKET_H
+#define _MUTT_SOCKET_H 1
#include "account.h"
#include "lib.h"
int raw_socket_close(CONNECTION *conn);
int raw_socket_poll(CONNECTION *conn);
-#endif /* _MUTT_SOCKET_H_ */
+#endif /* _MUTT_SOCKET_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_SSL_H_
-#define _MUTT_SSL_H_ 1
+#ifndef _MUTT_SSL_H
+#define _MUTT_SSL_H 1
#include "mutt_socket.h"
int mutt_ssl_socket_setup (CONNECTION *conn);
#endif
-#endif /* _MUTT_SSL_H_ */
+#endif /* _MUTT_SSL_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_TUNNEL_H_
-#define _MUTT_TUNNEL_H_ 1
+#ifndef _MUTT_TUNNEL_H
+#define _MUTT_TUNNEL_H 1
#include "mutt_socket.h"
int mutt_tunnel_socket_setup(CONNECTION *conn);
-#endif /* _MUTT_TUNNEL_H_ */
+#endif /* _MUTT_TUNNEL_H */
* generic mailbox api. None of these functions should be called directly.
*/
-#ifndef _MX_H
-#define _MX_H
+#ifndef _MUTT_MX_H
+#define _MUTT_MX_H 1
#include "mailbox.h"
#include "buffy.h"
extern struct mx_ops mx_mh_ops;
extern struct mx_ops mx_mmdf_ops;
-#endif
+#endif /* _MUTT_MX_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MYVAR_INCLUDED
-#define MYVAR_INCLUDED
+#ifndef _MUTT_MYVAR_H
+#define _MUTT_MYVAR_H 1
#include <sys/types.h>
int var_to_string(int idx, char *val, size_t len);
int mutt_option_index(const char *s);
-#endif
-
+#endif /* _MUTT_MYVAR_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _NNTP_H_
-#define _NNTP_H_ 1
+#ifndef _MUTT_NNTP_H
+#define _MUTT_NNTP_H 1
#include "mutt_socket.h"
#include "mailbox.h"
extern struct mx_ops mx_nntp_ops;
-#endif /* _NNTP_H_ */
+#endif /* _MUTT_NNTP_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_PAGER_H
+#define _MUTT_PAGER_H 1
+
#include "attach.h"
/* dynamic internal flags */
int mutt_do_pager(const char *banner, const char *tempfile, int do_color, pager_t *info);
int mutt_pager(const char *banner, const char *fname, int flags, pager_t *extra);
void update_index(MUTTMENU *menu, CONTEXT *ctx, int check, int oldcount, int index_hint);
+
+#endif /* _MUTT_PAGER_H */
# include <sys/resource.h>
#endif
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
#include "mutt_crypt.h"
#include "mutt_menu.h"
return (msg->security);
}
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_PGP_H
+#define _MUTT_PGP_H 1
+
#ifdef CRYPT_BACKEND_CLASSIC_PGP
#include "mutt_crypt.h"
int pgp_send_menu(HEADER *msg, int *redraw);
#endif /* CRYPT_BACKEND_CLASSIC_PGP */
+
+#endif /* _MUTT_PGP_H */
#include <locale.h>
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
struct pgp_cache
{
char *what;
return NULL;
}
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_PGPLIB_H
+#define _MUTT_PGPLIB_H 1
+
#ifdef CRYPT_BACKEND_CLASSIC_PGP
#include "mutt_crypt.h"
}
#endif /* CRYPT_BACKEND_CLASSIC_PGP */
+
+#endif /* _MUTT_PGPLIB_H */
* by mutt proper and the PGP public key ring lister.
*/
-#ifndef _PGPPACKET_H
-# define _PGPPACKET_H
+#ifndef _MUTT_PGPPACKET_H
+#define _MUTT_PGPPACKET_H 1
enum packet_tags
{
unsigned char *pgp_read_packet(FILE *fp, size_t *len);
void pgp_release_packet(void);
-#endif
+#endif /* _MUTT_PGPPACKET_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _POP_H
-#define _POP_H 1
+#ifndef _MUTT_POP_H
+#define _MUTT_POP_H 1
#include "mailbox.h"
#include "mutt_socket.h"
extern struct mx_ops mx_pop_ops;
-#endif
+#endif /* _MUTT_POP_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_PROTOS_H
+#define _MUTT_PROTOS_H 1
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
char *strcasestr(const char *s1, const char *s2);
#endif
+#endif /* _MUTT_PROTOS_H */
#include <sys/file.h>
#include <fcntl.h>
-#ifdef MIXMASTER
-
struct coord
{
short r, c;
return i;
}
-
-#endif
-#ifndef _REMAILER_H
-#define _REMAILER_H
-
/**
* Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
*
* Mixmaster support for Mutt
*/
+#ifndef _MUTT_REMAILER_H
+#define _MUTT_REMAILER_H 1
+
#ifdef MIXMASTER
#define MIX_CAP_COMPRESS (1 << 0)
#endif /* MIXMASTER */
-#endif /* _REMAILER_H */
+#endif /* _MUTT_REMAILER_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _RFC1524_H
-#define _RFC1524_H
+#ifndef _MUTT_RFC1524_H
+#define _MUTT_RFC1524_H 1
typedef struct rfc1524_mailcap_entry {
char *command;
int rfc1524_mailcap_lookup(BODY *a, char *type, rfc1524_entry *entry, int opt);
int mutt_rename_file(char *oldfile, char *newfile);
-#endif /* _RFC1524_H */
+#endif /* _MUTT_RFC1524_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_RFC2047_H
+#define _MUTT_RFC2047_H 1
+
char *mutt_choose_charset(const char *fromcode, const char *charsets, char *u,
size_t ulen, char **d, size_t *dlen);
int convert_nonmime_string(char **ps);
void rfc2047_decode(char **pd);
void rfc2047_decode_adrlist(ADDRESS *a);
+
+#endif /* _MUTT_RFC2047_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_RFC2231_H
+#define _MUTT_RFC2231_H 1
+
void rfc2231_decode_parameters(PARAMETER **headp);
int rfc2231_encode_string(char **pd);
+
+#endif /* _MUTT_RFC2231_H */
/* This file was originally part of mutt-ng */
#ifndef _MUTT_RFC3676_H
-#define _MUTT_RFC3676_H
+#define _MUTT_RFC3676_H 1
#include "mutt.h"
/* this does the space-stuffing for RfC3676 style messages */
void rfc3676_space_stuff(HEADER *hdr);
-#endif /* !_MUTT_RFC3676_H */
+#endif /* _MUTT_RFC3676_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef rfc822_h
-#define rfc822_h
+#ifndef _MUTT_RFC822_H
+#define _MUTT_RFC822_H 1
#include "lib.h"
return safe_calloc (1, sizeof (ADDRESS));
}
-#endif /* rfc822_h */
+#endif /* _MUTT_RFC822_H */
* fit into mutt by Thomas Roessler <roessler@does-not-exist.org>.
*/
-#ifndef _SHA1_H
-# define _SHA1_H
+#ifndef _MUTT_SHA1_H
+#define _MUTT_SHA1_H 1
#include "crypthash.h"
# define SHA_DIGEST_LENGTH 20
-#endif
+#endif /* _MUTT_SHA1_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIDEBAR_H
-#define SIDEBAR_H
+#ifndef _MUTT_SIDEBAR_H
+#define _MUTT_SIDEBAR_H 1
#include "mutt.h"
#include "buffy.h"
void mutt_sb_set_open_buffy (void);
void mutt_sb_toggle_virtual (void);
-#endif /* SIDEBAR_H */
+#endif /* _MUTT_SIDEBAR_H */
# include <sys/resource.h>
#endif
-#ifdef CRYPT_BACKEND_CLASSIC_SMIME
-
#include "mutt_crypt.h"
struct smime_command_context {
return (msg->security);
}
-
-#endif /* CRYPT_BACKEND_CLASSIC_SMIME */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_SMIME_H
+#define _MUTT_SMIME_H 1
#ifdef CRYPT_BACKEND_CLASSIC_SMIME
#endif
-
+#endif /* _MUTT_SMIME_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _MUTT_SORT_H
+#define _MUTT_SORT_H 1
+
#define SORT_DATE 1 /* the date the mail was sent. */
#define SORT_SIZE 2
#define SORT_SUBJECT 3
#include "mapping.h"
extern const struct mapping_t SortMethods[];
+
+#endif /* _MUTT_SORT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _URL_H
-# define _URL_H
+#ifndef _MUTT_URL_H
+#define _MUTT_URL_H 1
#include "mutt.h"
int url_parse_mailto(ENVELOPE *e, char **body, const char *src);
int url_pct_decode(char *s);
-#endif
+#endif /* _MUTT_URL_H */
#include "config.h"
-#ifndef HAVE_WC_FUNCS
-
#include <sys/types.h>
#include <errno.h>
return -1;
}
-#endif /* !HAVE_WC_FUNCS */
#include <idn/stringprep.h>
#endif
#ifdef USE_SLANG_CURSES
-#include "slang.h"
+#include <slang.h>
#endif
#include "lib.h"
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _VERSION_H_
-#define _VERSION_H_
+#ifndef _MUTT_VERSION_H
+#define _MUTT_VERSION_H 1
void print_version (void);
void print_copyright (void);
int feature_enabled (const char *name);
-#endif /* _VERSION_H_ */
+#endif /* _MUTT_VERSION_H */
#include "config.h"
-#ifndef HAVE_WC_FUNCS
-
#include "mutt.h"
#include "mbyte.h"
(ucs >= 0x30000 && ucs <= 0x3fffd)));
}
-#endif /* !HAVE_WC_FUNCS */
-