Rename iolog_plugin.h to log_client.h.

It is no longer I/O log specific and is used by sudoers_audit too.
This commit is contained in:
Todd C. Miller
2020-11-09 17:13:04 -07:00
parent 62547746d3
commit e56c3b342b
6 changed files with 43 additions and 45 deletions

View File

@@ -30,8 +30,7 @@
#include <string.h>
#include "sudoers.h"
#include <netinet/in.h> /* XXX */
#include "iolog_plugin.h" /* XXX */
#include "log_client.h"
#ifdef HAVE_BSM_AUDIT
# include "bsm_audit.h"
@@ -45,7 +44,7 @@
#ifdef SUDOERS_LOG_CLIENT
static struct client_closure *client_closure = NULL;
static struct iolog_details audit_details;
static struct log_details audit_details;
#endif
char *audit_msg = NULL;
@@ -53,7 +52,7 @@ char *audit_msg = NULL;
extern sudo_dso_public struct audit_plugin sudoers_audit;
/* XXX */
int iolog_deserialize_info(struct iolog_details *details, char * const user_info[], char * const command_info[], char * const argv[], char * const user_env[]);
int iolog_deserialize_info(struct log_details *details, char * const user_info[], char * const command_info[], char * const argv[], char * const user_env[]);
static int
audit_success(char *const argv[])