Prototype for a text handler function for mutt_file_map_lines()
More...
Prototype for a text handler function for mutt_file_map_lines()
- Parameters
-
line | Line of text read |
line_num | Line number |
user_data | Data to pass to the callback function |
- Return values
-
true | Read was successful |
false | Abort the reading and free the string |
◆ add_query_msgid()
static bool add_query_msgid |
( |
char * |
line, |
|
|
int |
line_num, |
|
|
void * |
user_data |
|
) |
| |
|
static |
Parse a Message-Id and add it to a list - Implements mutt_file_map_t -.
- Return values
-
Definition at line 123 of file compile.c.
124{
125 struct ListHead *msgid_list = (struct ListHead *) (user_data);
127 if (*nows == '\0')
128 return true;
131 return true;
132}
struct ListNode * mutt_list_insert_tail(struct ListHead *h, char *s)
Append a string to the end of a List.
void mutt_str_remove_trailing_ws(char *s)
Trim trailing whitespace from a string.
char * mutt_str_dup(const char *str)
Copy a string, safely.
char * mutt_str_skip_whitespace(const char *p)
Find the first non-whitespace character in a string.