summaryrefslogtreecommitdiffstats
path: root/src/analyze/analyze-security.h
blob: c00ae7c80a3f93c0fdc998db577b070e5a7a9228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include "sd-bus.h"

typedef enum AnalyzeSecurityFlags {
        ANALYZE_SECURITY_SHORT             = 1 << 0,
        ANALYZE_SECURITY_ONLY_LOADED       = 1 << 1,
        ANALYZE_SECURITY_ONLY_LONG_RUNNING = 1 << 2,
} AnalyzeSecurityFlags;

int analyze_security(sd_bus *bus, char **units, AnalyzeSecurityFlags flags);