summaryrefslogtreecommitdiff
path: root/usr/src/man/man9s/hook_t.9s
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9s/hook_t.9s')
-rw-r--r--usr/src/man/man9s/hook_t.9s27
1 files changed, 8 insertions, 19 deletions
diff --git a/usr/src/man/man9s/hook_t.9s b/usr/src/man/man9s/hook_t.9s
index 0c51da7308..b8abef07a5 100644
--- a/usr/src/man/man9s/hook_t.9s
+++ b/usr/src/man/man9s/hook_t.9s
@@ -3,7 +3,7 @@
.\" 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]
-.TH hook_t 9S "1 May 2008" "SunOS 5.11" "Data Structures for Drivers"
+.TH HOOK_T 9S "May 1, 2008"
.SH NAME
hook_t \- callback structure for subscribing to netinfo events
.SH SYNOPSIS
@@ -33,8 +33,8 @@ hook_hint_t h_hint; /* insertion hint type */
uintptr_t h_hintvalue; /* used with h_hint */
void *h_arg; /* value to pass into h_func */
-typedef int (*hook_func_t)(net_event_t token, hook_data_t info,
- void *);
+typedef int (*hook_func_t)(net_event_t token, hook_data_t info,
+ void *);
.fi
.in -2
@@ -46,57 +46,47 @@ that enforce where a hook lives for its entire lifetime on an event. The valid
values for the \fBh_hint\fR field are:
.sp
.ne 2
-.mk
.na
\fB\fBHH_NONE\fR\fR
.ad
.RS 13n
-.rt
Insert the hook wherever convenient.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBHH_FIRST\fR\fR
.ad
.RS 13n
-.rt
Place the hook first on the list of hooks.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBHH_LAST\fR\fR
.ad
.RS 13n
-.rt
Place the hook last on the list of hooks.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBHH_BEFORE\fR\fR
.ad
.RS 13n
-.rt
Place the hook before another hook on the list of hooks. The value in
\fBh_hintvalue\fR must be a pointer to the name of another hook.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBHH_AFTER\fR\fR
.ad
.RS 13n
-.rt
Place the hook after another hook on the list of hooks. The value in
\fBh_hintvalue\fR must be a pointer to the name of another hook.
.RE
@@ -109,13 +99,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
.TE
.SH SEE ALSO