crun-cli v1.4.0
C-based project scaffolding CLI
Loading...
Searching...
No Matches
crun_audit.h File Reference

Audit logging API for CLI/file outputs. More...

#include <sys/stat.h>
Include dependency graph for crun_audit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __mkdir(path)

Functions

void crun_audit_info (const char *,...)
 Emit an informational audit event.
void crun_audit_warn (const char *,...)
 Emit a warning audit event.
void crun_audit_error (const char *,...)
 Emit an error audit event.

Detailed Description

Audit logging API for CLI/file outputs.

Author
ZouariOmar (zouar.nosp@m.ioma.nosp@m.r20@g.nosp@m.mail.nosp@m..com)
Version
0.2
Date
2026-03-18

crun_audit.h

Macro Definition Documentation

◆ __mkdir

#define __mkdir ( path)
Value:
mkdir(path, 0755)

Function Documentation

◆ crun_audit_error()

void crun_audit_error ( const char * fmt,
... )

Emit an error audit event.

Parameters
fmtprintf-style message format.
...Format arguments.
Here is the caller graph for this function:

◆ crun_audit_info()

void crun_audit_info ( const char * fmt,
... )

Emit an informational audit event.

Parameters
fmtprintf-style message format.
...Format arguments.
Here is the caller graph for this function:

◆ crun_audit_warn()

void crun_audit_warn ( const char * fmt,
... )

Emit a warning audit event.

Parameters
fmtprintf-style message format.
...Format arguments.
Here is the caller graph for this function: