* Rewrite support for specific SSL encryption protocols, including
[alpine.git] / alpine / addrbook.h
blobf55f6f608f21af072bd1f1d23f780d51ba186396
1 /*
2 * $Id: addrbook.h 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2008 University of Washington
6 * Copyright 2013-2018 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_ADDRBOOK_INCLUDED
18 #define PINE_ADDRBOOK_INCLUDED
21 #include "../pith/adrbklib.h"
22 #include "../pith/state.h"
26 * Flags to abook_nickname_complete().
27 * ANC_AFTERCOMMA means the passed in prefix
28 * looks like "stuff, stuff, prefix" and
29 * we are to peel off the stuff before the prefix,
30 * look for matches, then put the stuff back before
31 * returning the answer.
33 #define ANC_AFTERCOMMA 0x1
36 /* exported protoypes */
37 int cur_is_open(void);
38 void init_disp_form(PerAddrBook *, char **, int);
39 void init_abook_screen(void);
40 void save_and_restore(int, SAVE_STATE_S *);
41 void save_state(SAVE_STATE_S *);
42 void restore_state(SAVE_STATE_S *);
43 AdrBk_Entry *ae(long);
44 char *get_abook_display_line(long, int, char **, char **, int *, char *, size_t);
45 void addr_book_screen(struct pine *);
46 void addr_book_config(struct pine *, int);
47 char *addr_book_oneaddr(void);
48 char *addr_book_multaddr_nf(void);
49 char *addr_book_oneaddr_nf(void);
50 char *addr_book_compose(char **);
51 char *addr_book_compose_lcc(char **);
52 char *addr_book_change_list(char **);
53 char *addr_book_bounce(void);
54 char *addr_book_takeaddr(void);
55 char *addr_book_nick_for_edit(char **);
56 char *addr_book_selnick(void);
57 char *abook_select_screen(struct pine *);
58 int abook_nickname_complete(char *, char **, int, unsigned);
59 int is_addr(long);
60 long first_line(long);
61 void ab_resize(void);
62 int cur_addr_book(void);
63 int resync_screen(PerAddrBook *, AddrBookArg, int);
64 int nickname_check(char *, char **);
65 int calculate_field_widths(void);
66 void erase_selections(void);
69 #endif /* PINE_ADDRBOOK_INCLUDED */