[asterisk-commits] oej: branch oej/midcom-0.5.3.2 r53713 - in /team/oej/midcom-0.5.3.2/midcom: ....

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 9 09:05:15 MST 2007


Author: oej
Date: Fri Feb  9 10:05:14 2007
New Revision: 53713

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53713
Log:
Update - move debug to functions instead of checking variable

Modified:
    team/oej/midcom-0.5.3.2/midcom/simco_client.h
    team/oej/midcom-0.5.3.2/midcom/src/simco_core.c

Modified: team/oej/midcom-0.5.3.2/midcom/simco_client.h
URL: http://svn.digium.com/view/asterisk/team/oej/midcom-0.5.3.2/midcom/simco_client.h?view=diff&rev=53713&r1=53712&r2=53713
==============================================================================
--- team/oej/midcom-0.5.3.2/midcom/simco_client.h (original)
+++ team/oej/midcom-0.5.3.2/midcom/simco_client.h Fri Feb  9 10:05:14 2007
@@ -70,7 +70,10 @@
 
   extern int debug_midbox;
 
-  extern int mc_init(char *cert);
+  extern int set_debug_midbox(int status);
+  extern int check_debug_midbox(void);
+
+  extern int mc_init(char *trust_cert);
 
   extern int  mc_comm_connect(struct in_addr ip, int *errnum);
   extern void mc_comm_disconnect(int i);

Modified: team/oej/midcom-0.5.3.2/midcom/src/simco_core.c
URL: http://svn.digium.com/view/asterisk/team/oej/midcom-0.5.3.2/midcom/src/simco_core.c?view=diff&rev=53713&r1=53712&r2=53713
==============================================================================
--- team/oej/midcom-0.5.3.2/midcom/src/simco_core.c (original)
+++ team/oej/midcom-0.5.3.2/midcom/src/simco_core.c Fri Feb  9 10:05:14 2007
@@ -74,6 +74,18 @@
 static int checkSizeToRead(char *buff, int len);
 #endif
 extern int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
+
+int set_debug_midbox(int status)
+{
+       debug_midbox = status;
+       return status;
+}
+
+int check_debug_midbox()
+{
+       return debug_midbox;
+}
+
 
 /**
  * Initializes the SSL library and global variables.



More information about the asterisk-commits mailing list