async.h

dw_fluffos_v2/fluffos-2.9-ds2.05/packages/async.h · 280 B

From the archive dw_fluffos_v2.zip

Download the archive   « Back to the archive contents

#ifndef ASYNC_H_
#define ASYNC_H_
#include <aio.h>
#include "../function.h"

typedef struct aiocb aiob;

enum atypes {
		aread,
		awrite
};

struct request{
	aiob *aio;
	function_to_call_t *fun;
	struct request *next;
	enum atypes type;
};

void check_reqs();
#endif /*ASYNC_H_*/

Site Stats

Snippets: 1791
Codebases: 571