From 4ec3d91a7c74be946d141f25897a492160b3d611 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Fri, 3 Jul 2009 01:45:46 -0300 Subject: [PATCH] Export ssl connection driver in header and reorganize Makefile.am. This includes hcconn_ssl.c effectively into the building system and headers, allowing it to be used by other modules. --- Makefile.am | 4 ++-- hcconn.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 41a102c..2e9f9f1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ bin_PROGRAMS = popproxy ppmanager popproxy_SOURCES = popproxy.c log.c log.h nethook.c nethook.h \ - hcconn.c hcconn.h tcp_connect.h tcp_connect.c tcp_server.c \ - hcconn_internal.h \ + tcp_connect.h tcp_connect.c tcp_server.c \ + hcconn.c hcconn.h hcconn_internal.h hcconn_ssl.c \ null.c null.h ssl.c ssl.h \ ssl_server.c pop.c pop.h usermap.c usermap.h dist_sysconf_DATA = popproxy.conf diff --git a/hcconn.h b/hcconn.h index eb444f1..b0920d8 100644 --- a/hcconn.h +++ b/hcconn.h @@ -46,5 +46,6 @@ void hc_conn_close (HCConn *); void hc_conn_set_callback (HCConn *, HCClientFunc, gpointer); void hc_conn_set_driver_channel (HCConn *, int); +void hc_conn_set_driver_ssl (HCConn *, HCConn *); #endif -- 2.20.1