Commit | Line | Data |
---|---|---|
2596a09e WJ |
1 | /* isoservent.h - ISODE services database access routines */ |
2 | ||
3 | /* | |
4 | * $Header: /f/osi/h/RCS/isoservent.h,v 7.1 91/02/22 09:24:45 mrose Interim $ | |
5 | * | |
6 | * | |
7 | * $Log: isoservent.h,v $ | |
8 | * Revision 7.1 91/02/22 09:24:45 mrose | |
9 | * Interim 6.8 | |
10 | * | |
11 | * Revision 7.0 89/11/23 21:55:47 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 | #ifndef _ISOSERVENT_ | |
28 | #define _ISOSERVENT_ | |
29 | ||
30 | ||
31 | struct isoservent { | |
32 | char *is_entity; /* name of entity */ | |
33 | char *is_provider; /* name of service provider */ | |
34 | ||
35 | #define ISSIZE 64 /* xSAP selector/ID */ | |
36 | int is_selectlen; | |
37 | union { | |
38 | char is_un_selector[ISSIZE]; | |
39 | unsigned short is_un_port; | |
40 | } un_is; | |
41 | #define is_selector un_is.is_un_selector | |
42 | #define is_port un_is.is_un_port | |
43 | ||
44 | char **is_vec; /* exec vector */ | |
45 | char **is_tail; /* next free slot in vector */ | |
46 | }; | |
47 | ||
48 | ||
49 | int setisoservent (), endisoservent (); | |
50 | ||
51 | struct isoservent *getisoservent (); | |
52 | ||
53 | struct isoservent *getisoserventbyname (); | |
54 | struct isoservent *getisoserventbyselector (); | |
55 | struct isoservent *getisoserventbyport (); | |
56 | ||
57 | #endif |