ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
sa
role.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
19
/* */
20
21
#ifndef ROLE_H
22
#define ROLE_H
23
24
#include <
sa/sa.h
>
25
#include <sa/libsa_exports.h>
26
#include <
unidefs.h
>
27
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
43
extern
SA_API
int
SA_extent_role
(
44
int
* num_of_roles,
45
tag_t
** role_tags
46
);
47
59
extern
SA_API
int
SA_initialize_role
(
60
tag_t
role_tag,
61
const
char
rolename[
SA_name_size_c
+ 1]
62
);
63
72
extern
SA_API
int
SA_initialize_role2
(
73
tag_t
role_tag,
74
const
char
*rolename
75
);
76
90
extern
SA_API
int
SA_create_role
(
91
const
char
rolename[
SA_name_size_c
+ 1],
92
tag_t
* role_tag
93
);
94
100
extern
SA_API
int
SA_create_role2
(
101
const
char
*rolename,
102
tag_t
* role_tag
103
);
104
111
extern
SA_API
int
SA_set_role_name
(
112
tag_t
role_tag,
113
const
char
rolename[
SA_name_size_c
+ 1]
114
);
115
119
extern
SA_API
int
SA_set_role_name2
(
120
tag_t
role_tag,
121
const
char
*rolename
122
);
123
130
extern
SA_API
int
SA_set_role_description
(
131
tag_t
role_tag,
132
const
char
description[
SA_description_size_c
+ 1]
133
);
134
138
extern
SA_API
int
SA_set_role_description2
(
139
tag_t
role_tag,
140
const
char
*description
141
);
142
153
extern
SA_API
int
SA_find_role
(
154
const
char
rolename[
SA_name_size_c
+ 1],
155
tag_t
* role_tag
156
);
157
164
extern
SA_API
int
SA_find_role2
(
165
const
char
*rolename,
166
tag_t
* role_tag
167
);
168
175
extern
SA_API
int
SA_ask_role_name
(
176
tag_t
role_tag,
177
char
rolename[
SA_name_size_c
+ 1]
178
);
179
183
extern
SA_API
int
SA_ask_role_name2
(
184
tag_t
role_tag,
185
char
**rolename
186
);
187
194
extern
SA_API
int
SA_ask_role_description
(
195
tag_t
role_tag,
196
char
description[
SA_description_size_c
+ 1]
197
);
198
202
extern
SA_API
int
SA_ask_role_description2
(
203
tag_t
role_tag,
204
char
**description
205
);
206
210
extern
SA_API
int
SA_ask_current_role
(
211
tag_t
* current_role_tag
212
);
216
extern
SA_API
int
SA_get_mapped_role_attr_list
(
217
int
* numberOfAttributes,
218
char
*** list );
219
220
224
extern
SA_API
int
SA_set_role_last_sync_date
(
225
const
tag_t
role,
226
date_t
syncDate
227
);
231
extern
SA_API
int
SA_get_role_last_sync_date
(
232
const
tag_t
role,
233
date_t
*syncDate
234
);
238
extern
SA_API
int
SA_set_role_data_source
(
239
const
tag_t
role,
240
int
dataSource
241
);
245
extern
SA_API
int
SA_get_role_data_source
(
246
const
tag_t
role,
247
int
*dataSource
248
);
249
254
extern
SA_API
int
SA_ask_role_name_by_localized_role_name
(
255
const
char
*localizedRoleName,
256
char
roleName[
SA_name_size_c
+1]
257
);
258
261
extern
SA_API
int
SA_ask_role_name_by_localized_role_name2
(
262
const
char
*localizedRoleName,
263
char
**roleName
264
);
265
268
#ifdef __cplusplus
269
}
270
#endif
271
272
#include <sa/libsa_undef.h>
273
274
#endif