diff options
author | bustico | 2006-09-22 09:41:53 +0000 |
---|---|---|
committer | bustico | 2006-09-22 09:41:53 +0000 |
commit | e761e4e47ad5da0036d4fec4e70319afacd10fd6 (patch) | |
tree | f0a72bc3fa37e882ba46f2d9676d05a66c6a967f /src/ivy.h | |
parent | 0a280c3a27b03a1267d1057604df000218e26416 (diff) | |
download | ivy-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |