/*LINTLIBRARY*/
/*PROTOLIB1*/
/*
 * Copyright (c) 1999 by Sun Microsystems, Inc.
 * All rights reserved.
 */

#pragma ident	"@(#)llib-lexacct	1.1	00/02/14 SMI"

#include <exacct.h>

ea_object_type_t ea_next_object(ea_file_t *ef, ea_object_t *obj);
ea_object_type_t ea_get_object(ea_file_t *ef, ea_object_t *obj);
ea_object_type_t ea_previous_object(ea_file_t *ef, ea_object_t *obj);
void ea_free_object(ea_object_t *obj, int flag);
int ea_write_object(ea_file_t *ef, ea_object_t *obj);
const char *ea_get_creator(ea_file_t *ef);
const char *ea_get_hostname(ea_file_t *ef);
int ea_open(ea_file_t *ef, char *name, char *creator, int aflags, int oflags,
    mode_t mode);
int ea_close(ea_file_t *ef);
size_t ea_pack_object(ea_object_t *obj, void *buf, size_t bufsize);
ea_object_type_t ea_unpack_object(ea_object_t **objp, int flags, void *buf,
    size_t bufsize);
void ea_order16(uint16_t *u);
void ea_order32(uint32_t *u);
void ea_order64(uint64_t *u);
