Commit 4a388ff96a72a860e3540a0fb68205badecf6fde

Authored by perry.werneck@gmail.com
1 parent 5cef9960
Exists in master and in 1 other branch develop

Android: Movendo funções de rede para um bloco separado visando a futura transfe…

…rência da parte de rede em android para a java.net.socket, substituindo chamadas de log e trace por similares da API android
Showing 1 changed file with 12 additions and 12 deletions   Show diff stats
iocallback.c
... ... @@ -51,9 +51,9 @@ static int static_CallAndWait(int(*callback)(H3270 *session, void *), H327
51 51 static void * static_AddInput(int source, H3270 *session, void (*fn)(H3270 *session));
52 52 static void static_RemoveSource(void *id);
53 53  
54   -#if !defined(_WIN32) /*[*/
55   -static void * static_AddOutput(int source, H3270 *session, void (*fn)(H3270 *session));
56   -#endif
  54 +//#if !defined(_WIN32)
  55 +// static void * static_AddOutput(int source, H3270 *session, void (*fn)(H3270 *session));
  56 +//#endif
57 57  
58 58 static void * static_AddExcept(int source, H3270 *session, void (*fn)(H3270 *session));
59 59 static void * static_AddTimeOut(unsigned long interval_ms, H3270 *session, void (*proc)(H3270 *session));
... ... @@ -123,12 +123,12 @@ static void static_RemoveSource(void *id)
123 123 g_source_destroy((GSource *) id);
124 124 }
125 125  
126   -#if !defined(_WIN32) /*[*/
127   -static void * static_AddOutput(int source, H3270 *session, void (*fn)(H3270 *session))
128   -{
129   - return AddSource(source,session,G_IO_OUT|G_IO_HUP|G_IO_ERR,fn);
130   -}
131   -#endif /*]*/
  126 +// #if !defined(_WIN32)
  127 +// static void * static_AddOutput(int source, H3270 *session, void (*fn)(H3270 *session))
  128 +// {
  129 +// return AddSource(source,session,G_IO_OUT|G_IO_HUP|G_IO_ERR,fn);
  130 +// }
  131 +// #endif
132 132  
133 133 static void * static_AddExcept(int source, H3270 *session, void (*fn)(H3270 *session))
134 134 {
... ... @@ -322,9 +322,9 @@ void v3270_register_io_handlers(v3270Class *cls)
322 322  
323 323 static_AddExcept,
324 324  
325   -#if !defined(_WIN32)
326   - static_AddOutput,
327   -#endif
  325 +// #if !defined(_WIN32)
  326 +// static_AddOutput,
  327 +// #endif
328 328  
329 329 #ifdef G_THREADS_ENABLED
330 330 static_CallAndWait,
... ...