summaryrefslogtreecommitdiff
path: root/src/ivy.h
diff options
context:
space:
mode:
authorbustico2006-09-22 09:41:53 +0000
committerbustico2006-09-22 09:41:53 +0000
commite761e4e47ad5da0036d4fec4e70319afacd10fd6 (patch)
treef0a72bc3fa37e882ba46f2d9676d05a66c6a967f /src/ivy.h
parent0a280c3a27b03a1267d1057604df000218e26416 (diff)
downloadivy-c-e761e4e47ad5da0036d4fec4e70319afacd10fd6.zip
ivy-c-e761e4e47ad5da0036d4fec4e70319afacd10fd6.tar.gz
ivy-c-e761e4e47ad5da0036d4fec4e70319afacd10fd6.tar.bz2
ivy-c-e761e4e47ad5da0036d4fec4e70319afacd10fd6.tar.xz
ajout du message IvyChangeMessage pour changer la regexp d'un abonnement déjà établi
Diffstat (limited to 'src/ivy.h')
-rw-r--r--src/ivy.h4
1 files changed, 3 insertions, 1 deletions
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 */