Change socks5.c to s5b.c in the headers and cmakelist
authorNicolas Cornu <nicolas.cornu@ensi-bourges.fr>
Sun, 12 Sep 2010 18:20:53 +0200
changeset 167 97f93fa3cd95
parent 166 c42c167a2a5c
child 168 f699f6b47613
Change socks5.c to s5b.c in the headers and cmakelist
jingle-s5b/CMakeLists.txt
jingle-s5b/s5b.c
jingle-s5b/s5b.h
--- a/jingle-s5b/CMakeLists.txt	Wed Sep 01 20:34:23 2010 +0200
+++ b/jingle-s5b/CMakeLists.txt	Sun Sep 12 18:20:53 2010 +0200
@@ -1,4 +1,4 @@
-add_library(jingle-s5b MODULE s5b.c s5b.h)
+add_library(jingle-s5b MODULE s5b.c s5b.h socks5-proto.c socks5-proto.h)
 pkg_check_modules(GIO REQUIRED gio-2.0)
 link_directories(${GIO_LIBRARY_DIRS})
 include_directories(SYSTEM ${GIO_SOURCE_DIR})
--- a/jingle-s5b/s5b.c	Wed Sep 01 20:34:23 2010 +0200
+++ b/jingle-s5b/s5b.c	Sun Sep 12 18:20:53 2010 +0200
@@ -1,5 +1,5 @@
 /*
- * socks5.c
+ * s5b.c
  *
  * Copyrigth (C) 2010 Nicolas Cornu <nicolas.cornu@ensi-bourges.fr>
  *
@@ -541,26 +541,6 @@
   // TODO: send transport-info activated IQ
 }
 
-/**
- * @brief Handle any event on a sock
- */
-static void handle_sock_io(GSocket *sock, GIOCondition cond, gpointer data)
-{
-  switch (cond) {
-    case G_IO_IN:
-      break;
-    case G_IO_OUT:
-      break;
-    case G_IO_ERR:
-      break;
-    case G_IO_HUP:
-      break;
-    default:
-      ;
-      // ?!
-  }
-}
-
 static void _send(session_content *sc, gconstpointer data, gchar *buf, gsize size)
 {
   return;
--- a/jingle-s5b/s5b.h	Wed Sep 01 20:34:23 2010 +0200
+++ b/jingle-s5b/s5b.h	Sun Sep 12 18:20:53 2010 +0200
@@ -1,5 +1,5 @@
-#ifndef __JINGLESOCKS5_H__
-#define __JINGLESOCKS5_H__ 1
+#ifndef __JINGLES5B_H__
+#define __JINGLES5B_H__ 1
 
 #include <glib.h>
 #include <gio/gio.h>