summaryrefslogtreecommitdiff
path: root/usr/src/lib/libfru/include/libfrup.h
diff options
context:
space:
mode:
authorrie <none@none>2007-05-17 16:27:31 -0700
committerrie <none@none>2007-05-17 16:27:31 -0700
commit24da5b34f49324ed742a340010ed5bd3d4e06625 (patch)
treed634cc86da07688eb2048c7bfeed71bedea99c80 /usr/src/lib/libfru/include/libfrup.h
parent3230aa086e19b239f0306ae02bd82e788031cfef (diff)
downloadillumos-joyent-24da5b34f49324ed742a340010ed5bd3d4e06625.tar.gz
6455532 OSNet cleanup required in preparation for direct bindings
--HG-- rename : usr/src/cmd/bnu/strecpy.c => deleted_files/usr/src/cmd/bnu/strecpy.c rename : usr/src/cmd/fs.d/ufs/mount/realpath.c => deleted_files/usr/src/cmd/fs.d/ufs/mount/realpath.c rename : usr/src/cmd/lp/lib/lp/tinames.c => deleted_files/usr/src/cmd/lp/lib/lp/tinames.c rename : usr/src/cmd/sgs/crle/common/mapfile-vers => deleted_files/usr/src/cmd/sgs/crle/common/mapfile-vers rename : usr/src/cmd/sgs/elfdump/common/mapfile-vers => deleted_files/usr/src/cmd/sgs/elfdump/common/mapfile-vers rename : usr/src/cmd/sgs/ldd/common/mapfile-vers => deleted_files/usr/src/cmd/sgs/ldd/common/mapfile-vers rename : usr/src/cmd/sgs/moe/common/mapfile-vers => deleted_files/usr/src/cmd/sgs/moe/common/mapfile-vers rename : usr/src/cmd/sgs/pvs/common/mapfile-vers => deleted_files/usr/src/cmd/sgs/pvs/common/mapfile-vers rename : usr/src/lib/libsocket/amd64/byteorder.s => deleted_files/usr/src/lib/libsocket/amd64/byteorder.s rename : usr/src/lib/libsocket/i386/byteorder.s => deleted_files/usr/src/lib/libsocket/i386/byteorder.s rename : usr/src/cmd/sgs/ld/common/mapfile-vers => usr/src/cmd/sgs/ld/common/mapfile-intf rename : usr/src/cmd/sgs/mapfiles/Makefile => usr/src/common/mapfiles/Makefile rename : usr/src/cmd/sgs/mapfiles/amd64/Makefile => usr/src/common/mapfiles/amd64/Makefile rename : usr/src/cmd/sgs/mapfiles/amd64/map.above4G => usr/src/common/mapfiles/amd64/map.above4G rename : usr/src/cmd/sgs/mapfiles/amd64/map.below4G => usr/src/common/mapfiles/amd64/map.below4G rename : usr/src/cmd/sgs/mapfiles/common/Makefile => usr/src/common/mapfiles/common/Makefile rename : usr/src/cmd/mapfile_bssalign => usr/src/common/mapfiles/common/map.bssalign rename : usr/src/cmd/mapfile_execdata => usr/src/common/mapfiles/common/map.execdata rename : usr/src/lib/common/mapfile-filter => usr/src/common/mapfiles/common/map.filter rename : usr/src/cmd/mapfile_noexstk => usr/src/common/mapfiles/common/map.noexstk rename : usr/src/cmd/sgs/mapfiles/i386/Makefile => usr/src/common/mapfiles/i386/Makefile rename : usr/src/cmd/sgs/mapfiles/i386/map.default => usr/src/common/mapfiles/i386/map.default rename : usr/src/cmd/mapfile_noexdata => usr/src/common/mapfiles/i386/map.noexdata rename : usr/src/cmd/sgs/mapfiles/i386/map.pagealign => usr/src/common/mapfiles/i386/map.pagealign rename : usr/src/cmd/sgs/mapfiles/sparc/Makefile => usr/src/common/mapfiles/sparc/Makefile rename : usr/src/cmd/sgs/mapfiles/sparc/map.default => usr/src/common/mapfiles/sparc/map.default rename : usr/src/cmd/sgs/mapfiles/sparc/map.pagealign => usr/src/common/mapfiles/sparc/map.pagealign rename : usr/src/cmd/sgs/mapfiles/sparcv9/Makefile => usr/src/common/mapfiles/sparcv9/Makefile rename : usr/src/cmd/sgs/mapfiles/sparcv9/map.above4G => usr/src/common/mapfiles/sparcv9/map.above4G rename : usr/src/cmd/sgs/mapfiles/sparcv9/map.below4G => usr/src/common/mapfiles/sparcv9/map.below4G rename : usr/src/lib/libsocket/inet/byteorder.c => usr/src/lib/libc/sparc/gen/byteorder.c
Diffstat (limited to 'usr/src/lib/libfru/include/libfrup.h')
-rw-r--r--usr/src/lib/libfru/include/libfrup.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/usr/src/lib/libfru/include/libfrup.h b/usr/src/lib/libfru/include/libfrup.h
index a7634f86eb..ccfdd49ee8 100644
--- a/usr/src/lib/libfru/include/libfrup.h
+++ b/usr/src/lib/libfru/include/libfrup.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * 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.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -53,12 +52,11 @@ typedef void (*end_node_fp_t)(fru_nodehdl_t node, const char *path,
/*
* Project-private exported symbols
*/
-fru_encrypt_func_t encrypt_func;
+extern fru_encrypt_func_t encrypt_func;
-fru_errno_t fru_encryption_supported(void);
+extern fru_errno_t fru_encryption_supported(void);
-fru_errno_t
-fru_walk_tree(fru_nodehdl_t node, const char *prior_path,
+extern fru_errno_t fru_walk_tree(fru_nodehdl_t node, const char *prior_path,
fru_errno_t (*process_node)(fru_nodehdl_t node,
const char *path,
const char *name, void *args,
@@ -66,14 +64,14 @@ fru_walk_tree(fru_nodehdl_t node, const char *prior_path,
void **end_args),
void *args);
-int fru_pathmatch(const char *path, const char *searchpath);
+extern int fru_pathmatch(const char *path, const char *searchpath);
-fru_errno_t fru_for_each_segment(fru_nodehdl_t node,
+extern fru_errno_t fru_for_each_segment(fru_nodehdl_t node,
int (*function)(fru_seghdl_t segment,
void *args),
void *args);
-fru_errno_t fru_get_segment_name(fru_seghdl_t segment, char **name);
-fru_errno_t fru_for_each_packet(fru_seghdl_t segment,
+extern fru_errno_t fru_get_segment_name(fru_seghdl_t segment, char **name);
+extern fru_errno_t fru_for_each_packet(fru_seghdl_t segment,
int (*function)(fru_tag_t *tag,
uint8_t *payload,
size_t length, void *args),