#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | AliasFunction |
A NeoMutt function. More... | |
Typedefs | |
typedef int(* | alias_function_t) (struct AliasMenuData *wdata, int op) |
Functions | |
void | alias_array_sort (struct AliasViewArray *ava, const struct ConfigSubset *sub) |
Sort and reindex an AliasViewArray. | |
int | alias_function_dispatcher (struct MuttWindow *win, int op) |
Perform a Alias function - Implements function_dispatcher_t -. | |
bool | alias_to_addrlist (struct AddressList *al, struct Alias *alias) |
Turn an Alias into an AddressList. | |
int | query_run (const char *s, bool verbose, struct AliasList *al, const struct ConfigSubset *sub) |
Run an external program to find Addresses. | |
Alias functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file functions.h.
typedef int(* alias_function_t) (struct AliasMenuData *wdata, int op) |
Definition at line 46 of file functions.h.
void alias_array_sort | ( | struct AliasViewArray * | ava, |
const struct ConfigSubset * | sub | ||
) |
Sort and reindex an AliasViewArray.
ava | Array of Aliases |
sub | Config items |
Definition at line 168 of file sort.c.
bool alias_to_addrlist | ( | struct AddressList * | al, |
struct Alias * | alias | ||
) |
Turn an Alias into an AddressList.
al | AddressList to fill (must be empty) |
alias | Alias to use |
true | Success |
Definition at line 121 of file dlg_query.c.
int query_run | ( | const char * | s, |
bool | verbose, | ||
struct AliasList * | al, | ||
const struct ConfigSubset * | sub | ||
) |
Run an external program to find Addresses.
s | String to match |
verbose | If true, print progress messages |
al | Alias list to fill |
sub | Config items |
0 | Success |
-1 | Error |
Definition at line 275 of file dlg_query.c.