summaryrefslogtreecommitdiff
path: root/src/ivy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.h')
-rw-r--r--src/ivy.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ivy.h b/src/ivy.h
index 10c7f86..a9298ab 100644
--- a/src/ivy.h
+++ b/src/ivy.h
@@ -33,14 +33,14 @@ typedef enum { IvyApplicationConnected, IvyApplicationDisconnected } IvyApplicat
typedef enum { IvyAddBind, IvyRemoveBind } 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 ) ;
+extern void IvyDefaultBindCallback( IvyClientPtr app, void *user_data, IvyBindEvent event, char* regexp ) ;
/* callback callback appele sur connexion deconnexion d'une appli */
typedef void (*IvyApplicationCallback)( IvyClientPtr app, void *user_data, IvyApplicationEvent event ) ;
/* callback callback appele sur ajout ou suppression d'un bind */
-typedef void (*IvyBindCallback)( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ;
+typedef void (*IvyBindCallback)( IvyClientPtr app, void *user_data, IvyBindEvent event, char* regexp ) ;
/* callback appele sur reception de die */
typedef void (*IvyDieCallback)( IvyClientPtr app, void *user_data, int id ) ;
@@ -65,11 +65,9 @@ void IvyInit(
IvyDieCallback die_callback, /* last change callback before die */
void *die_data /* user data */
);
+
void IvySetApplicationPriority( int priority );
-void IvySetBindCallback(
- IvyBindCallback bind_callback,
- void *bind_data );
-void IvyDelBindCallback();
+void IvySetBindCallback( IvyBindCallback bind_callback, void *bind_data );
void IvyStart (const char*);
void IvyStop ();