diff src/remote.h @ 1000:4fe8f9656107

For the sake of consistency, use glib basic types everywhere.
author zas_
date Tue, 26 Aug 2008 22:22:51 +0000
parents 9bcfd6d7a902
children 1646720364cf
line wrap: on
line diff
--- a/src/remote.h	Tue Aug 26 21:19:33 2008 +0000
+++ b/src/remote.h	Tue Aug 26 22:22:51 2008 +0000
@@ -17,11 +17,11 @@
 
 typedef struct _RemoteConnection RemoteConnection;
 
-typedef void RemoteReadFunc(RemoteConnection *rc, const char *text, gpointer data);
+typedef void RemoteReadFunc(RemoteConnection *rc, const gchar *text, gpointer data);
 
 struct _RemoteConnection {
 	gint server;
-	int fd;
+	gint fd;
 	gchar *path;
 
 	gint channel_id;
@@ -33,7 +33,7 @@
 
 
 void remote_close(RemoteConnection *rc);
-GList *remote_build_list(GList *list, int argc, char *argv[], GList **errors);
+GList *remote_build_list(GList *list, gint argc, gchar *argv[], GList **errors);
 void remote_help(void);
 void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path,
 		    GList *cmd_list, GList *collection_list);