| Yattm - unified GTK instant-messaging client | ![]() |
| [Generated for version 0.2-17 - Mon Jan 6 19:01:23 GMT+1 2003] |
#include <gtk/gtk.h>#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>Include dependency graph for console_session.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | console_session_init (gpointer data, gint source, GdkInputCondition condition) |
|
||||||||||||||||
|
Definition at line 80 of file console_session.c. References console_session_get_command().
00081 {
00082 struct sockaddr_un remote;
00083 int len;
00084 int sock;
00085 int * listener = g_new0(int, 1);
00086
00087 sock = accept(source, (struct sockaddr *)&remote, &len);
00088 *listener = gdk_input_add(sock, GDK_INPUT_READ,
00089 console_session_get_command,
00090 (gpointer)listener);
00091 }
|