/*
* 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
*/
/*
*/
#ifndef _LOWLEVEL_IMPL_H
#define _LOWLEVEL_IMPL_H
#include "libscf_impl.h"
#include <door.h>
#include <libuutil.h>
#include <limits.h>
#include <pthread.h>
#include <stddef.h>
#include "repcache_protocol.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct scf_datael {
} scf_datael_t;
/*
* Handle structure.
*
* Access to handles is serialized -- access to and modification of a handle
* and all of its children is protected by rh_lock.
*
* Different handles don't interfere with each other.
*/
struct scf_handle {
int rh_doorfd;
long rh_entries;
long rh_values;
};
struct scf_scope {
};
struct scf_service {
};
struct scf_instance {
};
struct scf_snapshot {
};
/*
* note: be careful of adding more state here -- snaplevel_next() relies on
* the fact that the entityid is the only library-level state.
*/
struct scf_snaplevel {
};
struct scf_propertygroup {
};
struct scf_property {
};
struct scf_decoration {
};
struct scf_value {
};
enum scf_entry_state {
};
struct scf_transaction_entry {
const char *entry_property;
};
enum scf_tx_state {
};
struct scf_transaction {
char *tran_pg_type;
int tran_invalid;
};
struct scf_iter {
int iter_type;
};
#ifdef __cplusplus
}
#endif
#endif /* _LOWLEVEL_IMPL_H */