[Freeswitch-branches] [commit] r11926 - freeswitch/branches/gmaruzz/mod_skypiax/configs

FreeSWITCH SVN gmaruzz at freeswitch.org
Thu Feb 12 07:10:40 PST 2009


Author: gmaruzz
Date: Thu Feb 12 09:10:40 2009
New Revision: 11926

Log:
skypiax: cleaning

Modified:
   freeswitch/branches/gmaruzz/mod_skypiax/configs/skypiax_auth.c

Modified: freeswitch/branches/gmaruzz/mod_skypiax/configs/skypiax_auth.c
==============================================================================
--- freeswitch/branches/gmaruzz/mod_skypiax/configs/skypiax_auth.c	(original)
+++ freeswitch/branches/gmaruzz/mod_skypiax/configs/skypiax_auth.c	Thu Feb 12 09:10:40 2009
@@ -39,7 +39,7 @@
 }
 
 
-int skypiax_skype_send_message(struct SkypiaxHandles *SkypiaxHandles,
+int skypiax_send_message(struct SkypiaxHandles *SkypiaxHandles,
                                const char *message_P)
 {
 
@@ -87,7 +87,7 @@
   return 1;
 }
 
-int skypiax_skype_present(struct SkypiaxHandles *SkypiaxHandles)
+int skypiax_present(struct SkypiaxHandles *SkypiaxHandles)
 {
   Atom skype_inst = XInternAtom(SkypiaxHandles->disp, "_SKYPE_INSTANCE", True);
 
@@ -118,7 +118,7 @@
   return 1;
 }
 
-void skypiax_skype_clean_disp(void *data)
+void skypiax_clean_disp(void *data)
 {
 
   int *dispptr;
@@ -159,7 +159,7 @@
 
   SkypiaxHandles.disp = disp;
 
-  if (skypiax_skype_present(&SkypiaxHandles)) {
+  if (skypiax_present(&SkypiaxHandles)) {
     root = DefaultRootWindow(disp);
     win =
       XCreateSimpleWindow(disp, root, 0, 0, 1, 1, 0,
@@ -171,13 +171,13 @@
 
     snprintf(buf, 512, "NAME skypiax");
 
-    if (!skypiax_skype_send_message(&SkypiaxHandles, buf)) {
+    if (!skypiax_send_message(&SkypiaxHandles, buf)) {
       printf ("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch skypiax_auth again\n");
       return -1;
     }
 
     snprintf(buf, 512, "PROTOCOL 6");
-    if (!skypiax_skype_send_message(&SkypiaxHandles, buf)) {
+    if (!skypiax_send_message(&SkypiaxHandles, buf)) {
       printf ("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch skypiax_auth again\n");
       return -1;
     }



More information about the Freeswitch-branches mailing list