projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not make semicolons special in the config file anymore.
[apps/madmutt.git]
/
lib-lib
/
list.h
diff --git
a/lib-lib/list.h
b/lib-lib/list.h
index
2dac0f8
..
bba82b1
100644
(file)
--- a/
lib-lib/list.h
+++ b/
lib-lib/list.h
@@
-25,9
+25,6
@@
#ifndef MUTT_LIB_LIB_LIST_H
#define MUTT_LIB_LIB_LIST_H
#ifndef MUTT_LIB_LIB_LIST_H
#define MUTT_LIB_LIB_LIST_H
-#include "mem.h"
-#include "str.h"
-
#define DO_SLIST(type, prefix, dtor) \
static inline type *prefix##_list_pop(type **list) { \
if (*list) { \
#define DO_SLIST(type, prefix, dtor) \
static inline type *prefix##_list_pop(type **list) { \
if (*list) { \
@@
-82,6
+79,7
@@
DO_DELETE(string_list_t, string_item);
DO_SLIST(string_list_t, string, string_item_delete);
string_list_t *string_list_dup(const string_list_t *);
DO_SLIST(string_list_t, string, string_item_delete);
string_list_t *string_list_dup(const string_list_t *);
+int string_list_contains(const string_list_t *, const char *, const char *);
/* FIXME: b0rken API's, replace that at any cost */
/* add an element to a list */
/* FIXME: b0rken API's, replace that at any cost */
/* add an element to a list */