diff options
Diffstat (limited to 'usr/src/lib/libnsctl/common/llib-lnsctl')
-rw-r--r-- | usr/src/lib/libnsctl/common/llib-lnsctl | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/usr/src/lib/libnsctl/common/llib-lnsctl b/usr/src/lib/libnsctl/common/llib-lnsctl deleted file mode 100644 index 7defea0425..0000000000 --- a/usr/src/lib/libnsctl/common/llib-lnsctl +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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 - * or http://www.opensolaris.org/os/licensing. - * 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 - */ -/* LINTLIBRARY */ -/* PROTOLIB1 */ - -/* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#include <sys/types.h> -#include <nsctl.h> -#include <sys/nsctl/nsc_hash.h> - -void _nsc_nocheck(void); -nsc_fd_t *nsc_open(char *path, int flag, int mode); -nsc_fd_t *nsc_fdopen(int id, char *path, int mode); -int nsc_close(nsc_fd_t *fd); -int nsc_fileno(nsc_fd_t *fd); -int nsc_reserve(nsc_fd_t *fd); -int nsc_release(nsc_fd_t *fd); -int nsc_partsize(nsc_fd_t *fd, nsc_size_t *size); -int nsc_freeze(char *path); -int nsc_unfreeze(char *path); -int nsc_isfrozen(char *path); -int nsc_getsystemid(int *id); -int nsc_name_to_id(char *name, int *id); -int nsc_id_to_name(char **name, int id); -int nsc_check_release(const char *build_rel, nsc_release_t *map, char **reqd); -hash_node_t **nsc_create_hash(); -int nsc_insert_node(hash_node_t **, void *, const char *); -void *nsc_lookup(hash_node_t **, const char *); -void *nsc_remove_node(hash_node_t **, char *); -void nsc_remove_all(hash_node_t **, void (*)(void *)); |