From b8bff4f325ca95c3ba80e30e1e961fce6473d723 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Thu, 16 Nov 2017 00:54:03 +0000 Subject: [PATCH] rename lib to mutt --- .clang-format | 2 +- Makefile.am | 6 +++--- Makefile.autosetup | 12 ++++++------ addrbook.c | 2 +- alias.c | 3 +-- attach.c | 2 +- bcache.c | 2 +- body.c | 6 +++--- browser.c | 2 +- buffy.c | 2 +- charset.c | 2 +- color.c | 2 +- commands.c | 2 +- complete.c | 2 +- compose.c | 2 +- compress.c | 2 +- configure.ac | 2 +- conn/connection.h | 2 +- conn/getdomain.c | 6 +++--- conn/sasl.c | 8 ++++---- conn/sasl_plain.c | 4 ++-- conn/socket.c | 8 ++++---- conn/ssl.c | 10 +++++----- conn/ssl_gnutls.c | 12 ++++++------ conn/tunnel.c | 6 +++--- copy.c | 5 ++--- curs_lib.c | 2 +- curs_main.c | 2 +- edit.c | 2 +- editmsg.c | 5 ++--- enter.c | 4 ++-- enter_state.h | 2 +- envelope.c | 6 +++--- envelope.h | 2 +- flags.c | 2 +- from.c | 2 +- globals.h | 2 +- group.c | 2 +- handler.c | 2 +- hcache/Makefile.am | 10 +++++----- hcache/bdb.c | 2 +- hcache/gdbm.c | 2 +- hcache/hcache.c | 2 +- hcache/kc.c | 2 +- hcache/lmdb.c | 2 +- hcache/qdbm.c | 2 +- hcache/tc.c | 2 +- hdrline.c | 2 +- header.c | 5 ++--- header.h | 2 +- help.c | 2 +- history.c | 2 +- hook.c | 2 +- imap/auth.c | 2 +- imap/auth_anon.c | 2 +- imap/auth_cram.c | 2 +- imap/auth_gss.c | 2 +- imap/auth_login.c | 2 +- imap/auth_plain.c | 2 +- imap/auth_sasl.c | 2 +- imap/browse.c | 2 +- imap/command.c | 2 +- imap/imap.c | 2 +- imap/imap_private.h | 2 +- imap/message.c | 2 +- imap/message.h | 2 +- imap/utf7.c | 2 +- imap/util.c | 2 +- init.c | 2 +- keymap.c | 2 +- keymap.h | 2 +- main.c | 2 +- mbox.c | 4 ++-- mbyte.c | 2 +- mbyte.h | 6 +++--- menu.c | 2 +- mh.c | 2 +- {lib => mutt}/Makefile.am | 0 {lib => mutt}/base64.c | 0 {lib => mutt}/base64.h | 6 +++--- {lib => mutt}/buffer.c | 0 {lib => mutt}/buffer.h | 6 +++--- {lib => mutt}/date.c | 0 {lib => mutt}/date.h | 6 +++--- {lib => mutt}/debug.c | 0 {lib => mutt}/debug.h | 6 +++--- {lib => mutt}/exit.c | 0 {lib => mutt}/exit.h | 6 +++--- {lib => mutt}/file.c | 1 - {lib => mutt}/file.h | 6 +++--- {lib => mutt}/hash.c | 0 {lib => mutt}/hash.h | 6 +++--- {lib => mutt}/list.c | 1 - {lib => mutt}/list.h | 8 ++++---- {lib => mutt}/mapping.c | 0 {lib => mutt}/mapping.h | 0 {lib => mutt}/mbyte.c | 1 - {lib => mutt}/mbyte.h | 6 +++--- {lib => mutt}/md5.c | 0 {lib => mutt}/md5.h | 6 +++--- {lib => mutt}/memory.c | 0 {lib => mutt}/memory.h | 6 +++--- {lib => mutt}/message.c | 0 {lib => mutt}/message.h | 6 +++--- lib/lib.h => mutt/mutt.h | 6 +++--- {lib => mutt}/queue.h | 0 {lib => mutt}/sha1.c | 0 {lib => mutt}/sha1.h | 6 +++--- {lib => mutt}/string.c | 0 {lib => mutt}/string2.h | 6 +++--- mutt_account.c | 2 +- mutt_curses.h | 4 ++-- mutt_idna.c | 2 +- mutt_lua.c | 2 +- mutt_notmuch.c | 2 +- mutt_socket.c | 4 ++-- mutt_socket.h | 2 +- mutt_tags.c | 6 +++--- mutt_tags.h | 2 +- muttlib.c | 2 +- mx.c | 2 +- ncrypt/crypt.c | 2 +- ncrypt/crypt_gpgme.c | 2 +- ncrypt/crypt_mod.c | 4 ++-- ncrypt/cryptglue.c | 2 +- ncrypt/gnupgparse.c | 2 +- ncrypt/pgp.c | 2 +- ncrypt/pgpinvoke.c | 2 +- ncrypt/pgpkey.c | 2 +- ncrypt/pgplib.c | 2 +- ncrypt/pgplib.h | 2 +- ncrypt/pgpmicalg.c | 2 +- ncrypt/pgppacket.c | 2 +- ncrypt/smime.c | 2 +- newsrc.c | 2 +- nntp.c | 2 +- pager.c | 2 +- parameter.h | 2 +- parse.c | 2 +- pattern.c | 2 +- pattern.h | 2 +- pgppubring.c | 2 +- pop.c | 2 +- pop_auth.c | 2 +- pop_lib.c | 2 +- postpone.c | 2 +- query.c | 2 +- recvattach.c | 2 +- recvcmd.c | 2 +- remailer.c | 2 +- resize.c | 2 +- rfc1524.c | 2 +- rfc2047.c | 2 +- rfc2231.c | 2 +- rfc3676.c | 2 +- rfc822.c | 2 +- rfc822.h | 2 +- safe_asprintf.c | 2 +- score.c | 2 +- send.c | 2 +- sendlib.c | 2 +- sidebar.c | 2 +- signal.c | 2 +- smtp.c | 2 +- sort.c | 2 +- sort.h | 2 +- status.c | 2 +- thread.c | 2 +- url.c | 2 +- url.h | 2 +- version.c | 2 +- 171 files changed, 231 insertions(+), 238 deletions(-) rename {lib => mutt}/Makefile.am (100%) rename {lib => mutt}/base64.c (100%) rename {lib => mutt}/base64.h (92%) rename {lib => mutt}/buffer.c (100%) rename {lib => mutt}/buffer.h (95%) rename {lib => mutt}/date.c (100%) rename {lib => mutt}/date.h (96%) rename {lib => mutt}/debug.c (100%) rename {lib => mutt}/debug.h (92%) rename {lib => mutt}/exit.c (100%) rename {lib => mutt}/exit.h (92%) rename {lib => mutt}/file.c (99%) rename {lib => mutt}/file.h (97%) rename {lib => mutt}/hash.c (100%) rename {lib => mutt}/hash.h (97%) rename {lib => mutt}/list.c (99%) rename {lib => mutt}/list.h (95%) rename {lib => mutt}/mapping.c (100%) rename {lib => mutt}/mapping.h (100%) rename {lib => mutt}/mbyte.c (99%) rename {lib => mutt}/mbyte.h (96%) rename {lib => mutt}/md5.c (100%) rename {lib => mutt}/md5.h (96%) rename {lib => mutt}/memory.c (100%) rename {lib => mutt}/memory.h (93%) rename {lib => mutt}/message.c (100%) rename {lib => mutt}/message.h (93%) rename lib/lib.h => mutt/mutt.h (96%) rename {lib => mutt}/queue.h (100%) rename {lib => mutt}/sha1.c (100%) rename {lib => mutt}/sha1.h (95%) rename {lib => mutt}/string.c (100%) rename {lib => mutt}/string2.h (98%) diff --git a/.clang-format b/.clang-format index 45aef4e95..4e8568232 100644 --- a/.clang-format +++ b/.clang-format @@ -16,7 +16,7 @@ IncludeCategories: Priority: -7 - Regex: '".*_private\.h"' Priority: -6 - - Regex: '"lib/.*\.h"' + - Regex: '"mutt/.*\.h"' Priority: -4 - Regex: '"conn/.*\.h"' Priority: -3 diff --git a/Makefile.am b/Makefile.am index 29604c706..c49ec5c0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ --with-sasl \ --with-tokyocabinet -SUBDIRS = m4 contrib imap ncrypt lib conn +SUBDIRS = m4 contrib imap ncrypt mutt conn if BUILD_HCACHE SUBDIRS += hcache @@ -65,8 +65,8 @@ LIBIMAPDEPS = $(top_srcdir)/imap/imap.h imap/libimap.a LIBCONN = -Lconn -lconn LIBCONNDEPS = $(top_srcdir)/conn/connection.h conn/libconn.a -LIBMUTT = -Llib -lmutt -LIBMUTTDEPS = $(top_srcdir)/lib/lib.h lib/libmutt.a +LIBMUTT = -Lmutt -lmutt +LIBMUTTDEPS = $(top_srcdir)/mutt/mutt.h mutt/libmutt.a neomutt_LDADD = $(MUTT_LIB_OBJECTS) $(LIBOBJS) $(HCACHE_LIBS) $(NCRYPT_LIBS) \ $(LIBIMAP) $(LIBCONN) $(LIBMUTT) $(LIBICONV) $(GPGME_LIBS) $(INTLLIBS) diff --git a/Makefile.autosetup b/Makefile.autosetup index 15ff61688..5c4050546 100644 --- a/Makefile.autosetup +++ b/Makefile.autosetup @@ -90,9 +90,9 @@ ALLOBJS+= $(NEOMUTTOBJS) ############################################################################### # libmutt LIBMUTT= libmutt.a -LIBMUTTOBJS= lib/base64.o lib/buffer.o lib/date.o lib/debug.o lib/exit.o \ - lib/file.o lib/hash.o lib/list.o lib/mapping.o lib/mbyte.o lib/md5.o \ - lib/memory.o lib/message.o lib/sha1.o lib/string.o +LIBMUTTOBJS= mutt/base64.o mutt/buffer.o mutt/date.o mutt/debug.o mutt/exit.o \ + mutt/file.o mutt/hash.o mutt/list.o mutt/mapping.o mutt/mbyte.o mutt/md5.o \ + mutt/memory.o mutt/message.o mutt/sha1.o mutt/string.o CLEANFILES+= $(LIBMUTT) $(LIBMUTTOBJS) MUTTLIBS+= $(LIBMUTT) ALLOBJS+= $(LIBMUTTOBJS) @@ -267,14 +267,14 @@ git_ver.h: $(ALL_FILES) rm -f git_ver.h.tmp hcache/hcversion.h: $(SRCDIR)/mutt.h $(SRCDIR)/address.h \ - $(SRCDIR)/lib/list.h $(SRCDIR)/lib/buffer.h \ + $(SRCDIR)/mutt/list.h $(SRCDIR)/mutt/buffer.h \ $(SRCDIR)/parameter.h $(SRCDIR)/body.h \ $(SRCDIR)/envelope.h $(SRCDIR)/header.h \ $(SRCDIR)/hcache/hcachever.sh \ $(PWD)/hcache ( echo '#include "config.h"'; echo '#include "mutt.h"'; \ - echo '#include "address.h"'; echo '#include "lib/list.h"'; \ - echo '#include "lib/buffer.h"'; echo '#include "parameter.h"'; \ + echo '#include "address.h"'; echo '#include "mutt/list.h"'; \ + echo '#include "mutt/buffer.h"'; echo '#include "parameter.h"'; \ echo '#include "body.h"'; echo '#include "envelope.h"'; \ echo '#include "header.h"';) | $(CPP) $(CFLAGS) - | \ sh $(SRCDIR)/hcache/hcachever.sh hcache/hcversion.h diff --git a/addrbook.c b/addrbook.c index 186d34a7d..be6e56349 100644 --- a/addrbook.c +++ b/addrbook.c @@ -24,7 +24,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/alias.c b/alias.c index 6f4a283fa..3e334e99c 100644 --- a/alias.c +++ b/alias.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" @@ -694,4 +694,3 @@ void mutt_free_alias(struct Alias **p) FREE(&t); } } - diff --git a/attach.c b/attach.c index ab2207bcf..223abd5b8 100644 --- a/attach.c +++ b/attach.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "attach.h" #include "body.h" diff --git a/bcache.c b/bcache.c index a29c87f67..0f970f717 100644 --- a/bcache.c +++ b/bcache.c @@ -29,7 +29,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "bcache.h" #include "globals.h" #include "mutt_account.h" diff --git a/body.c b/body.c index 8e0941217..a1e02f91a 100644 --- a/body.c +++ b/body.c @@ -24,9 +24,9 @@ #include #include #include -#include "lib/debug.h" -#include "lib/memory.h" -#include "lib/string2.h" +#include "mutt/debug.h" +#include "mutt/memory.h" +#include "mutt/string2.h" #include "body.h" #include "header.h" #include "mime.h" diff --git a/browser.c b/browser.c index 5fc79d29a..d46209ee8 100644 --- a/browser.c +++ b/browser.c @@ -39,7 +39,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "attach.h" diff --git a/buffy.c b/buffy.c index 9f10ecc1e..5e26c6411 100644 --- a/buffy.c +++ b/buffy.c @@ -29,7 +29,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "buffy.h" #include "context.h" diff --git a/charset.c b/charset.c index 1c25af56c..267df7352 100644 --- a/charset.c +++ b/charset.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "charset.h" #include "globals.h" diff --git a/color.c b/color.c index 2364f392c..f4b8de56e 100644 --- a/color.c +++ b/color.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "globals.h" diff --git a/commands.c b/commands.c index e398874e4..e6e445d9c 100644 --- a/commands.c +++ b/commands.c @@ -34,7 +34,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "alias.h" #include "body.h" diff --git a/complete.c b/complete.c index 7bfd7fca5..9358ee756 100644 --- a/complete.c +++ b/complete.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "globals.h" #include "options.h" #include "protos.h" diff --git a/compose.c b/compose.c index c5fbb1a86..eca9724da 100644 --- a/compose.c +++ b/compose.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "alias.h" diff --git a/compress.c b/compress.c index a7fd296ed..0e6f7b33b 100644 --- a/compress.c +++ b/compress.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "compress.h" #include "context.h" diff --git a/configure.ac b/configure.ac index c59dc517a..e739f1f58 100644 --- a/configure.ac +++ b/configure.ac @@ -947,7 +947,7 @@ if test x$full_doc != xno; then fi AC_CONFIG_FILES(Makefile contrib/Makefile doc/Makefile imap/Makefile - m4/Makefile po/Makefile.in hcache/Makefile ncrypt/Makefile lib/Makefile conn/Makefile) + m4/Makefile po/Makefile.in hcache/Makefile ncrypt/Makefile mutt/Makefile conn/Makefile) AC_OUTPUT AC_MSG_NOTICE([Summary of build options: diff --git a/conn/connection.h b/conn/connection.h index cfa079054..dec678c82 100644 --- a/conn/connection.h +++ b/conn/connection.h @@ -26,7 +26,7 @@ #include #include -#include "lib/queue.h" +#include "mutt/queue.h" #include "account.h" #define LONG_STRING 1024 diff --git a/conn/getdomain.c b/conn/getdomain.c index f415e997b..593a76079 100644 --- a/conn/getdomain.c +++ b/conn/getdomain.c @@ -36,9 +36,9 @@ #include #include #include -#include "lib/debug.h" -#include "lib/memory.h" -#include "lib/string2.h" +#include "mutt/debug.h" +#include "mutt/memory.h" +#include "mutt/string2.h" /** * getdnsdomainname - Lookup the host's name using DNS diff --git a/conn/sasl.c b/conn/sasl.c index eef0afdf1..f71707f7b 100644 --- a/conn/sasl.c +++ b/conn/sasl.c @@ -53,10 +53,10 @@ #include #include #include -#include "lib/debug.h" -#include "lib/memory.h" -#include "lib/message.h" -#include "lib/string2.h" +#include "mutt/debug.h" +#include "mutt/memory.h" +#include "mutt/message.h" +#include "mutt/string2.h" #include "sasl.h" #include "account.h" #include "connection.h" diff --git a/conn/sasl_plain.c b/conn/sasl_plain.c index 2f218df72..0366e958a 100644 --- a/conn/sasl_plain.c +++ b/conn/sasl_plain.c @@ -32,8 +32,8 @@ #include "config.h" #include -#include "lib/base64.h" -#include "lib/string2.h" +#include "mutt/base64.h" +#include "mutt/string2.h" /** * mutt_sasl_plain_msg - Create an SASL command diff --git a/conn/socket.c b/conn/socket.c index 5846391af..c1d52c118 100644 --- a/conn/socket.c +++ b/conn/socket.c @@ -57,10 +57,10 @@ #include #include #include -#include "lib/debug.h" -#include "lib/memory.h" -#include "lib/message.h" -#include "lib/string2.h" +#include "mutt/debug.h" +#include "mutt/memory.h" +#include "mutt/message.h" +#include "mutt/string2.h" #include "account.h" #include "conn_globals.h" #include "connection.h" diff --git a/conn/ssl.c b/conn/ssl.c index cbeacd493..04b0a444c 100644 --- a/conn/ssl.c +++ b/conn/ssl.c @@ -52,11 +52,11 @@ #include #include #include -#include "lib/debug.h" -#include "lib/file.h" -#include "lib/memory.h" -#include "lib/message.h" -#include "lib/string2.h" +#include "mutt/debug.h" +#include "mutt/file.h" +#include "mutt/memory.h" +#include "mutt/message.h" +#include "mutt/string2.h" #include "mutt.h" #include "ssl.h" #include "account.h" diff --git a/conn/ssl_gnutls.c b/conn/ssl_gnutls.c index 872de9949..972256e44 100644 --- a/conn/ssl_gnutls.c +++ b/conn/ssl_gnutls.c @@ -42,12 +42,12 @@ #include #include #include -#include "lib/date.h" -#include "lib/debug.h" -#include "lib/file.h" -#include "lib/memory.h" -#include "lib/message.h" -#include "lib/string2.h" +#include "mutt/date.h" +#include "mutt/debug.h" +#include "mutt/file.h" +#include "mutt/memory.h" +#include "mutt/message.h" +#include "mutt/string2.h" #include "mutt.h" #include "account.h" #include "conn_globals.h" diff --git a/conn/tunnel.c b/conn/tunnel.c index 86ea547e1..e0871205c 100644 --- a/conn/tunnel.c +++ b/conn/tunnel.c @@ -41,9 +41,9 @@ #include #include #include -#include "lib/memory.h" -#include "lib/message.h" -#include "lib/string2.h" +#include "mutt/memory.h" +#include "mutt/message.h" +#include "mutt/string2.h" #include "mutt.h" #include "tunnel.h" #include "account.h" diff --git a/copy.c b/copy.c index f4bd48b59..fb422e287 100644 --- a/copy.c +++ b/copy.c @@ -25,7 +25,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "copy.h" #include "address.h" @@ -540,8 +540,7 @@ static int count_delete_lines(FILE *fp, struct Body *b, LOFF_T *length, size_t d * * #MUTT_CM_DECODE_PGP used for decoding PGP messages * * #MUTT_CM_CHARCONV perform character set conversion */ -int mutt_copy_message_fp(FILE *fpout, FILE *fpin, struct Header *hdr, int flags, - int chflags) +int mutt_copy_message_fp(FILE *fpout, FILE *fpin, struct Header *hdr, int flags, int chflags) { struct Body *body = hdr->content; char prefix[SHORT_STRING]; diff --git a/curs_lib.c b/curs_lib.c index 2c2078c15..dc2ed1d82 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -41,7 +41,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "enter_state.h" diff --git a/curs_main.c b/curs_main.c index 97acba5d9..9d6e67c86 100644 --- a/curs_main.c +++ b/curs_main.c @@ -31,7 +31,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "alias.h" diff --git a/edit.c b/edit.c index a228f064f..edab0756b 100644 --- a/edit.c +++ b/edit.c @@ -33,7 +33,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "alias.h" #include "body.h" diff --git a/editmsg.c b/editmsg.c index 0d5b3ad5a..629ea7a62 100644 --- a/editmsg.c +++ b/editmsg.c @@ -31,7 +31,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "copy.h" @@ -52,8 +52,7 @@ * @retval 0 Message edited successfully * @retval -1 Error */ -static int edit_or_view_one_message(bool edit, struct Context *ctx, - struct Header *cur) +static int edit_or_view_one_message(bool edit, struct Context *ctx, struct Header *cur) { char tmp[_POSIX_PATH_MAX]; char buff[STRING]; diff --git a/enter.c b/enter.c index d939d12a7..780fc0b14 100644 --- a/enter.c +++ b/enter.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "enter_state.h" #include "globals.h" @@ -149,7 +149,7 @@ int mutt_enter_string(char *buf, size_t buflen, int col, int flags) * @retval -1 if abort */ int mutt_enter_string_full(char *buf, size_t buflen, int col, int flags, int multiple, - char ***files, int *numfiles, struct EnterState *state) + char ***files, int *numfiles, struct EnterState *state) { int width = MuttMessageWindow->cols - col - 1; int redraw; diff --git a/enter_state.h b/enter_state.h index 87c182260..c4d2474e9 100644 --- a/enter_state.h +++ b/enter_state.h @@ -24,7 +24,7 @@ #define _MUTT_ENTER_STATE_H #include -#include "lib/lib.h" +#include "mutt/mutt.h" /** * struct EnterState - Keep our place when entering a string diff --git a/envelope.c b/envelope.c index 01707d328..1e36ba264 100644 --- a/envelope.c +++ b/envelope.c @@ -34,9 +34,9 @@ #include "config.h" #include -#include "lib/buffer.h" -#include "lib/memory.h" -#include "lib/queue.h" +#include "mutt/buffer.h" +#include "mutt/memory.h" +#include "mutt/queue.h" #include "envelope.h" #include "rfc822.h" diff --git a/envelope.h b/envelope.h index e13f269cf..245322435 100644 --- a/envelope.h +++ b/envelope.h @@ -24,7 +24,7 @@ #define _MUTT_ENVELOPE_H #include -#include "lib/list.h" +#include "mutt/list.h" /** * struct Envelope - The header of an email diff --git a/flags.c b/flags.c index 3b3c198a4..7103f2892 100644 --- a/flags.c +++ b/flags.c @@ -23,7 +23,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "globals.h" diff --git a/from.c b/from.c index f5f7550c3..492c54c8b 100644 --- a/from.c +++ b/from.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "globals.h" #include "protos.h" diff --git a/globals.h b/globals.h index 5fd8e97ba..27395e655 100644 --- a/globals.h +++ b/globals.h @@ -24,7 +24,7 @@ #define _MUTT_GLOBALS_H #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "where.h" #include "mutt_regex.h" diff --git a/group.c b/group.c index de83ae474..db7d569bc 100644 --- a/group.c +++ b/group.c @@ -23,7 +23,7 @@ #include "config.h" #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "group.h" #include "address.h" diff --git a/handler.c b/handler.c index 2fb71a92b..fefc5619a 100644 --- a/handler.c +++ b/handler.c @@ -37,7 +37,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "body.h" #include "charset.h" diff --git a/hcache/Makefile.am b/hcache/Makefile.am index ac3aefd20..b0f67044e 100644 --- a/hcache/Makefile.am +++ b/hcache/Makefile.am @@ -37,20 +37,20 @@ libhcache_a_SOURCES += tc.c endif LIBMUTT = -L../lib -lmutt -LIBMUTTDEPS = $(top_srcdir)/lib/lib.h ../lib/libmutt.a +LIBMUTTDEPS = $(top_srcdir)/mutt/lib.h ../mutt/libmutt.a BUILT_SOURCES = $(HCVERSION) $(top_srcdir)/keymap_defs.h: +$(MAKE) -C $(top_srcdir) keymap_defs.h -hcversion.h: $(top_srcdir)/mutt.h $(top_srcdir)/address.h $(top_srcdir)/lib/list.h \ - $(top_srcdir)/lib/buffer.h $(top_srcdir)/parameter.h \ +hcversion.h: $(top_srcdir)/mutt.h $(top_srcdir)/address.h $(top_srcdir)/mutt/list.h \ + $(top_srcdir)/mutt/buffer.h $(top_srcdir)/parameter.h \ $(top_srcdir)/body.h $(top_srcdir)/envelope.h \ $(top_srcdir)/header.h $(srcdir)/hcachever.sh ( echo '#include "config.h"'; echo '#include "mutt.h"'; \ - echo '#include "address.h"'; echo '#include "lib/list.h"'; \ - echo '#include "lib/buffer.h"'; echo '#include "parameter.h"'; \ + echo '#include "address.h"'; echo '#include "mutt/list.h"'; \ + echo '#include "mutt/buffer.h"'; echo '#include "parameter.h"'; \ echo '#include "body.h"'; echo '#include "envelope.h"'; \ echo '#include "header.h"'; \ ) | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - | sh $(srcdir)/hcachever.sh hcversion.h diff --git a/hcache/bdb.c b/hcache/bdb.c index 5518c0886..0f3b96cfb 100644 --- a/hcache/bdb.c +++ b/hcache/bdb.c @@ -39,7 +39,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" #include "globals.h" #include "mx.h" diff --git a/hcache/gdbm.c b/hcache/gdbm.c index 34c81e773..6d43e9507 100644 --- a/hcache/gdbm.c +++ b/hcache/gdbm.c @@ -33,7 +33,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" #include "globals.h" diff --git a/hcache/hcache.c b/hcache/hcache.c index 8f70675d7..57c1de43d 100644 --- a/hcache/hcache.c +++ b/hcache/hcache.c @@ -47,7 +47,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "address.h" #include "backend.h" #include "body.h" diff --git a/hcache/kc.c b/hcache/kc.c index 6a6e2116c..291c4d793 100644 --- a/hcache/kc.c +++ b/hcache/kc.c @@ -34,7 +34,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" #include "options.h" diff --git a/hcache/lmdb.c b/hcache/lmdb.c index 435daf88a..50698e873 100644 --- a/hcache/lmdb.c +++ b/hcache/lmdb.c @@ -33,7 +33,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" /** The maximum size of the database file (2GiB). diff --git a/hcache/qdbm.c b/hcache/qdbm.c index 7c3ba5eda..f8cec63ae 100644 --- a/hcache/qdbm.c +++ b/hcache/qdbm.c @@ -34,7 +34,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" #include "options.h" diff --git a/hcache/tc.c b/hcache/tc.c index 350ab6781..47a09c7a8 100644 --- a/hcache/tc.c +++ b/hcache/tc.c @@ -34,7 +34,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "backend.h" #include "options.h" diff --git a/hdrline.c b/hdrline.c index ad94363b9..1b89a450c 100644 --- a/hdrline.c +++ b/hdrline.c @@ -30,7 +30,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "body.h" diff --git a/header.c b/header.c index 5f0d8fb2b..c2f7de9df 100644 --- a/header.c +++ b/header.c @@ -28,14 +28,14 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" +#include "header.h" #include "alias.h" #include "body.h" #include "context.h" #include "envelope.h" #include "globals.h" -#include "header.h" #include "mutt_idna.h" #include "ncrypt/ncrypt.h" #include "options.h" @@ -385,4 +385,3 @@ struct Header *mutt_new_header(void) STAILQ_INIT(&h->tags); return h; } - diff --git a/header.h b/header.h index 4f634e18f..0db5c054b 100644 --- a/header.h +++ b/header.h @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt_tags.h" /** diff --git a/help.c b/help.c index 218cf89db..318ba5d8e 100644 --- a/help.c +++ b/help.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "globals.h" #include "keymap.h" #include "mbyte.h" diff --git a/history.c b/history.c index e8a9432a9..68701c27d 100644 --- a/history.c +++ b/history.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "history.h" #include "charset.h" #include "globals.h" diff --git a/hook.c b/hook.c index 034bd5831..d949eaa2a 100644 --- a/hook.c +++ b/hook.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "context.h" diff --git a/imap/auth.c b/imap/auth.c index dc205e2f0..5ea3c7f0a 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -34,7 +34,7 @@ #include "config.h" #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "auth.h" #include "globals.h" #include "protos.h" diff --git a/imap/auth_anon.c b/imap/auth_anon.c index af67e46d3..d6a0bb10c 100644 --- a/imap/auth_anon.c +++ b/imap/auth_anon.c @@ -32,7 +32,7 @@ #include "config.h" #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "auth.h" #include "globals.h" diff --git a/imap/auth_cram.c b/imap/auth_cram.c index 14f5c8e52..6a593ad33 100644 --- a/imap/auth_cram.c +++ b/imap/auth_cram.c @@ -34,7 +34,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "auth.h" #include "globals.h" diff --git a/imap/auth_gss.c b/imap/auth_gss.c index bac5629a9..aea2d758a 100644 --- a/imap/auth_gss.c +++ b/imap/auth_gss.c @@ -35,7 +35,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "auth.h" diff --git a/imap/auth_login.c b/imap/auth_login.c index 65cadab5a..f5b66abb1 100644 --- a/imap/auth_login.c +++ b/imap/auth_login.c @@ -33,7 +33,7 @@ #include "config.h" #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "auth.h" diff --git a/imap/auth_plain.c b/imap/auth_plain.c index a56e54337..355125dc0 100644 --- a/imap/auth_plain.c +++ b/imap/auth_plain.c @@ -33,7 +33,7 @@ #include "config.h" #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "auth.h" #include "globals.h" diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c index ee76d73b7..134cb2900 100644 --- a/imap/auth_sasl.c +++ b/imap/auth_sasl.c @@ -37,7 +37,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "auth.h" #include "globals.h" diff --git a/imap/browse.c b/imap/browse.c index d25e427f8..333aa0032 100644 --- a/imap/browse.c +++ b/imap/browse.c @@ -42,7 +42,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "browser.h" #include "buffy.h" diff --git a/imap/command.c b/imap/command.c index c064098b3..c9425821c 100644 --- a/imap/command.c +++ b/imap/command.c @@ -46,7 +46,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "buffy.h" #include "context.h" diff --git a/imap/imap.c b/imap/imap.c index 3aadb33d2..f18005c72 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -80,7 +80,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "imap.h" diff --git a/imap/imap_private.h b/imap/imap_private.h index 15e4bd822..ab857c0a5 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -27,7 +27,7 @@ #include #include #include -#include "lib/list.h" +#include "mutt/list.h" #ifdef USE_HCACHE #include "hcache/hcache.h" #endif diff --git a/imap/message.c b/imap/message.c index 937662cf0..b52320f7f 100644 --- a/imap/message.c +++ b/imap/message.c @@ -48,7 +48,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "message.h" diff --git a/imap/message.h b/imap/message.h index 040da7f61..6aa4ef386 100644 --- a/imap/message.h +++ b/imap/message.h @@ -26,7 +26,7 @@ #include #include -#include "lib/list.h" +#include "mutt/list.h" /** * struct ImapHeaderData - IMAP-specific header data diff --git a/imap/utf7.c b/imap/utf7.c index b33f00056..a944ca522 100644 --- a/imap/utf7.c +++ b/imap/utf7.c @@ -34,7 +34,7 @@ #include "config.h" #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "charset.h" #include "globals.h" diff --git a/imap/util.c b/imap/util.c index a104894b7..098b41c90 100644 --- a/imap/util.c +++ b/imap/util.c @@ -76,7 +76,7 @@ #include #include #include "imap_private.h" -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "bcache.h" diff --git a/init.c b/init.c index 5759c1b68..55f80b4f9 100644 --- a/init.c +++ b/init.c @@ -36,7 +36,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "init.h" #include "address.h" diff --git a/keymap.c b/keymap.c index 01f984ba4..8dba8843c 100644 --- a/keymap.c +++ b/keymap.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "keymap.h" #include "functions.h" diff --git a/keymap.h b/keymap.h index 2f1ba6478..d8e44b2d2 100644 --- a/keymap.h +++ b/keymap.h @@ -24,7 +24,7 @@ #define _MUTT_KEYMAP_H #include -#include "lib/mapping.h" +#include "mutt/mapping.h" /* maximal length of a key binding sequence used for buffer in km_bindkey */ #define MAX_SEQ 8 diff --git a/main.c b/main.c index 7e8f3d531..5b6033b5e 100644 --- a/main.c +++ b/main.c @@ -37,7 +37,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "address.h" diff --git a/mbox.c b/mbox.c index a23b0fe41..8cd6702ab 100644 --- a/mbox.c +++ b/mbox.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "body.h" @@ -1157,7 +1157,7 @@ static int mbox_sync_mailbox(struct Context *ctx, int *index_hint) newOffset[i - first].hdr = ftello(fp) + offset; if (mutt_copy_message_ctx(fp, ctx, ctx->hdrs[i], MUTT_CM_UPDATE, - CH_FROM | CH_UPDATE | CH_UPDATE_LEN) != 0) + CH_FROM | CH_UPDATE | CH_UPDATE_LEN) != 0) { mutt_perror(tempfile); mutt_sleep(5); diff --git a/mbyte.c b/mbyte.c index 74803841d..391c01737 100644 --- a/mbyte.c +++ b/mbyte.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mbyte.h" #include "charset.h" #include "options.h" diff --git a/mbyte.h b/mbyte.h index 53506ddc5..367aeb02f 100644 --- a/mbyte.h +++ b/mbyte.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _MUTT_MBYTE_H -#define _MUTT_MBYTE_H +#ifndef _NEOMUTT_MBYTE_H +#define _NEOMUTT_MBYTE_H #include #include @@ -32,4 +32,4 @@ extern bool Charset_is_utf8; bool is_display_corrupting_utf8(wchar_t wc); int mutt_filter_unprintable(char **s); -#endif /* _MUTT_MBYTE_H */ +#endif /* _NEOMUTT_MBYTE_H */ diff --git a/menu.c b/menu.c index ebd1bdfd7..51d603b5d 100644 --- a/menu.c +++ b/menu.c @@ -30,7 +30,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "globals.h" diff --git a/mh.c b/mh.c index 3a3b82de7..28f5670ba 100644 --- a/mh.c +++ b/mh.c @@ -43,7 +43,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "body.h" #include "buffy.h" diff --git a/lib/Makefile.am b/mutt/Makefile.am similarity index 100% rename from lib/Makefile.am rename to mutt/Makefile.am diff --git a/lib/base64.c b/mutt/base64.c similarity index 100% rename from lib/base64.c rename to mutt/base64.c diff --git a/lib/base64.h b/mutt/base64.h similarity index 92% rename from lib/base64.h rename to mutt/base64.h index 116befedf..174c6ee79 100644 --- a/lib/base64.h +++ b/mutt/base64.h @@ -18,8 +18,8 @@ * this program. If not, see . */ -#ifndef _LIB_BASE64_H -#define _LIB_BASE64_H +#ifndef _MUTT_BASE64_H +#define _MUTT_BASE64_H #include @@ -30,4 +30,4 @@ extern const int Index_64[]; size_t mutt_to_base64(char *out, const char *cin, size_t len, size_t olen); int mutt_from_base64(char *out, const char *in); -#endif /* _LIB_BASE64_H */ +#endif /* _MUTT_BASE64_H */ diff --git a/lib/buffer.c b/mutt/buffer.c similarity index 100% rename from lib/buffer.c rename to mutt/buffer.c diff --git a/lib/buffer.h b/mutt/buffer.h similarity index 95% rename from lib/buffer.h rename to mutt/buffer.h index efb78e087..5642b4d98 100644 --- a/lib/buffer.h +++ b/mutt/buffer.h @@ -21,8 +21,8 @@ * this program. If not, see . */ -#ifndef _LIB_BUFFER_H -#define _LIB_BUFFER_H +#ifndef _MUTT_BUFFER_H +#define _MUTT_BUFFER_H #include @@ -48,4 +48,4 @@ struct Buffer *mutt_buffer_new(void); int mutt_buffer_printf(struct Buffer *buf, const char *fmt, ...); void mutt_buffer_reset(struct Buffer *b); -#endif /* _LIB_BUFFER_H */ +#endif /* _MUTT_BUFFER_H */ diff --git a/lib/date.c b/mutt/date.c similarity index 100% rename from lib/date.c rename to mutt/date.c diff --git a/lib/date.h b/mutt/date.h similarity index 96% rename from lib/date.h rename to mutt/date.h index 9594b98ff..64cd11622 100644 --- a/lib/date.h +++ b/mutt/date.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_DATE_H -#define _LIB_DATE_H +#ifndef _MUTT_DATE_H +#define _MUTT_DATE_H #include #include @@ -51,4 +51,4 @@ time_t mutt_mktime(struct tm *t, int local); void mutt_normalize_time(struct tm *tm); time_t mutt_parse_date(const char *s, struct Tz *tz_out); -#endif /* _LIB_DATE_H */ +#endif /* _MUTT_DATE_H */ diff --git a/lib/debug.c b/mutt/debug.c similarity index 100% rename from lib/debug.c rename to mutt/debug.c diff --git a/lib/debug.h b/mutt/debug.h similarity index 92% rename from lib/debug.h rename to mutt/debug.h index 0f14f2db2..9208b9ee1 100644 --- a/lib/debug.h +++ b/mutt/debug.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_DEBUG_H -#define _LIB_DEBUG_H +#ifndef _MUTT_DEBUG_H +#define _MUTT_DEBUG_H #ifdef DEBUG void mutt_debug(int level, const char *fmt, ...); @@ -29,4 +29,4 @@ void mutt_debug(int level, const char *fmt, ...); #define mutt_debug(...) do { } while (0) #endif -#endif /* _LIB_DEBUG_H */ +#endif /* _MUTT_DEBUG_H */ diff --git a/lib/exit.c b/mutt/exit.c similarity index 100% rename from lib/exit.c rename to mutt/exit.c diff --git a/lib/exit.h b/mutt/exit.h similarity index 92% rename from lib/exit.h rename to mutt/exit.h index 42845c881..0d46ba384 100644 --- a/lib/exit.h +++ b/mutt/exit.h @@ -20,9 +20,9 @@ * this program. If not, see . */ -#ifndef _LIB_EXIT_H -#define _LIB_EXIT_H +#ifndef _MUTT_EXIT_H +#define _MUTT_EXIT_H void mutt_exit(int code); -#endif /* _LIB_EXIT_H */ +#endif /* _MUTT_EXIT_H */ diff --git a/lib/file.c b/mutt/file.c similarity index 99% rename from lib/file.c rename to mutt/file.c index 63cce57f3..2c1ea43b8 100644 --- a/lib/file.c +++ b/mutt/file.c @@ -1260,4 +1260,3 @@ int mbox_check_empty(const char *path) return ((st.st_size == 0)); } - diff --git a/lib/file.h b/mutt/file.h similarity index 97% rename from lib/file.h rename to mutt/file.h index 3a37cb215..55eb9be52 100644 --- a/lib/file.h +++ b/mutt/file.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_FILE_H -#define _LIB_FILE_H +#ifndef _MUTT_FILE_H +#define _MUTT_FILE_H #include #include @@ -63,4 +63,4 @@ int safe_rename(const char *src, const char *target); int safe_symlink(const char *oldpath, const char *newpath); int to_absolute_path(char *path, const char *reference); -#endif /* _LIB_FILE_H */ +#endif /* _MUTT_FILE_H */ diff --git a/lib/hash.c b/mutt/hash.c similarity index 100% rename from lib/hash.c rename to mutt/hash.c diff --git a/lib/hash.h b/mutt/hash.h similarity index 97% rename from lib/hash.h rename to mutt/hash.h index 8f1d7a17a..74aaffd21 100644 --- a/lib/hash.h +++ b/mutt/hash.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_HASH_H -#define _LIB_HASH_H +#ifndef _MUTT_HASH_H +#define _MUTT_HASH_H #include @@ -84,4 +84,4 @@ struct HashWalkState struct HashElem *hash_walk(const struct Hash *table, struct HashWalkState *state); -#endif /* _LIB_HASH_H */ +#endif /* _MUTT_HASH_H */ diff --git a/lib/list.c b/mutt/list.c similarity index 99% rename from lib/list.c rename to mutt/list.c index d3488aaef..ae4631eff 100644 --- a/lib/list.c +++ b/mutt/list.c @@ -192,4 +192,3 @@ int strict_cmp_stailq(const struct ListHead *ah, const struct ListHead *bh) return 1; } - diff --git a/lib/list.h b/mutt/list.h similarity index 95% rename from lib/list.h rename to mutt/list.h index f1b4aee2b..54d3f4a9f 100644 --- a/lib/list.h +++ b/mutt/list.h @@ -21,12 +21,12 @@ * this program. If not, see . */ -#ifndef _LIB_LIST_H -#define _LIB_LIST_H +#ifndef _MUTT_LIST_H +#define _MUTT_LIST_H #include #include -#include "lib/queue.h" +#include "mutt/queue.h" /** * struct ListNode - A List node for strings @@ -54,4 +54,4 @@ struct ListNode *mutt_list_insert_tail(struct ListHead *h, char *s); bool mutt_list_match(const char *s, struct ListHead *h); int strict_cmp_stailq(const struct ListHead *ah, const struct ListHead *bh); -#endif /* _LIB_LIST_H */ +#endif /* _MUTT_LIST_H */ diff --git a/lib/mapping.c b/mutt/mapping.c similarity index 100% rename from lib/mapping.c rename to mutt/mapping.c diff --git a/lib/mapping.h b/mutt/mapping.h similarity index 100% rename from lib/mapping.h rename to mutt/mapping.h diff --git a/lib/mbyte.c b/mutt/mbyte.c similarity index 99% rename from lib/mbyte.c rename to mutt/mbyte.c index 84574ccc7..8ab7c4a1a 100644 --- a/lib/mbyte.c +++ b/mutt/mbyte.c @@ -349,4 +349,3 @@ bool is_shell_char(wchar_t ch) static const wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in NeoMutt */ return wcschr(shell_chars, ch) != NULL; } - diff --git a/lib/mbyte.h b/mutt/mbyte.h similarity index 96% rename from lib/mbyte.h rename to mutt/mbyte.h index afe0b1d82..5c7104303 100644 --- a/lib/mbyte.h +++ b/mutt/mbyte.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_MBYTE_H -#define _LIB_MBYTE_H +#ifndef _MUTT_MBYTE_H +#define _MUTT_MBYTE_H #include #include @@ -51,4 +51,4 @@ int my_wcwidth(wchar_t wc); int my_width(const char *str, int col, bool display); size_t width_ceiling(const wchar_t *s, size_t n, int w1); -#endif /* _LIB_MBYTE_H */ +#endif /* _MUTT_MBYTE_H */ diff --git a/lib/md5.c b/mutt/md5.c similarity index 100% rename from lib/md5.c rename to mutt/md5.c diff --git a/lib/md5.h b/mutt/md5.h similarity index 96% rename from lib/md5.h rename to mutt/md5.h index 7227c0f6e..3eb9564e3 100644 --- a/lib/md5.h +++ b/mutt/md5.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_MD5_H -#define _LIB_MD5_H +#ifndef _MUTT_MD5_H +#define _MUTT_MD5_H #include #include @@ -53,4 +53,4 @@ void md5_process_bytes(const void *buffer, size_t len, struct Md5Ctx *ctx); void *md5_read_ctx(const struct Md5Ctx *ctx, void *resbuf); int md5_stream(FILE *stream, void *resblock); -#endif /* _LIB_MD5_H */ +#endif /* _MUTT_MD5_H */ diff --git a/lib/memory.c b/mutt/memory.c similarity index 100% rename from lib/memory.c rename to mutt/memory.c diff --git a/lib/memory.h b/mutt/memory.h similarity index 93% rename from lib/memory.h rename to mutt/memory.h index 184805873..52b461c15 100644 --- a/lib/memory.h +++ b/mutt/memory.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_MEMORY_H -#define _LIB_MEMORY_H +#ifndef _MUTT_MEMORY_H +#define _MUTT_MEMORY_H #include @@ -39,4 +39,4 @@ void safe_realloc(void *ptr, size_t size); #define FREE(x) safe_free(x) -#endif /* _LIB_MEMORY_H */ +#endif /* _MUTT_MEMORY_H */ diff --git a/lib/message.c b/mutt/message.c similarity index 100% rename from lib/message.c rename to mutt/message.c diff --git a/lib/message.h b/mutt/message.h similarity index 93% rename from lib/message.h rename to mutt/message.h index 4a9bc60fe..d23d6bb3b 100644 --- a/lib/message.h +++ b/mutt/message.h @@ -20,8 +20,8 @@ * this program. If not, see . */ -#ifndef _LIB_MESSAGE_H -#define _LIB_MESSAGE_H +#ifndef _MUTT_MESSAGE_H +#define _MUTT_MESSAGE_H #ifdef ENABLE_NLS #include @@ -40,4 +40,4 @@ void (*mutt_error) (const char *format, ...); void (*mutt_message)(const char *format, ...); void (*mutt_perror) (const char *message); -#endif /* _LIB_MESSAGE_H */ +#endif /* _MUTT_MESSAGE_H */ diff --git a/lib/lib.h b/mutt/mutt.h similarity index 96% rename from lib/lib.h rename to mutt/mutt.h index fc529b5fd..ee1f64fbe 100644 --- a/lib/lib.h +++ b/mutt/mutt.h @@ -45,8 +45,8 @@ * -# @subpage string */ -#ifndef _LIB_LIB_H -#define _LIB_LIB_H +#ifndef _MUTT_MUTT_H +#define _MUTT_MUTT_H #include "base64.h" #include "buffer.h" @@ -64,4 +64,4 @@ #include "sha1.h" #include "string2.h" -#endif /* _LIB_LIB_H */ +#endif /* _MUTT_MUTT_H */ diff --git a/lib/queue.h b/mutt/queue.h similarity index 100% rename from lib/queue.h rename to mutt/queue.h diff --git a/lib/sha1.c b/mutt/sha1.c similarity index 100% rename from lib/sha1.c rename to mutt/sha1.c diff --git a/lib/sha1.h b/mutt/sha1.h similarity index 95% rename from lib/sha1.h rename to mutt/sha1.h index 8a36ac23b..47449598b 100644 --- a/lib/sha1.h +++ b/mutt/sha1.h @@ -22,8 +22,8 @@ * this program. If not, see . */ -#ifndef _LIB_SHA1_H -#define _LIB_SHA1_H +#ifndef _MUTT_SHA1_H +#define _MUTT_SHA1_H #include @@ -44,4 +44,4 @@ void sha1_update(struct Sha1Ctx *context, const unsigned char *data, uint32_t le #define SHA_DIGEST_LENGTH 20 -#endif /* _LIB_SHA1_H */ +#endif /* _MUTT_SHA1_H */ diff --git a/lib/string.c b/mutt/string.c similarity index 100% rename from lib/string.c rename to mutt/string.c diff --git a/lib/string2.h b/mutt/string2.h similarity index 98% rename from lib/string2.h rename to mutt/string2.h index c7dff15a1..e3c5bf5ea 100644 --- a/lib/string2.h +++ b/mutt/string2.h @@ -24,8 +24,8 @@ * #include */ -#ifndef _LIB_STRING_H -#define _LIB_STRING_H +#ifndef _MUTT_STRING_H +#define _MUTT_STRING_H #include #include @@ -91,4 +91,4 @@ char * skip_email_wsp(const char *s); char * strfcpy(char *dest, const char *src, size_t dlen); char * strnfcpy(char *dest, char *src, size_t size, size_t dlen); -#endif /* _LIB_STRING_H */ +#endif /* _MUTT_STRING_H */ diff --git a/mutt_account.c b/mutt_account.c index f2a0d1c9b..e1a80c289 100644 --- a/mutt_account.c +++ b/mutt_account.c @@ -23,7 +23,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "mutt_account.h" #include "globals.h" diff --git a/mutt_curses.h b/mutt_curses.h index b0bb13d65..0f4f068e2 100644 --- a/mutt_curses.h +++ b/mutt_curses.h @@ -25,9 +25,9 @@ #define _MUTT_CURSES_H #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "options.h" -#include "lib/queue.h" +#include "mutt/queue.h" #ifdef USE_SLANG_CURSES diff --git a/mutt_idna.c b/mutt_idna.c index 7a956fdca..b5673f593 100644 --- a/mutt_idna.c +++ b/mutt_idna.c @@ -24,7 +24,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt_idna.h" #include "address.h" #include "charset.h" diff --git a/mutt_lua.c b/mutt_lua.c index bac8db918..8b2cd84f5 100644 --- a/mutt_lua.c +++ b/mutt_lua.c @@ -29,7 +29,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "mutt_lua.h" #include "globals.h" diff --git a/mutt_notmuch.c b/mutt_notmuch.c index 1a010b38b..63471c885 100644 --- a/mutt_notmuch.c +++ b/mutt_notmuch.c @@ -46,7 +46,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "mutt_notmuch.h" #include "body.h" diff --git a/mutt_socket.c b/mutt_socket.c index 6e74ad365..53b67ce1a 100644 --- a/mutt_socket.c +++ b/mutt_socket.c @@ -23,8 +23,8 @@ #include "config.h" #include #include -#include "lib/lib.h" -#include "lib/queue.h" +#include "mutt/mutt.h" +#include "mutt/queue.h" #include "conn/conn.h" #include "mutt_socket.h" #include "globals.h" diff --git a/mutt_socket.h b/mutt_socket.h index ed3ff4ea8..f536554ab 100644 --- a/mutt_socket.h +++ b/mutt_socket.h @@ -23,7 +23,7 @@ #ifndef _MUTT_SOCKET_H #define _MUTT_SOCKET_H -#include "lib/queue.h" +#include "mutt/queue.h" #include "conn/conn.h" struct Account; diff --git a/mutt_tags.c b/mutt_tags.c index 000dd1c2c..fcac4d3a5 100644 --- a/mutt_tags.c +++ b/mutt_tags.c @@ -23,9 +23,9 @@ #include #include "config.h" -#include "lib/hash.h" -#include "lib/queue.h" -#include "lib/string2.h" +#include "mutt/hash.h" +#include "mutt/queue.h" +#include "mutt/string2.h" #include "globals.h" #include "mutt_tags.h" diff --git a/mutt_tags.h b/mutt_tags.h index 02d483fd4..cca9f811c 100644 --- a/mutt_tags.h +++ b/mutt_tags.h @@ -25,7 +25,7 @@ #include #include -#include "lib/queue.h" +#include "mutt/queue.h" /** * struct TagNode - LinkedList Tag Element diff --git a/muttlib.c b/muttlib.c index ed5ac8364..c7c33a8f0 100644 --- a/muttlib.c +++ b/muttlib.c @@ -43,7 +43,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/mx.c b/mx.c index 1a42caa74..5f66bde32 100644 --- a/mx.c +++ b/mx.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "mx.h" #include "address.h" diff --git a/ncrypt/crypt.c b/ncrypt/crypt.c index fd4a8042b..87b8580e1 100644 --- a/ncrypt/crypt.c +++ b/ncrypt/crypt.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/ncrypt/crypt_gpgme.c b/ncrypt/crypt_gpgme.c index 4d7f4994f..3a4c875d7 100644 --- a/ncrypt/crypt_gpgme.c +++ b/ncrypt/crypt_gpgme.c @@ -45,7 +45,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/ncrypt/crypt_mod.c b/ncrypt/crypt_mod.c index f809b2479..940ab4b1c 100644 --- a/ncrypt/crypt_mod.c +++ b/ncrypt/crypt_mod.c @@ -21,8 +21,8 @@ */ #include "config.h" -#include "lib/lib.h" -#include "lib/queue.h" +#include "mutt/mutt.h" +#include "mutt/queue.h" #include "crypt_mod.h" /** diff --git a/ncrypt/cryptglue.c b/ncrypt/cryptglue.c index fa729d874..c22c9a1cf 100644 --- a/ncrypt/cryptglue.c +++ b/ncrypt/cryptglue.c @@ -34,7 +34,7 @@ #include "config.h" #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "crypt_mod.h" #include "globals.h" #include "ncrypt.h" diff --git a/ncrypt/gnupgparse.c b/ncrypt/gnupgparse.c index a781c3f6e..93f49ce41 100644 --- a/ncrypt/gnupgparse.c +++ b/ncrypt/gnupgparse.c @@ -38,7 +38,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "charset.h" #include "filter.h" diff --git a/ncrypt/pgp.c b/ncrypt/pgp.c index 942aeb786..55e3d4eab 100644 --- a/ncrypt/pgp.c +++ b/ncrypt/pgp.c @@ -43,7 +43,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "body.h" diff --git a/ncrypt/pgpinvoke.c b/ncrypt/pgpinvoke.c index 30c6f7a1d..45c39cff0 100644 --- a/ncrypt/pgpinvoke.c +++ b/ncrypt/pgpinvoke.c @@ -30,7 +30,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "address.h" #include "filter.h" #include "format_flags.h" diff --git a/ncrypt/pgpkey.c b/ncrypt/pgpkey.c index bc2c56bef..ff4a77826 100644 --- a/ncrypt/pgpkey.c +++ b/ncrypt/pgpkey.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "pgpkey.h" #include "address.h" diff --git a/ncrypt/pgplib.c b/ncrypt/pgplib.c index e0ebf35cd..a3b7e03b4 100644 --- a/ncrypt/pgplib.c +++ b/ncrypt/pgplib.c @@ -24,7 +24,7 @@ #include "config.h" #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "pgplib.h" const char *pgp_pkalgbytype(unsigned char type) diff --git a/ncrypt/pgplib.h b/ncrypt/pgplib.h index b58e26e6a..1d198b722 100644 --- a/ncrypt/pgplib.h +++ b/ncrypt/pgplib.h @@ -28,7 +28,7 @@ #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" /** * struct PgpSignature - PGP Signature diff --git a/ncrypt/pgpmicalg.c b/ncrypt/pgpmicalg.c index aa91687a4..6aa01a464 100644 --- a/ncrypt/pgpmicalg.c +++ b/ncrypt/pgpmicalg.c @@ -31,7 +31,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "pgppacket.h" #include "protos.h" diff --git a/ncrypt/pgppacket.c b/ncrypt/pgppacket.c index c741d7506..110ffa23a 100644 --- a/ncrypt/pgppacket.c +++ b/ncrypt/pgppacket.c @@ -24,7 +24,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #define CHUNKSIZE 1024 diff --git a/ncrypt/smime.c b/ncrypt/smime.c index 41f0d912d..42457f88b 100644 --- a/ncrypt/smime.c +++ b/ncrypt/smime.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/newsrc.c b/newsrc.c index ce8925ac1..ee1c16cce 100644 --- a/newsrc.c +++ b/newsrc.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "bcache.h" diff --git a/nntp.c b/nntp.c index 8648ec5f7..9c5cd5c21 100644 --- a/nntp.c +++ b/nntp.c @@ -27,7 +27,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "nntp.h" diff --git a/pager.c b/pager.c index c3c3bfeb3..8fc7474ec 100644 --- a/pager.c +++ b/pager.c @@ -35,7 +35,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "alias.h" #include "attach.h" diff --git a/parameter.h b/parameter.h index d5d6e45cd..f37f1c49e 100644 --- a/parameter.h +++ b/parameter.h @@ -23,7 +23,7 @@ #ifndef _MUTT_PARAMETER_H #define _MUTT_PARAMETER_H -#include "lib/lib.h" +#include "mutt/mutt.h" /** * struct Parameter - Attribute associated with a MIME part diff --git a/parse.c b/parse.c index ce7c8ffaa..3cc119c2e 100644 --- a/parse.c +++ b/parse.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "body.h" #include "charset.h" diff --git a/pattern.c b/pattern.c index f70d9e59d..0815f6ccc 100644 --- a/pattern.c +++ b/pattern.c @@ -38,7 +38,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "body.h" diff --git a/pattern.h b/pattern.h index 7e64e36f4..114bb8c36 100644 --- a/pattern.h +++ b/pattern.h @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" struct Address; struct Buffer; diff --git a/pgppubring.c b/pgppubring.c index dce20b96e..2b34c1115 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -42,7 +42,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "ncrypt/ncrypt.h" #include "ncrypt/pgplib.h" #include "ncrypt/pgppacket.h" diff --git a/pop.c b/pop.c index 76b8a9850..620b46ab3 100644 --- a/pop.c +++ b/pop.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "pop.h" diff --git a/pop_auth.c b/pop_auth.c index 42478d075..7856b7bb8 100644 --- a/pop_auth.c +++ b/pop_auth.c @@ -24,7 +24,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "globals.h" diff --git a/pop_lib.c b/pop_lib.c index 7fc5fd1de..01a36cf45 100644 --- a/pop_lib.c +++ b/pop_lib.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "context.h" diff --git a/postpone.c b/postpone.c index f81330129..7c1ee8baf 100644 --- a/postpone.c +++ b/postpone.c @@ -29,7 +29,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "body.h" #include "context.h" diff --git a/query.c b/query.c index ca1338473..59e2cc81c 100644 --- a/query.c +++ b/query.c @@ -30,7 +30,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/recvattach.c b/recvattach.c index 0bcd068bb..2b3d7a454 100644 --- a/recvattach.c +++ b/recvattach.c @@ -31,7 +31,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "attach.h" #include "body.h" diff --git a/recvcmd.c b/recvcmd.c index c3587d48a..babafcf56 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -25,7 +25,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "alias.h" #include "attach.h" diff --git a/remailer.c b/remailer.c index d925562f7..a7b3ae5a9 100644 --- a/remailer.c +++ b/remailer.c @@ -30,7 +30,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "remailer.h" #include "address.h" diff --git a/resize.c b/resize.c index a343ed05e..f1de053d3 100644 --- a/resize.c +++ b/resize.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt_curses.h" #ifdef HAVE_SYS_IOCTL_H #include diff --git a/rfc1524.c b/rfc1524.c index 5bae77504..ab2b3fe0f 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -35,7 +35,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "rfc1524.h" #include "body.h" diff --git a/rfc2047.c b/rfc2047.c index c41a991bd..039affe8c 100644 --- a/rfc2047.c +++ b/rfc2047.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "rfc2047.h" #include "address.h" #include "charset.h" diff --git a/rfc2231.c b/rfc2231.c index b7a080887..ed23aa573 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -34,7 +34,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "rfc2231.h" #include "charset.h" #include "globals.h" diff --git a/rfc3676.c b/rfc3676.c index dac8cbe40..8c42f1545 100644 --- a/rfc3676.c +++ b/rfc3676.c @@ -29,7 +29,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "body.h" #include "globals.h" diff --git a/rfc822.c b/rfc822.c index dd4c2e6c7..3d604c0e8 100644 --- a/rfc822.c +++ b/rfc822.c @@ -53,7 +53,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "rfc822.h" #include "mutt_idna.h" diff --git a/rfc822.h b/rfc822.h index 55e6bd3ab..cc63232dd 100644 --- a/rfc822.h +++ b/rfc822.h @@ -27,7 +27,7 @@ #include #include #include "address.h" -#include "lib/lib.h" +#include "mutt/mutt.h" /** * enum AddressError - possible values for RFC822Error diff --git a/safe_asprintf.c b/safe_asprintf.c index 77d110804..f9e35ef7c 100644 --- a/safe_asprintf.c +++ b/safe_asprintf.c @@ -22,7 +22,7 @@ #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" /* NOTE: Currently there is no check in configure.ac for vasprintf(3). the * undefined behavior of the error condition makes it difficult to write a safe diff --git a/score.c b/score.c index 44f501d8c..c9b5db88c 100644 --- a/score.c +++ b/score.c @@ -23,7 +23,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "context.h" #include "globals.h" diff --git a/send.c b/send.c index 7f7a1351c..c18b4ad8b 100644 --- a/send.c +++ b/send.c @@ -32,7 +32,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "alias.h" diff --git a/sendlib.c b/sendlib.c index ec00ad4d1..fa2997551 100644 --- a/sendlib.c +++ b/sendlib.c @@ -38,7 +38,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "address.h" #include "body.h" diff --git a/sidebar.c b/sidebar.c index 3eda364af..3681e51a6 100644 --- a/sidebar.c +++ b/sidebar.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "sidebar.h" #include "buffy.h" diff --git a/signal.c b/signal.c index e6fb41641..0f5ebb302 100644 --- a/signal.c +++ b/signal.c @@ -26,7 +26,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "globals.h" #include "mutt_curses.h" #include "options.h" diff --git a/smtp.c b/smtp.c index d308b3940..e4aa27460 100644 --- a/smtp.c +++ b/smtp.c @@ -31,7 +31,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "conn/conn.h" #include "mutt.h" #include "address.h" diff --git a/sort.c b/sort.c index 2ebb10a06..e51a4c6be 100644 --- a/sort.c +++ b/sort.c @@ -23,7 +23,7 @@ #include "config.h" #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "sort.h" #include "address.h" diff --git a/sort.h b/sort.h index 6b3a62295..18c66a721 100644 --- a/sort.h +++ b/sort.h @@ -24,7 +24,7 @@ #define _MUTT_SORT_H #include "where.h" -#include "lib/mapping.h" +#include "mutt/mapping.h" struct Address; struct Context; diff --git a/status.c b/status.c index 480a81746..10f77d104 100644 --- a/status.c +++ b/status.c @@ -22,7 +22,7 @@ #include "config.h" #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "context.h" #include "format_flags.h" #include "globals.h" diff --git a/thread.c b/thread.c index 41bdfacee..fad10c8fe 100644 --- a/thread.c +++ b/thread.c @@ -25,7 +25,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "thread.h" #include "body.h" diff --git a/url.c b/url.c index 87c0451e6..a90565008 100644 --- a/url.c +++ b/url.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #include "mutt.h" #include "url.h" #include "envelope.h" diff --git a/url.h b/url.h index 2c1051d10..7cebe6768 100644 --- a/url.h +++ b/url.h @@ -22,7 +22,7 @@ #define _MUTT_URL_H #include -#include "lib/queue.h" +#include "mutt/queue.h" struct Envelope; diff --git a/version.c b/version.c index a46668fe2..e3a2f3044 100644 --- a/version.c +++ b/version.c @@ -28,7 +28,7 @@ #include #include #include -#include "lib/lib.h" +#include "mutt/mutt.h" #ifdef HAVE_STRINGPREP_H #include #elif defined(HAVE_IDN_STRINGPREP_H) -- 2.40.0