xref: /reactos/drivers/network/tcpip/include/chew.h (revision 84344399)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS kernel
4  * FILE:            include/reactos/chew/chew.h
5  * PURPOSE:         Common Highlevel Executive Worker
6  *
7  * PROGRAMMERS:     arty (ayerkes@speakeasy.net)
8  */
9 
10 #ifndef _REACTOS_CHEW_H
11 #define _REACTOS_CHEW_H
12 
13 /**
14  * Initialize CHEW, given a device object (since IoAllocateWorkItem relies on
15  * it).
16  */
17 VOID ChewInit(PDEVICE_OBJECT DeviceObject);
18 
19 /**
20  * Shutdown CHEW, waits for remaining work items.
21  */
22 VOID ChewShutdown(VOID);
23 
24 /**
25  * Creates and queues a work item.
26  */
27 BOOLEAN ChewCreate(VOID (*Worker)(PVOID), PVOID WorkerContext);
28 
29 #endif/*_REACTOS_CHEW_H*/
30