diff libpurple/sslconn.h @ 21190:34de8ef19294

Honor a PURPLE_DISABLE_DEPRECATED define to allow plugins to catch deprecated functions earlier rather than later.
author Richard Laager <rlaager@wiktel.com>
date Sat, 06 Oct 2007 22:59:09 +0000
parents f56ce942adf2
children d604027959a5
line wrap: on
line diff
--- a/libpurple/sslconn.h	Sat Oct 06 22:47:38 2007 +0000
+++ b/libpurple/sslconn.h	Sat Oct 06 22:59:09 2007 +0000
@@ -185,6 +185,7 @@
 									PurpleSslErrorFunction error_func,
 									void *data);
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * Makes a SSL connection using an already open file descriptor.
  *
@@ -202,6 +203,7 @@
 									   PurpleSslInputFunction func,
 									   PurpleSslErrorFunction error_func,
  									   void *data);
+#endif
 
 /**
   * Makes a SSL connection using an already open file descriptor.