os: if inet_ntop() is available, use it for IPv4 addresses as well
[xserver.git] / os / audit.h
blob205109489e13a946ea57368895062dbba0674455
1 /* SPDX-License-Identifier: MIT OR X11
3 * Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
4 */
5 #ifndef _XSERVER_OS_AUDIT_H
6 #define _XSERVER_OS_AUDIT_H
8 #include <stdarg.h>
9 #include <X11/Xfuncproto.h>
11 extern int auditTrailLevel;
13 void FreeAuditTimer(void);
15 void AuditF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1, 2);
16 void VAuditF(const char *f, va_list args) _X_ATTRIBUTE_PRINTF(1, 0);
18 #endif /* _XSERVER_OS_AUDIT_H */