basin/src/work.h

26 lines
358 B
C
Raw Normal View History

2016-06-23 22:42:49 +00:00
/*
* work.h
*
* Created on: Nov 18, 2015
* Author: root
*/
#ifndef WORK_H_
#define WORK_H_
#include <basin/collection.h>
2016-06-23 22:42:49 +00:00
#include "accept.h"
#include <basin/log.h>
2016-06-23 22:42:49 +00:00
struct work_param {
struct collection* conns;
int pipes[2];
struct logsess* logsess;
int i;
int sport;
};
void run_work(struct work_param* param);
#endif /* WORK_H_ */