1dat_registry_add_proDviirdeecrt(3ADcAcTe)ss Transport Libradrayt_Fruengcitsitornys_add_provider(3DAT)
2
3
4
6 dat_registry_add_provider - declare the Provider with the Dynamic Reg‐
7 istry
8
10 cc [ flag... ] file... -ldat [ library... ]
11 #include <dat/udat.h>
12
13 DAT_RETURN
14 dat_registry_add_provider (
15 IN const DAT_PROVIDER *provider,
16 IN const DAT_PROVIDER_INFO *provider_info
17 )
18
19
21 provider Self-description of a Provider.
22
23
24 provider_info Attributes of the Provider.
25
26
28 The Provider declares itself with the Dynamic Registry. Note that the
29 caller can choose to register itself multiple times, for example once
30 for each port. The choice of what to virtualize is up to the Provider.
31 Each registration provides an Interface Adapter to DAT. Each Provider
32 must have a unique name.
33
34
35 The same IA Name cannot be added multiple times. An attempt to register
36 the same IA Name again results in an error with the return value
37 DAT_PROVIDER_ALREADY_REGISTERED.
38
39
40 The contents of provider_info must be the same as those the Consumer
41 uses in the call to dat_ia_open(3DAT) directly, or the ones provided
42 indirectly defined by the header files with which the Consumer com‐
43 piled.
44
46 DAT_SUCCESS
47
48 The operation was successful.
49
50
51 DAT_INSUFFICIENT_RESOURCES
52
53 The maximum number of Providers was already registered.
54
55
56 DAT_INVALID_PARAMETER
57
58 Invalid parameter.
59
60
61 DAT_PROVIDER_ALREADY_REGISTERED
62
63 Invalid or nonunique name.
64
65
67 See attributes(5) for descriptions of the following attributes:
68
69
70
71
72 ┌─────────────────────────────┬─────────────────────────────┐
73 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
74 ├─────────────────────────────┼─────────────────────────────┤
75 │Interface Stability │Standard: uDAPL, 1.1, 1.2 │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │MT-Level │ │
78 └─────────────────────────────┴─────────────────────────────┘
79
81 dat_ia_open(3DAT), libdat(3LIB), attributes(5)
82
83
84
85SunOS 5.11 16 Jul 2004 dat_registry_add_provider(3DAT)