change execute and executeAsync to return the last event instead of status since it will almost always be 0

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15973 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-12-15 19:45:47 +00:00
1 parent 9d348910ef
commit c13c187a3a
15 files changed
+124 -106

No files matched your search

+2 -2
View File
@@ -87,8 +87,8 @@ class ESLconnection {
ESLevent *recvEventTimed(int ms);
ESLevent *filter(const char *header, const char *value);
int events(const char *etype, const char *value);
int execute(const char *app, const char *arg = NULL, const char *uuid = NULL);
int executeAsync(const char *app, const char *arg = NULL, const char *uuid = NULL);
ESLevent *execute(const char *app, const char *arg = NULL, const char *uuid = NULL);
ESLevent *executeAsync(const char *app, const char *arg = NULL, const char *uuid = NULL);
int setAsyncExecute(const char *val);
int setEventLock(const char *val);
int disconnect(void);