/* xlog - GTK+ logging program for amateur radio operators Copyright (C) 2001 - 2007 Joop Stakenborg This file is part of xlog. Xlog is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Xlog is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with xlog. If not, see . */ /* * remote.h */ /* struct for remote data state */ typedef struct { gint version; gchar *program; gint nr; } remotetype; /* struct for the message queue */ typedef struct { glong mtype; gchar mtext[1024]; } msgtype; gint remote_entry (void); gboolean socket_entry (GIOChannel * channel, GIOCondition cond, gpointer data); gint remote_socket_setup(void);