From d5fc9f417c02ebe34b8f06847c375cd246f8c832 Mon Sep 17 00:00:00 2001 From: fcolin Date: Mon, 25 Jul 2005 14:28:35 +0000 Subject: gestion argument Ivy --- src/ivy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ivy.h') diff --git a/src/ivy.h b/src/ivy.h index a9298ab..d66e1c7 100644 --- a/src/ivy.h +++ b/src/ivy.h @@ -49,7 +49,7 @@ typedef void (*IvyDieCallback)( IvyClientPtr app, void *user_data, int id ) ; typedef void (*MsgCallback)( IvyClientPtr app, void *user_data, int argc, char **argv ) ; /* callback appele sur reception de messages directs */ -typedef void (*MsgDirectCallback)( IvyClientPtr app, void *user_data, int id, char *msg ) ; +typedef void (*MsgDirectCallback)( IvyClientPtr app, void *user_data, int id, int len, void *msg ) ; /* identifiant d'une expression reguliere ( Bind/Unbind ) */ typedef struct _msg_rcv *MsgRcvPtr; @@ -95,7 +95,7 @@ int IvySendMsg( const char *fmt_message, ... ); /* avec sprintf prealable */ /* Message Direct Inter-application */ void IvyBindDirectMsg( MsgDirectCallback callback, void *user_data); -void IvySendDirectMsg( IvyClientPtr app, int id, char *msg ); +void IvySendDirectMsg( IvyClientPtr app, int id, int len, void *msg ); /* boucle principale d'Ivy */ /* use of internal MainLoop or XtMainLoop, or other MainLoop integration */ -- cgit v1.1