Go to the source code of this file.
Functions | |
struct Connection * | mutt_conn_find (const struct ConnAccount *account) |
Find a connection from a list. | |
struct Connection * | mutt_conn_new (const struct ConnAccount *account) |
Create a new Connection. | |
NeoMutt connections.
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 mutt_socket.h.
struct Connection * mutt_conn_find | ( | const struct ConnAccount * | cac | ) |
Find a connection from a list.
cac | ConnAccount to match |
ptr | Matching Connection |
find a connection off the list of connections whose account matches cac. If start is not null, only search for connections after the given connection (allows higher level socket code to make more fine-grained searches than account info. Eg in IMAP we may wish to find a connection which is not in IMAP_SELECTED state)
Definition at line 90 of file mutt_socket.c.
struct Connection * mutt_conn_new | ( | const struct ConnAccount * | cac | ) |
Create a new Connection.
cac | Credentials to use |
ptr | New Connection |
Definition at line 49 of file mutt_socket.c.