2016-06-23 22:42:49 +00:00
|
|
|
/*
|
|
|
|
* work.h
|
|
|
|
*
|
|
|
|
* Created on: Nov 18, 2015
|
|
|
|
* Author: root
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WORK_H_
|
|
|
|
#define WORK_H_
|
|
|
|
|
2019-04-14 20:45:32 +00:00
|
|
|
#include <basin/collection.h>
|
2016-06-23 22:42:49 +00:00
|
|
|
#include "accept.h"
|
2019-04-14 20:45:32 +00:00
|
|
|
#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_ */
|