summaryrefslogtreecommitdiff
path: root/usr/src/lib/libinetutil/spec/inetutil.spec
blob: 33f4a27aff7d0831e1a81c07ae72683b1d3374ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# 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.
#
# 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
#
#ident	"%Z%%M%	%I%	%E% SMI"
#
# lib/libinetutil/spec/inetutil.spec

function        octet_to_hexascii
include		<sys/types.h>
include		<netinet/in.h>
include         <libinetutil.h>
declaration     int octet_to_hexascii(const void *nump, uint_t nlen, \
		    char *bufp, uint_t *blen)
version         SUNWprivate_1.1
end

function        hexascii_to_octet
include		<sys/types.h>
include		<netinet/in.h>
include         <libinetutil.h>
declaration     int hexascii_to_octet(const char *asp, uint_t alen, \
		    void *bufp, uint_t *blen)
version         SUNWprivate_1.1
end

function        get_netmask4
include		<sys/types.h>
include		<netinet/in.h>
include         <libinetutil.h>
declaration	void get_netmask4(const struct in_addr *np, struct in_addr *sp)
version         SUNWprivate_1.1
end

function        ifparse_ifspec
include         <libinetutil.h>
declaration	boolean_t ifparse_ifspec(const char *ifname, ifspec_t *ifsp)
version         SUNWprivate_1.1
end

function        iu_tq_create
include         <libinetutil.h>
declaration	iu_tq_t *iu_tq_create(void)
version         SUNWprivate_1.1
end

function        iu_tq_destroy
include         <libinetutil.h>
declaration	void iu_tq_destroy(iu_tq_t *tq)
version         SUNWprivate_1.1
end

function        iu_schedule_timer
include         <libinetutil.h>
declaration	iu_timer_id_t iu_schedule_timer(iu_tq_t *tq, uint32_t sec, iu_tq_callback_t *callback, void *arg)
version         SUNWprivate_1.1
end

function        iu_schedule_timer_ms
include         <libinetutil.h>
declaration	iu_timer_id_t iu_schedule_timer_ms(iu_tq_t *tq, uint64_t ms, iu_tq_callback_t *callback, void *arg)
version         SUNWprivate_1.1
end

function        iu_adjust_timer
include         <libinetutil.h>
declaration	int iu_adjust_timer(iu_tq_t *tq, iu_timer_id_t timer_id, uint32_t sec)
version         SUNWprivate_1.1
end

function        iu_cancel_timer
include         <libinetutil.h>
declaration	int iu_cancel_timer(iu_tq_t *tq, iu_timer_id_t timer_id, void **arg)
version         SUNWprivate_1.1
end

function        iu_expire_timers
include         <libinetutil.h>
declaration	int iu_expire_timers(iu_tq_t *tq)
version         SUNWprivate_1.1
end

function        iu_earliest_timer
include         <libinetutil.h>
declaration	int iu_earliest_timer(iu_tq_t *tq)
version         SUNWprivate_1.1
end

function        iu_eh_create
include         <libinetutil.h>
declaration	iu_eh_t *iu_eh_create(void)
version         SUNWprivate_1.1
end

function        iu_eh_destroy
include         <libinetutil.h>
declaration	void iu_eh_destroy(iu_eh_t *eh)
version         SUNWprivate_1.1
end

function        iu_register_event
include         <libinetutil.h>
declaration	iu_event_id_t iu_register_event(iu_eh_t *eh, int fd, short events, iu_eh_callback_t *callback, void *arg)
version         SUNWprivate_1.1
end

function        iu_unregister_event
include         <libinetutil.h>
declaration	int iu_unregister_event(iu_eh_t *eh, iu_event_id_t event_id, void **arg)
version         SUNWprivate_1.1
end

function        iu_handle_events
include         <libinetutil.h>
declaration	int iu_handle_events(iu_eh_t *eh, iu_tq_t *tq)
version         SUNWprivate_1.1
end

function        iu_stop_handling_events
include         <libinetutil.h>
declaration	void iu_stop_handling_events(iu_eh_t *eh, unsigned int reason)
version         SUNWprivate_1.1
end

function        iu_eh_register_signal
include         <libinetutil.h>
declaration	int iu_eh_register_signal(iu_eh_t *eh, int sig, iu_eh_sighandler_t *handler, void *data)
version         SUNWprivate_1.1
end

function        iu_eh_unregister_signal
include         <libinetutil.h>
declaration	int iu_eh_unregister_signal(iu_eh_t *eh, int sig, void **datap)
version         SUNWprivate_1.1
end