Priority: -7
- Regex: '".*_private\.h"'
Priority: -6
- - Regex: '"lib/.*\.h"'
+ - Regex: '"mutt/.*\.h"'
Priority: -4
- Regex: '"conn/.*\.h"'
Priority: -3
--with-sasl \
--with-tokyocabinet
-SUBDIRS = m4 contrib imap ncrypt lib conn
+SUBDIRS = m4 contrib imap ncrypt mutt conn
if BUILD_HCACHE
SUBDIRS += hcache
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)
###############################################################################
# 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)
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
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <string.h>
#include <wchar.h>
#include <wctype.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
FREE(&t);
}
}
-
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "attach.h"
#include "body.h"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "bcache.h"
#include "globals.h"
#include "mutt_account.h"
#include <limits.h>
#include <string.h>
#include <unistd.h>
-#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"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "attach.h"
#include <string.h>
#include <sys/stat.h>
#include <utime.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "buffy.h"
#include "context.h"
#include <limits.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "charset.h"
#include "globals.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "globals.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "alias.h"
#include "body.h"
#include <limits.h>
#include <string.h>
#include <sys/stat.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "globals.h"
#include "options.h"
#include "protos.h"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "alias.h"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "compress.h"
#include "context.h"
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:
#include <stdio.h>
#include <time.h>
-#include "lib/queue.h"
+#include "mutt/queue.h"
#include "account.h"
#define LONG_STRING 1024
#include <sys/socket.h>
#include <time.h>
#include <unistd.h>
-#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
#include <string.h>
#include <sys/socket.h>
#include <time.h>
-#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"
#include "config.h"
#include <stdio.h>
-#include "lib/base64.h"
-#include "lib/string2.h"
+#include "mutt/base64.h"
+#include "mutt/string2.h"
/**
* mutt_sasl_plain_msg - Create an SASL command
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
-#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"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#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"
#include <string.h>
#include <sys/stat.h>
#include <time.h>
-#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"
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
-#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"
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "copy.h"
#include "address.h"
* * #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];
#include <termios.h>
#include <unistd.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "enter_state.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "alias.h"
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "alias.h"
#include "body.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "copy.h"
* @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];
#include <string.h>
#include <wchar.h>
#include <wctype.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "enter_state.h"
#include "globals.h"
* @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;
#define _MUTT_ENTER_STATE_H
#include <stddef.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
/**
* struct EnterState - Keep our place when entering a string
#include "config.h"
#include <stddef.h>
-#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"
#define _MUTT_ENVELOPE_H
#include <stdbool.h>
-#include "lib/list.h"
+#include "mutt/list.h"
/**
* struct Envelope - The header of an email
#include "config.h"
#include <stddef.h>
#include <stdbool.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "globals.h"
#include <stdio.h>
#include <string.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "globals.h"
#include "protos.h"
#define _MUTT_GLOBALS_H
#include <signal.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "where.h"
#include "mutt_regex.h"
#include "config.h"
#include <stdlib.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "group.h"
#include "address.h"
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "body.h"
#include "charset.h"
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
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
#include "globals.h"
#include "mx.h"
#include "config.h"
#include <stddef.h>
#include <gdbm.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
#include "globals.h"
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "address.h"
#include "backend.h"
#include "body.h"
#include <kclangc.h>
#include <limits.h>
#include <stdio.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
#include "options.h"
#include "config.h"
#include <stddef.h>
#include <lmdb.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
/** The maximum size of the database file (2GiB).
#include <stddef.h>
#include <depot.h>
#include <villa.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
#include "options.h"
#include <stddef.h>
#include <tcbdb.h>
#include <tcutil.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "backend.h"
#include "options.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "body.h"
#include <stdio.h>
#include <sys/stat.h>
#include <time.h>
-#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"
STAILQ_INIT(&h->tags);
return h;
}
-
#include <stddef.h>
#include <stdbool.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt_tags.h"
/**
#include <stdio.h>
#include <string.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "globals.h"
#include "keymap.h"
#include "mbyte.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "history.h"
#include "charset.h"
#include "globals.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "context.h"
#include "config.h"
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "auth.h"
#include "globals.h"
#include "protos.h"
#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"
#include <stdio.h>
#include <string.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "auth.h"
#include "globals.h"
#include <stdio.h>
#include <string.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "auth.h"
#include "config.h"
#include <stdio.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "auth.h"
#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"
#include <stdio.h>
#include <string.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "auth.h"
#include "globals.h"
#include <stdio.h>
#include <string.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "browser.h"
#include "buffy.h"
#include <string.h>
#include <time.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "buffy.h"
#include "context.h"
#include <time.h>
#include <unistd.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "imap.h"
#include <stdbool.h>
#include <stdio.h>
#include <time.h>
-#include "lib/list.h"
+#include "mutt/list.h"
#ifdef USE_HCACHE
#include "hcache/hcache.h"
#endif
#include <string.h>
#include <unistd.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "message.h"
#include <stdbool.h>
#include <time.h>
-#include "lib/list.h"
+#include "mutt/list.h"
/**
* struct ImapHeaderData - IMAP-specific header data
#include "config.h"
#include <string.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "charset.h"
#include "globals.h"
#include <time.h>
#include <unistd.h>
#include "imap_private.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "bcache.h"
#include <sys/utsname.h>
#include <unistd.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "init.h"
#include "address.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "keymap.h"
#include "functions.h"
#define _MUTT_KEYMAP_H
#include <stddef.h>
-#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
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "address.h"
#include <time.h>
#include <unistd.h>
#include <utime.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "body.h"
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);
#include <stdbool.h>
#include <string.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mbyte.h"
#include "charset.h"
#include "options.h"
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_MBYTE_H
-#define _MUTT_MBYTE_H
+#ifndef _NEOMUTT_MBYTE_H
+#define _NEOMUTT_MBYTE_H
#include <stdbool.h>
#include <stddef.h>
bool is_display_corrupting_utf8(wchar_t wc);
int mutt_filter_unprintable(char **s);
-#endif /* _MUTT_MBYTE_H */
+#endif /* _NEOMUTT_MBYTE_H */
#include <stdio.h>
#include <string.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "globals.h"
#include <time.h>
#include <unistd.h>
#include <utime.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "body.h"
#include "buffy.h"
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_BASE64_H
-#define _LIB_BASE64_H
+#ifndef _MUTT_BASE64_H
+#define _MUTT_BASE64_H
#include <stdio.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_BUFFER_H
-#define _LIB_BUFFER_H
+#ifndef _MUTT_BUFFER_H
+#define _MUTT_BUFFER_H
#include <stddef.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_DATE_H
-#define _LIB_DATE_H
+#ifndef _MUTT_DATE_H
+#define _MUTT_DATE_H
#include <stdbool.h>
#include <time.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#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, ...);
#define mutt_debug(...) do { } while (0)
#endif
-#endif /* _LIB_DEBUG_H */
+#endif /* _MUTT_DEBUG_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#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 */
return ((st.st_size == 0));
}
-
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_FILE_H
-#define _LIB_FILE_H
+#ifndef _MUTT_FILE_H
+#define _MUTT_FILE_H
#include <stdio.h>
#include <sys/types.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_HASH_H
-#define _LIB_HASH_H
+#ifndef _MUTT_HASH_H
+#define _MUTT_HASH_H
#include <stdbool.h>
struct HashElem *hash_walk(const struct Hash *table, struct HashWalkState *state);
-#endif /* _LIB_HASH_H */
+#endif /* _MUTT_HASH_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_LIST_H
-#define _LIB_LIST_H
+#ifndef _MUTT_LIST_H
+#define _MUTT_LIST_H
#include <string.h>
#include <stdbool.h>
-#include "lib/queue.h"
+#include "mutt/queue.h"
/**
* struct ListNode - A List node for strings
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 */
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;
}
-
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_MBYTE_H
-#define _LIB_MBYTE_H
+#ifndef _MUTT_MBYTE_H
+#define _MUTT_MBYTE_H
#include <stddef.h>
#include <ctype.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_MD5_H
-#define _LIB_MD5_H
+#ifndef _MUTT_MD5_H
+#define _MUTT_MD5_H
#include <stdint.h>
#include <stdio.h>
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 */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_MEMORY_H
-#define _LIB_MEMORY_H
+#ifndef _MUTT_MEMORY_H
+#define _MUTT_MEMORY_H
#include <stddef.h>
#define FREE(x) safe_free(x)
-#endif /* _LIB_MEMORY_H */
+#endif /* _MUTT_MEMORY_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_MESSAGE_H
-#define _LIB_MESSAGE_H
+#ifndef _MUTT_MESSAGE_H
+#define _MUTT_MESSAGE_H
#ifdef ENABLE_NLS
#include <libintl.h>
void (*mutt_message)(const char *format, ...);
void (*mutt_perror) (const char *message);
-#endif /* _LIB_MESSAGE_H */
+#endif /* _MUTT_MESSAGE_H */
* -# @subpage string
*/
-#ifndef _LIB_LIB_H
-#define _LIB_LIB_H
+#ifndef _MUTT_MUTT_H
+#define _MUTT_MUTT_H
#include "base64.h"
#include "buffer.h"
#include "sha1.h"
#include "string2.h"
-#endif /* _LIB_LIB_H */
+#endif /* _MUTT_MUTT_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _LIB_SHA1_H
-#define _LIB_SHA1_H
+#ifndef _MUTT_SHA1_H
+#define _MUTT_SHA1_H
#include <stdint.h>
#define SHA_DIGEST_LENGTH 20
-#endif /* _LIB_SHA1_H */
+#endif /* _MUTT_SHA1_H */
* #include <string.h>
*/
-#ifndef _LIB_STRING_H
-#define _LIB_STRING_H
+#ifndef _MUTT_STRING_H
+#define _MUTT_STRING_H
#include <ctype.h>
#include <stdbool.h>
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 */
#include "config.h"
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "mutt_account.h"
#include "globals.h"
#define _MUTT_CURSES_H
#include <regex.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "options.h"
-#include "lib/queue.h"
+#include "mutt/queue.h"
#ifdef USE_SLANG_CURSES
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt_idna.h"
#include "address.h"
#include "charset.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "mutt_lua.h"
#include "globals.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "mutt_notmuch.h"
#include "body.h"
#include "config.h"
#include <stdio.h>
#include <string.h>
-#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"
#ifndef _MUTT_SOCKET_H
#define _MUTT_SOCKET_H
-#include "lib/queue.h"
+#include "mutt/queue.h"
#include "conn/conn.h"
struct Account;
#include <stddef.h>
#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"
#include <stdbool.h>
#include <stddef.h>
-#include "lib/queue.h"
+#include "mutt/queue.h"
/**
* struct TagNode - LinkedList Tag Element
#include <unistd.h>
#include <utime.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <time.h>
#include <unistd.h>
#include <utime.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "mx.h"
#include "address.h"
#include <stdio.h>
#include <string.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
*/
#include "config.h"
-#include "lib/lib.h"
-#include "lib/queue.h"
+#include "mutt/mutt.h"
+#include "mutt/queue.h"
#include "crypt_mod.h"
/**
#include "config.h"
#include <stdio.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "crypt_mod.h"
#include "globals.h"
#include "ncrypt.h"
#include <string.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "charset.h"
#include "filter.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "body.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "address.h"
#include "filter.h"
#include "format_flags.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "pgpkey.h"
#include "address.h"
#include "config.h"
#include <stdbool.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "pgplib.h"
const char *pgp_pkalgbytype(unsigned char type)
#include <stdbool.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
/**
* struct PgpSignature - PGP Signature
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "pgppacket.h"
#include "protos.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#define CHUNKSIZE 1024
#include <string.h>
#include <sys/stat.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "bcache.h"
#include <limits.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "nntp.h"
#include <sys/stat.h>
#include <unistd.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "alias.h"
#include "attach.h"
#ifndef _MUTT_PARAMETER_H
#define _MUTT_PARAMETER_H
-#include "lib/lib.h"
+#include "mutt/mutt.h"
/**
* struct Parameter - Attribute associated with a MIME part
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "body.h"
#include "charset.h"
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "body.h"
#include <regex.h>
#include <stdbool.h>
#include <stddef.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
struct Address;
struct Buffer;
#include <string.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "ncrypt/ncrypt.h"
#include "ncrypt/pgplib.h"
#include "ncrypt/pgppacket.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "pop.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "globals.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "context.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "body.h"
#include "context.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "attach.h"
#include "body.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "alias.h"
#include "attach.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "remailer.h"
#include "address.h"
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt_curses.h"
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "rfc1524.h"
#include "body.h"
#include <errno.h>
#include <iconv.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "rfc2047.h"
#include "address.h"
#include "charset.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "rfc2231.h"
#include "charset.h"
#include "globals.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "body.h"
#include "globals.h"
#include "config.h"
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "rfc822.h"
#include "mutt_idna.h"
#include <stddef.h>
#include <stdbool.h>
#include "address.h"
-#include "lib/lib.h"
+#include "mutt/mutt.h"
/**
* enum AddressError - possible values for RFC822Error
#include <stdarg.h>
#include <stdio.h>
-#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
#include "config.h"
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "context.h"
#include "globals.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "alias.h"
#include <time.h>
#include <unistd.h>
#include <wchar.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "address.h"
#include "body.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "sidebar.h"
#include "buffy.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "globals.h"
#include "mutt_curses.h"
#include "options.h"
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "conn/conn.h"
#include "mutt.h"
#include "address.h"
#include "config.h"
#include <stdlib.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "sort.h"
#include "address.h"
#define _MUTT_SORT_H
#include "where.h"
-#include "lib/mapping.h"
+#include "mutt/mapping.h"
struct Address;
struct Context;
#include "config.h"
#include <stdio.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "context.h"
#include "format_flags.h"
#include "globals.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "thread.h"
#include "body.h"
#include <ctype.h>
#include <stdio.h>
#include <string.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#include "mutt.h"
#include "url.h"
#include "envelope.h"
#define _MUTT_URL_H
#include <stddef.h>
-#include "lib/queue.h"
+#include "mutt/queue.h"
struct Envelope;
#include <string.h>
#include <sys/utsname.h>
#include <unistd.h>
-#include "lib/lib.h"
+#include "mutt/mutt.h"
#ifdef HAVE_STRINGPREP_H
#include <stringprep.h>
#elif defined(HAVE_IDN_STRINGPREP_H)