]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/audit_type-to-name.awk
docs: add a simple, auto-generated index.md
[thirdparty/systemd.git] / src / journal / audit_type-to-name.awk
CommitLineData
b884196c
ZJS
1BEGIN{
2 print "const char *audit_type_to_string(int type) {\n\tswitch(type) {"
3}
5c23128d
ZJS
4{
5 printf " case AUDIT_%s: return \"%s\";\n", $1, $1
6}
b884196c
ZJS
7END{
8 print " default: return NULL;\n\t}\n}\n"
9}