tor  0.4.2.0-alpha-dev
process_sys.c
Go to the documentation of this file.
1 /* Copyright (c) 2018-2019, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
9 #include "orconfig.h"
10 #include "lib/subsys/subsys.h"
12 #include "lib/process/process.h"
13 
14 static int
15 subsys_process_initialize(void)
16 {
17  process_init();
18  return 0;
19 }
20 
21 static void
22 subsys_process_shutdown(void)
23 {
25 }
26 
27 const subsys_fns_t sys_process = {
28  .name = "process",
29  .level = -35,
30  .supported = true,
31  .initialize = subsys_process_initialize,
32  .shutdown = subsys_process_shutdown
33 };
void process_free_all(void)
Definition: process.c:153
Header for process.c.
void process_init(void)
Definition: process.c:141
const char * name
Definition: subsys.h:28
Declare subsystem object for the process module.