/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
#ifndef _AUDIT_REMOTE_H
#define _AUDIT_REMOTE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
/* gettext() obfuscation routine for lint */
#ifdef __lint
#define gettext(x) x
#endif
/* send_record() return code */
enum send_record_rc {
};
/* closing helpers - the reason of connection closure */
enum close_rsn_e {
};
/* linked list of remote audit hosts (servers) */
struct hostlist_s {
};
/* transq_t - single, already sent token in the transmit queue. */
struct transq_node_s {
};
/* transq_hdr_t - the transmit queue header structure */
struct transq_hdr_s {
};
/* pipe_msg_s - the notification pipe message */
struct pipe_msg_s {
};
/*
* Cross audit_remote plugin source code shared functions and bool parameters.
*
* reset_transport() helpers:
* arg1) DO_SYNC, DO_NOT_SYNC
* arg2) DO_EXIT, DO_CLOSE, DO_NOT_EXIT, DO_NOT_CLOSE
*/
uint64_t, close_rsn_t *);
#if DEBUG
#else
#define DPRINT(x)
#endif
#if DEBUG
#endif
#ifdef __cplusplus
}
#endif
#endif /* _AUDIT_REMOTE_H */