[Vortex] const patches

Sam Roberts sroberts at uniserve.com
Thu Nov 23 04:53:24 CET 2006


Index: src/vortex_channel.c
===================================================================
--- src/vortex_channel.c	(revision 2389)
+++ src/vortex_channel.c	(working copy)
@@ -1645,7 +1645,7 @@
  * @return TRUE if channel was sent or FALSE if not.
  */
 gboolean    __vortex_channel_send_msg_common (VortexChannel   * channel,
-					      gchar           * message,
+					      const gchar     * message,
 					      gint              message_size,
 					      gint            * msg_no,
 					      WaitReplyData   * wait_reply)
@@ -1771,7 +1771,7 @@
  * @return TRUE if message could be sent, FALSE if fail
  */
 gboolean        vortex_channel_send_msg   (VortexChannel * channel,
-					   gchar         * message,
+					   const gchar   * message,
 					   gint            message_size,
 					   gint          * msg_no)
 {
@@ -1856,7 +1856,7 @@
  * @return the same as \ref vortex_channel_send_msg
  */
 gboolean           vortex_channel_send_msg_and_wait               (VortexChannel   * channel,
-								   gchar           * message,
+								   const gchar     * message,
 								   gint              message_size,
 								   gint            * msg_no,
 								   WaitReplyData   * wait_reply)
Index: src/vortex_channel.h
===================================================================
--- src/vortex_channel.h	(revision 2389)
+++ src/vortex_channel.h	(working copy)
@@ -196,7 +196,7 @@
 								   gpointer key);
 
 gboolean           vortex_channel_send_msg                        (VortexChannel * channel,
-								   gchar         * message,
+								   const gchar   * message,
 								   gint            message_size,
 								   gint          * msg_no);
 
@@ -206,7 +206,7 @@
 								   ...);
 
 gboolean           vortex_channel_send_msg_and_wait               (VortexChannel   * channel,
-								   gchar           * message,
+								   const gchar     * message,
 								   gint              message_size,
 								   gint            * msg_no,
 								   WaitReplyData   * wait_reply);



More information about the Vortex mailing list