add DNS plugin

This commit is contained in:
Berke Viktor
2012-01-20 05:43:13 +01:00
parent 8f4987a33c
commit bfee90f11c
9 changed files with 405 additions and 0 deletions

11
plugins/dns/thread.h Normal file
View File

@@ -0,0 +1,11 @@
#include <windows.h>
typedef struct
{
DWORD threadid;
int pipe_fd[2];
void *userdata;
} thread;
thread *thread_new (void);
int thread_start (thread *th, void *(*start_routine)(void *), void *arg);