--- ansh/inc/proc.h 2011/10/17 20:14:02 1.2 +++ ansh/inc/proc.h 2012/04/05 14:18:55 1.3.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: proc.h,v 1.2 2011/10/17 20:14:02 misho Exp $ + * $Id: proc.h,v 1.3.2.1 2012/04/05 14:18:55 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -47,10 +47,12 @@ SUCH DAMAGE. #define __PROC_H -struct tagProc *InitProc(int, struct sockaddr *, u_short, int); +struct tagProc *InitProc(int, io_sockaddr_t *, u_short, int); void FiniProcByID(u_short); void FreeProc(struct tagProc ** __restrict); void DestroyProc(); + +int stopProcess(sched_root_task_t * __restrict, proc_head_t * __restrict, pid_t, sched_task_func_t); #endif