summary refs log blame commit diff stats
path: root/plugins/dns/thread.h
blob: 1ec6932dd9237364ed7fd87e2bd46d035eabe6d7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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);