summaryrefslogtreecommitdiff
path: root/usr/src/lib/libinetsvc/spec/inetsvc.spec
blob: 49aa24aa1e8a4a24c570d61128f85301ef1fb0ec (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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
#
# Copyright 2006 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
#
#pragma ident	"%Z%%M%	%I%	%E% SMI"
#

function	get_prop_table
include		<inetsvc.h>
declaration	inetd_prop_t *get_prop_table(size_t *num_elements)
version		SUNWprivate_1.1
end

function	find_prop
include		<inetsvc.h>
declaration	inetd_prop_t *find_prop(const inetd_prop_t *prop,
		    const char *name, inet_type_t type)
version		SUNWprivate_1.1
end

function	get_prop_value_int
include		<inetsvc.h>
declaration	int64_t get_prop_value_int(const inetd_prop_t *prop,
		    const char *name)
version		SUNWprivate_1.1
end

function	get_prop_value_count
include		<inetsvc.h>
declaration	uint64_t get_prop_value_count(const inetd_prop_t *prop,
		    const char *name)
version		SUNWprivate_1.1
end

function	get_prop_value_boolean
include		<inetsvc.h>
declaration	boolean_t get_prop_value_boolean(const inetd_prop_t *prop,
		    const char *name)
version		SUNWprivate_1.1
end

function	get_prop_value_string
include		<inetsvc.h>
declaration	char *get_prop_value_string(const inetd_prop_t *prop,
		    const char *name)
version		SUNWprivate_1.1
end

function	put_prop_value_int
include		<inetsvc.h>
declaration	void put_prop_value_int(inetd_prop_t *prop,
		    const char *name, int64_t value)
version		SUNWprivate_1.1
end

function	put_prop_value_count
include		<inetsvc.h>
declaration	void put_prop_value_count(inetd_prop_t *prop,
		    const char *name, uint64_t value)
version		SUNWprivate_1.1
end

function	put_prop_value_boolean
include		<inetsvc.h>
declaration	void put_prop_value_boolean(inetd_prop_t *prop,
		    const char *name, boolean_t value)
version		SUNWprivate_1.1
end

function	put_prop_value_string
include		<inetsvc.h>
declaration	boolean_t put_prop_value_string(inetd_prop_t *prop,
		    const char *name, const char *value)
version		SUNWprivate_1.1
end

function	put_prop_value_string_list
include		<inetsvc.h>
declaration	void put_prop_value_string_list(inetd_prop_t *prop,
		    const char *name, char **value)
version		SUNWprivate_1.1
end

function	valid_props
include		<inetsvc.h>
declaration	boolean_t valid_props(inetd_prop_t *prop)
version		SUNWprivate_1.1
end

function	valid_default_prop
include		<inetsvc.h>
declaration	boolean_t valid_default_prop(const char *name,
		    const void *value)
version		SUNWprivate_1.1
end

function	read_prop
include		<inetsvc.h>
declaration	scf_error_t read_prop(scf_handle_t *h, inetd_prop_t *iprop,
		    int index, const char *inst, const char *pg_name)
version		SUNWprivate_1.1
end

function	read_instance_props
include		<inetsvc.h>
declaration	inetd_prop_t *read_instance_props(scf_handle_t *h,
		    const char *instance, size_t *num_elements,
		    scf_error_t *err)
version		SUNWprivate_1.1
end

function	read_default_props
include		<inetsvc.h>
declaration	inetd_prop_t *read_default_props(scf_handle_t *h,
		   size_t *num_elements, scf_error_t *err)
version		SUNWprivate_1.1
end

function	free_instance_props
include		<inetsvc.h>
declaration	void free_instance_props(inetd_prop_t *prop)
version		SUNWprivate_1.1
end

function	connect_to_inetd
include		<inetsvc.h>
declaration	int connect_to_inetd(void)
version		SUNWprivate_1.1
end

function	refresh_inetd
include		<inetsvc.h>
declaration	int refresh_inetd(void)
version		SUNWprivate_1.1
end

function	get_sock_type_id
include		<inetsvc.h>
declaration	int get_sock_type_id(const char *type_str);
version		SUNWprivate_1.1
end

function	get_rpc_prognum
include		<inetsvc.h>
declaration	int get_rpc_prognum(const char *svc_name);
version		SUNWprivate_1.1
end

function	calculate_hash
include		<inetsvc.h>
declaration	int calculate_hash(const char *pathname, char **hash);
version		SUNWprivate_1.1
end

function	retrieve_inetd_hash
include		<inetsvc.h>
declaration	scf_error_t retrieve_inetd_hash(char **hash)
version		SUNWprivate_1.1
end

function	store_inetd_hash
include		<inetsvc.h>
declaration	scf_error_t store_inetd_hash(const char *hash)
version		SUNWprivate_1.1
end

function	inet_ntop_native
include		<inetsvc.h>
declaration	const char *inet_ntop_native(int af, const void *addr,
		    char *dst, size_t size)
version		SUNWprivate_1.1
end

function	setproctitle
include		<inetsvc.h>
declaration	void setproctitle(const char *svc_name, int s, char **argv);
version		SUNWprivate_1.1
end

function	dg_template
include		<inetsvc.h>
declaration 	void dg_template(void (*cb)(int, const struct sockaddr *, int,
		    const void *, size_t), int s, void *buf, size_t buflen);
version		SUNWprivate_1.1
end

function	safe_write
include		<inetsvc.h>
declaration 	int safe_write(int fd, const void *buf, size_t sz);
version		SUNWprivate_1.1
end

function	safe_sendto
include		<inetsvc.h>
declaration	int safe_sendto(int fd, const void *buf, size_t sz, int flags,
		    const struct sockaddr *to, int tolen);
version		SUNWprivate_1.1
end

function	get_protos	
include		<inetsvc.h>
declaration	char **get_protos(const char *pstr);
version		SUNWprivate_1.1
end

function	get_netids
include		<inetsvc.h>
declaration	char **get_netids(char *proto);
version		SUNWprivate_1.1
end

function	destroy_strings
include		<inetsvc.h>
declaration	void destroy_strings(char **strs);
version		SUNWprivate_1.1
end

function	destroy_basic_cfg
include		<inetsvc.h>
declaration	void destroy_basic_cfg(basic_cfg_t *cfg)
version		SUNWprivate_1.1
end

function	destroy_proto_list
include		<inetsvc.h>
declaration	void destroy_proto_list(basic_cfg_t *cfg)
version		SUNWprivate_1.1
end