"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ec_threads.h" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

ec_threads.h  (ettercap-0.8.3):ec_threads.h  (ettercap-0.8.3.1)
skipping to change at line 14 skipping to change at line 14
#include <ec_stdint.h> #include <ec_stdint.h>
#include <pthread.h> #include <pthread.h>
struct ec_thread { struct ec_thread {
char *name; char *name;
char *description; char *description;
int detached; int detached;
pthread_t id; pthread_t id;
}; };
/* a value to be used to return errors in fuctcions using pthread_t values */
pthread_t EC_PTHREAD_NULL;
#define EC_PTHREAD_SELF EC_PTHREAD_NULL
#define PTHREAD_ID(id) (*(unsigned long*)&(id)) #define PTHREAD_ID(id) (*(unsigned long*)&(id))
#define EC_THREAD_FUNC(x) void * x(void *args) #define EC_THREAD_FUNC(x) void * x(void *args)
#define EC_THREAD_PARAM args #define EC_THREAD_PARAM args
EC_API_EXTERN char * ec_thread_getname(pthread_t id); EC_API_EXTERN char * ec_thread_getname(pthread_t id);
EC_API_EXTERN pthread_t ec_thread_getpid(char *name); EC_API_EXTERN pthread_t ec_thread_getpid(char *name);
EC_API_EXTERN char * ec_thread_getdesc(pthread_t id); EC_API_EXTERN char * ec_thread_getdesc(pthread_t id);
EC_API_EXTERN void ec_thread_register_detached(pthread_t id, char *name, char *d esc, int detached); EC_API_EXTERN void ec_thread_register_detached(pthread_t id, char *name, char *d esc, int detached);
EC_API_EXTERN void ec_thread_register(pthread_t id, char *name, char *desc); EC_API_EXTERN void ec_thread_register(pthread_t id, char *name, char *desc);
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)