async.h

ds2.10/fluffos-2.16-ds05/packages/async.h · 314 B

From the archive ds2.10.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,
		agetdir,
		done
};

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

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

Site Stats

Snippets: 1791
Codebases: 571