Start development on 386BSD 0.0
[unix-history] / .ref-BSD-4_3_Net_2 / usr / src / contrib / isode / ftam / llib-lftam
CommitLineData
53102063
C
1/* llib-lftam - lint library for -lftam */
2
3/*
4 * $Header: /f/osi/ftam/RCS/llib-lftam,v 7.1 91/02/22 09:23:21 mrose Interim $
5 *
6 *
7 * $Log: llib-lftam,v $
8 * Revision 7.1 91/02/22 09:23:21 mrose
9 * Interim 6.8
10 *
11 * Revision 7.0 89/11/23 21:53:58 mrose
12 * Release 6.0
13 *
14 */
15
16/*
17 * NOTICE
18 *
19 * Acquisition, use, and distribution of this module and related
20 * materials are subject to the restrictions of a license agreement.
21 * Consult the Preface in the User's Manual for the full terms of
22 * this agreement.
23 *
24 */
25
26
27/* LINTLIBRARY */
28
29#include "ftam.h"
30
31/* \f */
32
33/* F-INITIALIZE.INDICATION */
34
35int FInit (vecp, vec, fts, tracing, fti)
36int vecp;
37char **vec;
38struct FTAMstart *fts;
39IFP tracing;
40struct FTAMindication *fti;
41{
42 return FInit (vecp, vec, fts, tracing, fti);
43}
44
45
46/* F-INITIALIZE.RESPONSE */
47
48int FInitializeResponse (sd, state, action, context, respondtitle,
49 respondaddr, manage, class, units, attrs, sharedASE, fqos, contents,
50 diag, ndiag, fti)
51int sd;
52int state,
53 action,
54 manage,
55 class,
56 units,
57 attrs,
58 fqos;
59OID context;
60AEI respondtitle;
61struct PSAPaddr *respondaddr;
62PE sharedASE;
63struct FTAMcontentlist *contents;
64struct FTAMdiagnostic diag[];
65int ndiag;
66struct FTAMindication *fti;
67{
68 return FInitializeResponse (sd, state, action, context, respondtitle,
69 respondaddr, manage, class, units, attrs, sharedASE, fqos, contents,
70 diag, ndiag, fti);
71}
72
73
74/* F-INITIALIZE.REQUEST */
75
76int FInitializeRequest (context, callingtitle, calledtitle, callingaddr,
77 calledaddr, manage, class, units, attrs, sharedASE, fqos, contents,
78 initiator, account, password, passlen, qos, tracing, ftc, fti)
79OID context;
80AEI callingtitle,
81 calledtitle;
82struct PSAPaddr *callingaddr,
83 *calledaddr;
84int manage,
85 class,
86 units,
87 attrs,
88 fqos,
89 passlen;
90PE sharedASE;
91struct FTAMcontentlist *contents;
92char *initiator,
93 *account,
94 *password;
95struct QOStype *qos;
96IFP tracing;
97struct FTAMconnect *ftc;
98struct FTAMindication *fti;
99{
100 return FInitializeRequest (context, callingtitle, calledtitle, callingaddr,
101 calledaddr, manage, class, units, attrs, sharedASE, fqos,
102 contents, initiator, account, password, passlen, qos, tracing,
103 ftc, fti);
104}
105
106
107/* F-TERMINATE.REQUEST */
108
109int FTerminateRequest (sd, sharedASE, ftr, fti)
110int sd;
111PE sharedASE;
112struct FTAMrelease *ftr;
113struct FTAMindication *fti;
114{
115 return FTerminateRequest (sd, sharedASE, ftr, fti);
116}
117
118
119/* F-TERMINATE.RESPONSE */
120
121int FTerminateResponse (sd, sharedASE, charging, fti)
122int sd;
123PE sharedASE;
124struct FTAMcharging *charging;
125struct FTAMindication *fti;
126{
127 return FTerminateResponse (sd, sharedASE, charging, fti);
128}
129
130
131/* F-U-ABORT.REQUEST */
132
133int FUAbortRequest (sd, action, diag, ndiag, fti)
134int sd;
135int action;
136struct FTAMdiagnostic diag[];
137int ndiag;
138struct FTAMindication *fti;
139{
140 return FUAbortRequest (sd, action, diag, ndiag, fti);
141}
142
143
144/* F-WAIT.REQUEST (pseudo) */
145
146int FWaitRequest (sd, secs, fti)
147int sd;
148int secs;
149struct FTAMindication *fti;
150{
151 return FWaitRequest (sd, secs, fti);
152}
153
154
155/* F-MANAGE.REQUEST (group) */
156
157int FManageRequest (sd, ftg, fti)
158int sd;
159struct FTAMgroup *ftg;
160struct FTAMindication *fti;
161{
162 return FManageRequest (sd, ftg, fti);
163}
164
165
166/* F-MANAGE.RESPONSE (group) */
167
168int FManageResponse (sd, ftg, fti)
169int sd;
170struct FTAMgroup *ftg;
171struct FTAMindication *fti;
172{
173 return FManageResponse (sd, ftg, fti);
174}
175
176
177/* F-BULK-BEGIN.REQUEST (group) */
178
179int FBulkBeginRequest (sd, ftg, fti)
180int sd;
181struct FTAMgroup *ftg;
182struct FTAMindication *fti;
183{
184 return FBulkBeginRequest (sd, ftg, fti);
185}
186
187
188/* F-BULK-BEGIN.RESPONSE (group) */
189
190int FBulkBeginResponse (sd, ftg, fti)
191int sd;
192struct FTAMgroup *ftg;
193struct FTAMindication *fti;
194{
195 return FBulkBeginResponse (sd, ftg, fti);
196}
197
198
199/* F-BULK-END.REQUEST (group) */
200
201int FBulkEndRequest (sd, ftg, fti)
202int sd;
203struct FTAMgroup *ftg;
204struct FTAMindication *fti;
205{
206 return FBulkEndRequest (sd, ftg, fti);
207}
208
209
210/* F-BULK-END.RESPONSE (group) */
211
212int FBulkEndResponse (sd, ftg, fti)
213int sd;
214struct FTAMgroup *ftg;
215struct FTAMindication *fti;
216{
217 return FBulkEndResponse (sd, ftg, fti);
218}
219
220
221/* F-{LOCATE,ERASE}.REQUEST */
222
223int FAccessRequest (sd, operation, identity, fti)
224int sd;
225int operation;
226struct FADUidentity *identity;
227struct FTAMindication *fti;
228{
229 return FAccessRequest (sd, operation, identity, fti);
230}
231
232
233/* F-{LOCATE,ERASE}.RESPONSE */
234
235int FAccessResponse (sd, action, identity, diag, ndiag, fti)
236int sd;
237int action;
238struct FADUidentity *identity; /* F-LOCATE.RESPONSE only */
239struct FTAMdiagnostic diag[];
240int ndiag;
241struct FTAMindication *fti;
242{
243 return FAccessResponse (sd, action, identity, diag, ndiag, fti);
244}
245
246
247/* F-{READ,WRITE}.REQUEST */
248
249int FReadWriteRequest (sd, operation, identity, context, level, lock, fti)
250int sd;
251int operation;
252struct FADUidentity *identity;
253int context, /* F-READ.REQUEST only */
254 level, /* .. */
255 lock;
256struct FTAMindication *fti;
257{
258 return FReadWriteRequest (sd, operation, identity, context, level, lock,
259 fti);
260}
261
262
263/* F-DATA.REQUEST */
264
265int FDataRequest (sd, fadus, nfadu, fti)
266int sd;
267PE fadus[];
268int nfadu;
269struct FTAMindication *fti;
270{
271 return FDataRequest (sd, fadus, nfadu, fti);
272}
273
274
275/* F-DATA-END.REQUEST */
276
277int FDataEndRequest (sd, action, diag, ndiag, fti)
278int sd;
279int action;
280struct FTAMdiagnostic diag[];
281int ndiag;
282struct FTAMindication *fti;
283{
284 return FDataEndRequest (sd, action, diag, ndiag, fti);
285}
286
287
288/* F-CANCEL.REQUEST */
289
290int FCancelRequest (sd, action, sharedASE, diag, ndiag, fti)
291int sd;
292int action;
293PE sharedASE;
294struct FTAMdiagnostic diag[];
295int ndiag;
296struct FTAMindication *fti;
297{
298 return FCancelRequest (sd, action, sharedASE, diag, ndiag, fti);
299}
300
301
302/* F-CANCEL.RESPONSE */
303
304int FCancelResponse (sd, action, sharedASE, diag, ndiag, fti)
305int sd;
306int action;
307PE sharedASE;
308struct FTAMdiagnostic diag[];
309int ndiag;
310struct FTAMindication *fti;
311{
312 return FCancelResponse (sd, action, sharedASE, diag, ndiag, fti);
313}
314
315
316/* F-TRANSFER-END.REQUEST */
317
318int FTransEndRequest (sd, sharedASE, fti)
319int sd;
320PE sharedASE;
321struct FTAMindication *fti;
322{
323 return FTransEndRequest (sd, sharedASE, fti);
324}
325
326
327/* F-TRANSFER-END.RESPONSE */
328
329int FTransEndResponse (sd, action, sharedASE, diag, ndiag, fti)
330int sd;
331int action;
332PE sharedASE;
333struct FTAMdiagnostic diag[];
334int ndiag;
335struct FTAMindication *fti;
336{
337 return FTransEndResponse (sd, action, sharedASE, diag, ndiag, fti);
338}
339
340
341/* define vector for INDICATION events */
342
343int FSetIndications (sd, indication, fti)
344int sd;
345IFP indication;
346struct FTAMindication *fti;
347{
348 return FSetIndications (sd, indication, fti);
349}
350
351
352/* map ftam descriptors for select() */
353
354int FSelectMask (sd, mask, nfds, fti)
355int sd;
356fd_set *mask;
357int *nfds;
358struct FTAMindication *fti;
359{
360 return FSelectMask (sd, mask, nfds, fti);
361}
362
363
364/* set tracing */
365
366int FHookRequest (sd, tracing, fti)
367int sd;
368IFP tracing;
369struct FTAMindication *fti;
370{
371 return FHookRequest (sd, tracing, fti);
372}
373
374
375/* user-defined tracing */
376
377int FTraceHook (sd, event, fpdu, pe, rw)
378int sd;
379char *event,
380 *fpdu;
381PE pe;
382int rw;
383{
384 return FTraceHook (sd, event, fpdu, pe, rw);
385}
386
387
388/* return FTAM error code in string form */
389
390char *FErrString (code)
391int code;
392{
393 return FErrString (code);
394}
395
396
397/* free list of attributes */
398
399void FAFREE (fa)
400struct FTAMattributes *fa;
401{
402 FAFREE (fa);
403}
404
405/* isodocuments routines */
406
407
408int setisodocument (f)
409int f;
410{
411 return setisodocument (f);
412}
413
414
415int endisodocument ()
416{
417 return endisodocument ();
418}
419
420
421struct isodocument *getisodocument ()
422{
423 return getisodocument ();
424}
425
426
427struct isodocument *getisodocumentbyentry (entry)
428char *entry;
429{
430 return getisodocumentbyentry (entry);
431}
432
433
434struct isodocument *getisodocumentbytype (type)
435OID type;
436{
437 return getisodocumentbytype (type);
438}