ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
sa
person.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 PERSON_H
22
#define PERSON_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
44
extern
SA_API
int
SA_extent_person
(
45
int
* num_of_persons,
46
tag_t
** person_tags
47
);
48
61
extern
SA_API
int
SA_initialize_person
(
62
tag_t
person_tag,
63
const
char
person_name[
SA_person_name_size_c
+ 1]
64
);
65
75
extern
SA_API
int
SA_initialize_person2
(
76
tag_t
person_tag,
77
const
char
*person_name
78
);
79
92
extern
SA_API
int
SA_create_person
(
93
const
char
person_name[
SA_person_name_size_c
+ 1],
94
tag_t
* person_tag
95
);
96
106
extern
SA_API
int
SA_create_person2
(
107
const
char
*person_name,
108
tag_t
* person_tag
109
);
110
117
extern
SA_API
int
SA_set_person_name
(
118
tag_t
person_tag,
119
const
char
person_name[
SA_person_name_size_c
+ 1]
120
);
121
125
extern
SA_API
int
SA_set_person_name2
(
126
tag_t
person_tag,
127
const
char
*person_name
128
);
129
136
extern
SA_API
int
SA_ask_person_name
(
137
tag_t
person_tag,
138
char
person_name[
SA_person_name_size_c
+ 1]
139
);
140
144
extern
SA_API
int
SA_ask_person_name2
(
145
tag_t
person_tag,
146
char
**person_name
147
);
148
156
extern
SA_API
int
SA_ask_person_form_name
(
157
tag_t
person_tag,
158
char
form_name[
SA_name_size_c
+ 1]
159
);
160
165
extern
SA_API
int
SA_ask_person_form_name2
(
166
tag_t
person_tag,
167
char
**form_name
168
);
169
177
extern
SA_API
int
SA_set_person_form_name
(
178
tag_t
person_tag,
179
const
char
form_name[
SA_name_size_c
+ 1]
180
);
181
186
extern
SA_API
int
SA_set_person_form_name2
(
187
tag_t
person_tag,
188
const
char
*form_name
189
);
190
198
extern
SA_API
int
SA_ask_person_locale
(
199
tag_t
person_tag,
200
char
locale[
SA_locale_size_c
+ 1]
201
);
202
207
extern
SA_API
int
SA_ask_person_locale2
(
208
tag_t
person_tag,
209
char
**locale
210
);
211
219
extern
SA_API
int
SA_set_person_locale
(
220
tag_t
person_tag,
221
const
char
locale[
SA_locale_size_c
+ 1]
222
);
223
228
extern
SA_API
int
SA_set_person_locale2
(
229
tag_t
person_tag,
230
const
char
*locale
231
);
232
240
extern
SA_API
int
SA_ask_person_timezone
(
241
tag_t
person_tag,
242
char
timezone[
SA_timezone_size_c
+ 1]
243
);
244
249
extern
SA_API
int
SA_ask_person_timezone2
(
250
tag_t
person_tag,
251
char
**timezone
252
);
253
261
extern
SA_API
int
SA_set_person_timezone
(
262
tag_t
person_tag,
263
const
char
timezone[
SA_timezone_size_c
+ 1]
264
);
265
270
extern
SA_API
int
SA_set_person_timezone2
(
271
tag_t
person_tag,
272
const
char
*timezone
273
);
274
281
extern
SA_API
int
SA_set_person_attribute
(
282
tag_t
personTag,
283
const
char
attributeName[
SA_name_size_c
+ 1],
284
const
char
attributeValue[
SA_name_size_c
+ 1]
285
);
286
290
extern
SA_API
int
SA_set_person_attribute2
(
291
tag_t
personTag,
292
const
char
*attributeName,
293
const
char
*attributeValue
294
);
295
303
extern
SA_API
int
SA_ask_person_attribute
(
304
tag_t
personTag,
305
const
char
attributeName[
SA_name_size_c
+ 1],
306
char
attributeValue[
SA_name_size_c
+ 1]
307
);
308
313
extern
SA_API
int
SA_ask_person_attribute2
(
314
tag_t
personTag,
315
const
char
*attributeName,
316
char
**attributeValue
317
);
318
328
extern
SA_API
int
SA_find_person
(
329
const
char
person_name[
SA_person_name_size_c
+ 1],
330
tag_t
* person_tag
331
);
332
339
extern
SA_API
int
SA_find_person2
(
340
const
char
*person_name,
341
tag_t
* person_tag
342
);
343
350
extern
SA_API
int
SA_set_person_attr
(
351
tag_t
personTag,
352
const
char
attributeName[
SA_name_size_c
+ 1],
353
const
char
*attributeValue
354
);
355
359
extern
SA_API
int
SA_set_person_attr2
(
360
tag_t
personTag,
361
const
char
*attributeName,
362
const
char
*attributeValue
363
);
364
365
374
extern
SA_API
int
SA_ask_person_attr
(
375
tag_t
personTag,
376
const
char
attributeName[
SA_name_size_c
+ 1],
377
char
**attributeValue
378
);
379
385
extern
SA_API
int
SA_ask_person_attr2
(
386
tag_t
personTag,
387
const
char
*attributeName,
388
char
**attributeValue
389
);
390
394
extern
SA_API
int
SA_get_mapped_person_attr_list
(
395
int
* numberOfAttributes,
396
char
*** list );
397
401
extern
SA_API
int
SA_set_person_last_sync_date
(
402
const
tag_t
person_tag,
403
date_t
syncDate
404
);
405
409
extern
SA_API
int
SA_get_person_last_sync_date
(
410
const
tag_t
person_tag,
411
date_t
*syncDate
412
);
413
417
extern
SA_API
int
SA_set_person_data_source
(
418
const
tag_t
person_tag,
419
int
dataSource
420
);
421
425
extern
SA_API
int
SA_get_person_data_source
(
426
const
tag_t
person_tag,
427
int
*dataSource
428
);
429
436
extern
SA_API
int
SA_ask_person_email_address
(
437
tag_t
personTag,
438
char
**email_address
439
);
440
442
#ifdef __cplusplus
443
}
444
#endif
445
446
#include <sa/libsa_undef.h>
447
448
#endif