2005-01-30 05:55:30 +03:00
/*
Unix SMB / CIFS implementation .
structures for task based servers
Copyright ( C ) Andrew Tridgell 2005
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-10 06:07:03 +04:00
the Free Software Foundation ; either version 3 of the License , or
2005-01-30 05:55:30 +03:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 06:07:03 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2005-01-30 05:55:30 +03:00
*/
2006-03-14 18:03:25 +03:00
# ifndef __SERVICE_TASK_H__
# define __SERVICE_TASK_H__
2005-01-30 05:55:30 +03:00
2011-05-02 04:55:20 +04:00
# include "librpc/gen_ndr/server_id.h"
2007-09-24 01:35:03 +04:00
2005-01-30 05:55:30 +03:00
struct task_server {
2008-12-29 22:24:57 +03:00
struct tevent_context * event_ctx ;
2005-01-30 05:55:30 +03:00
const struct model_ops * model_ops ;
2011-05-03 04:40:33 +04:00
struct imessaging_context * msg_ctx ;
2007-12-02 19:09:52 +03:00
struct loadparm_context * lp_ctx ;
2007-01-10 13:52:09 +03:00
struct server_id server_id ;
2009-02-02 12:21:51 +03:00
void * private_data ;
2017-09-14 22:09:23 +03:00
void * process_context ;
2005-01-30 05:55:30 +03:00
} ;
2007-01-10 13:52:09 +03:00
2006-03-14 18:03:25 +03:00
# endif /* __SERVICE_TASK_H__ */