X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl.h;h=97a3fabcc8b2df70fd8c22ec59c3ebe76f8e7f20;hp=8e1c652bb0f1aafbae86bf879e0ab23c46b68366;hb=0995d7520848a31481107d897b9a930bff222ce7;hpb=df70e07e24add1869bcc9b7af2277d9d0c09a281 diff --git a/mutt_ssl.h b/mutt_ssl.h index 8e1c652..97a3fab 100644 --- a/mutt_ssl.h +++ b/mutt_ssl.h @@ -1,19 +1,10 @@ /* + * Copyright notice from original mutt: * Copyright (C) 1999-2000 Tommi Komulainen - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * 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, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. */ #ifndef _MUTT_SSL_H_ @@ -21,17 +12,11 @@ #include "mutt_socket.h" -#ifdef USE_SSL +#if defined (USE_SSL) || defined (USE_GNUTLS) + int mutt_ssl_starttls (CONNECTION * conn); +int mutt_ssl_socket_setup (CONNECTION * conn); -extern int ssl_socket_setup (CONNECTION * conn); #endif -#ifdef USE_GNUTLS -int mutt_gnutls_starttls (CONNECTION * conn); -extern int mutt_gnutls_socket_setup (CONNECTION * conn); -#endif -#ifdef USE_NSS -int mutt_nss_socket_setup (CONNECTION * conn); -#endif #endif /* _MUTT_SSL_H_ */