From e761e4e47ad5da0036d4fec4e70319afacd10fd6 Mon Sep 17 00:00:00 2001 From: bustico Date: Fri, 22 Sep 2006 09:41:53 +0000 Subject: ajout du message IvyChangeMessage pour changer la regexp d'un abonnement déjà établi --- src/ivy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ivy.h') diff --git a/src/ivy.h b/src/ivy.h index e892070..0ee4542 100644 --- a/src/ivy.h +++ b/src/ivy.h @@ -29,7 +29,7 @@ extern "C" { typedef struct _clnt_lst *IvyClientPtr; typedef enum { IvyApplicationConnected, IvyApplicationDisconnected } IvyApplicationEvent; -typedef enum { IvyAddBind, IvyRemoveBind, IvyFilterBind } IvyBindEvent; +typedef enum { IvyAddBind, IvyRemoveBind, IvyFilterBind, IvyChangeBind } IvyBindEvent; extern void IvyDefaultApplicationCallback( IvyClientPtr app, void *user_data, IvyApplicationEvent event ) ; extern void IvyDefaultBindCallback( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ; @@ -80,6 +80,8 @@ char *IvyGetApplicationList(const char *sep); char **IvyGetApplicationMessages( IvyClientPtr app); /* demande de reception d'un message */ MsgRcvPtr IvyBindMsg( MsgCallback callback, void *user_data, const char *fmt_regexp, ... ); /* avec sprintf prealable */ +MsgRcvPtr IvyChangeMsg (MsgRcvPtr msg, const char *fmt_regex, ... ); /* avec sprintf prealable */ + void IvyUnbindMsg( MsgRcvPtr id ); /* emission d'un message d'erreur */ -- cgit v1.1