libxdas_records.c File Reference

OpenXDAS record management and submission implementation. More...

#include <xdas.h>
#include <xdasd.h>
#include <xdas_buf.h>
#include <xdas_wire.h>
#include "libxdas_impl.h"
#include <stdlib.h>
#include <stdio.h>
#include <time.h>

Go to the source code of this file.

Functions

static size_t xdas_calc_max_record_len (xdas_session *xs, xdas_record *xr)
 Calculate the maximum required record length for a given data set.
static int xdas_format_record (xdas_session *xs, xdas_record *xr)
 Format the field contents of an xdas record into wire format.
xdas_recordxdas_validate_record (xdas_audit_rec_desc_t record_ref)
 Validate an XDAS record handle - return a pointer to the xdas_record.
unsigned xdas_get_next_record_number (void)
 Return the next sequential value in a global record number.
void xdas_set_record_timestamp (xdas_record *xr)
 Set the timestamp value on an xdas_record.
int xdas_is_valid_outcome (unsigned outcome)
 Validate an XDAS outcome code.
void xdas_internal_discard_record (xdas_record *xr)
 Release resources held by an xdas_record.
int xdas_send_record (int *minorp, xdas_session *xs, xdas_record *xr, int eval, int import)
 Check or commit data in a session and a record.


Detailed Description

OpenXDAS record management and submission implementation.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file libxdas_records.c.


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6