1
0
mirror of https://github.com/containers/conmon.git synced 2026-02-06 18:47:41 +01:00
Files
conmon/src/runtime_args.h
Peter Hunt dad6a1e609 split conmon.c into different files
conmon as it stands is pretty difficult to work with. over the years, conmon's main function has grown very large, and the conmon.c was about 1500 lines. This discourages contributors and adds maintenance burden.

instead, let's refactor conmon.c into many different files. The general structure either describes conmon lifecycle (cli process, runtime arg setup, container attach functionality, exit functions) or serves as a library (cgroup management, handling conmon oom).

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2020-03-20 11:50:02 -04:00

9 lines
159 B
C

#if !defined(RUNTIME_ARGS_H)
#define RUNTIME_ARGS_H
#include <glib.h>
GPtrArray *configure_runtime_args(const char *const csname);
#endif // RUNTIME_ARGS_H