globus_common 18.14
Loading...
Searching...
No Matches
globus_object_hierarchy.h
1/*
2 * Copyright 1999-2006 University of Chicago
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18#ifndef GLOBUS_OBJECT_HIERARCHY_H
19#define GLOBUS_OBJECT_HIERARCHY_H
20
22#include "globus_object.h"
23#include "globus_list.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/* the following code all generated by running the script
30 * ./globus_object_hierarchy.h.sh declarations < globus_object_hierarchy.idl
31 */
32
33extern const globus_object_type_t
34 GLOBUS_OBJECT_TYPE_RESOURCE_DEFINITION;
35
36#define GLOBUS_OBJECT_TYPE_RESOURCE \
37 (&GLOBUS_OBJECT_TYPE_RESOURCE_DEFINITION)
38
39/* allocate and initialize an object of type
40 * GLOBUS_OBJECT_TYPE_RESOURCE */
41extern globus_object_t *
42globus_object_construct_resource (
43);
44
45/* initialize and return an object of type
46 * GLOBUS_OBJECT_TYPE_RESOURCE */
47extern globus_object_t *
48globus_object_initialize_resource (
49 globus_object_t * object
50);
51
52
53extern const globus_object_type_t
54 GLOBUS_OBJECT_TYPE_COMPUTER_DEFINITION;
55
56#define GLOBUS_OBJECT_TYPE_COMPUTER \
57 (&GLOBUS_OBJECT_TYPE_COMPUTER_DEFINITION)
58
59/* allocate and initialize an object of type
60 * GLOBUS_OBJECT_TYPE_COMPUTER */
61extern globus_object_t *
62globus_object_construct_computer (
63 char * computer_hostname);
64
65/* initialize and return an object of type
66 * GLOBUS_OBJECT_TYPE_COMPUTER */
67extern globus_object_t *
68globus_object_initialize_computer (
69 globus_object_t * object,
70 char * computer_hostname);
71
72/* return the computer_hostname instance data of an object
73 * derived from GLOBUS_OBJECT_TYPE_COMPUTER */
74extern char *
75globus_object_computer_get_computer_hostname (globus_object_t * object)
76;
77
78/* set the computer_hostname instance data of an object
79 * derived from GLOBUS_OBJECT_TYPE_COMPUTER */
80extern void
81globus_object_computer_set_computer_hostname (
82 globus_object_t * object,
83 char * value)
84;
85
86
87extern const globus_object_type_t
88 GLOBUS_OBJECT_TYPE_GRAM_RESOURCE_DEFINITION;
89
90#define GLOBUS_OBJECT_TYPE_GRAM_RESOURCE \
91 (&GLOBUS_OBJECT_TYPE_GRAM_RESOURCE_DEFINITION)
92
93/* allocate and initialize an object of type
94 * GLOBUS_OBJECT_TYPE_GRAM_RESOURCE */
95extern globus_object_t *
96globus_object_construct_gram_resource (
97 char * computer_hostname,
98 char * gram_resource_contact);
99
100/* initialize and return an object of type
101 * GLOBUS_OBJECT_TYPE_GRAM_RESOURCE */
102extern globus_object_t *
103globus_object_initialize_gram_resource (
104 globus_object_t * object,
105 char * computer_hostname,
106 char * gram_resource_contact);
107
108/* return the gram_resource_contact instance data of an object
109 * derived from GLOBUS_OBJECT_TYPE_GRAM_RESOURCE */
110extern char *
111globus_object_gram_resource_get_gram_resource_contact (globus_object_t * object)
112;
113
114/* set the gram_resource_contact instance data of an object
115 * derived from GLOBUS_OBJECT_TYPE_GRAM_RESOURCE */
116extern void
117globus_object_gram_resource_set_gram_resource_contact (
118 globus_object_t * object,
119 char * value)
120;
121
122
123extern const globus_object_type_t
124 GLOBUS_OBJECT_TYPE_FD_TABLE_DEFINITION;
125
126#define GLOBUS_OBJECT_TYPE_FD_TABLE \
127 (&GLOBUS_OBJECT_TYPE_FD_TABLE_DEFINITION)
128
129/* allocate and initialize an object of type
130 * GLOBUS_OBJECT_TYPE_FD_TABLE */
131extern globus_object_t *
132globus_object_construct_fd_table (
133);
134
135/* initialize and return an object of type
136 * GLOBUS_OBJECT_TYPE_FD_TABLE */
137extern globus_object_t *
138globus_object_initialize_fd_table (
139 globus_object_t * object
140);
141
142
143extern const globus_object_type_t
144 GLOBUS_OBJECT_TYPE_STORAGE_DEFINITION;
145
146#define GLOBUS_OBJECT_TYPE_STORAGE \
147 (&GLOBUS_OBJECT_TYPE_STORAGE_DEFINITION)
148
149/* allocate and initialize an object of type
150 * GLOBUS_OBJECT_TYPE_STORAGE */
151extern globus_object_t *
152globus_object_construct_storage (
153 long storage_size);
154
155/* initialize and return an object of type
156 * GLOBUS_OBJECT_TYPE_STORAGE */
157extern globus_object_t *
158globus_object_initialize_storage (
159 globus_object_t * object,
160 long storage_size);
161
162/* return the storage_size instance data of an object
163 * derived from GLOBUS_OBJECT_TYPE_STORAGE */
164extern long
165globus_object_storage_get_storage_size (globus_object_t * object)
166;
167
168/* set the storage_size instance data of an object
169 * derived from GLOBUS_OBJECT_TYPE_STORAGE */
170extern void
171globus_object_storage_set_storage_size (
172 globus_object_t * object,
173 long value)
174;
175
176
177extern const globus_object_type_t
178 GLOBUS_OBJECT_TYPE_FILE_DEFINITION;
179
180#define GLOBUS_OBJECT_TYPE_FILE \
181 (&GLOBUS_OBJECT_TYPE_FILE_DEFINITION)
182
183/* allocate and initialize an object of type
184 * GLOBUS_OBJECT_TYPE_FILE */
185extern globus_object_t *
186globus_object_construct_file (
187 long storage_size,
188 char * file_filename,
189 int file_fd,
190 FILE* file_filep);
191
192/* initialize and return an object of type
193 * GLOBUS_OBJECT_TYPE_FILE */
194extern globus_object_t *
195globus_object_initialize_file (
196 globus_object_t * object,
197 long storage_size,
198 char * file_filename,
199 int file_fd,
200 FILE* file_filep);
201
202/* return the file_filename instance data of an object
203 * derived from GLOBUS_OBJECT_TYPE_FILE */
204extern char *
205globus_object_file_get_file_filename (globus_object_t * object)
206;
207
208/* set the file_filename instance data of an object
209 * derived from GLOBUS_OBJECT_TYPE_FILE */
210extern void
211globus_object_file_set_file_filename (
212 globus_object_t * object,
213 char * value)
214;
215
216/* return the file_fd instance data of an object
217 * derived from GLOBUS_OBJECT_TYPE_FILE */
218extern int
219globus_object_file_get_file_fd (globus_object_t * object)
220;
221
222/* set the file_fd instance data of an object
223 * derived from GLOBUS_OBJECT_TYPE_FILE */
224extern void
225globus_object_file_set_file_fd (
226 globus_object_t * object,
227 int value)
228;
229
230/* return the file_filep instance data of an object
231 * derived from GLOBUS_OBJECT_TYPE_FILE */
232extern FILE*
233globus_object_file_get_file_filep (globus_object_t * object)
234;
235
236/* set the file_filep instance data of an object
237 * derived from GLOBUS_OBJECT_TYPE_FILE */
238extern void
239globus_object_file_set_file_filep (
240 globus_object_t * object,
241 FILE* value)
242;
243
244
245extern const globus_object_type_t
246 GLOBUS_OBJECT_TYPE_MEMORY_DEFINITION;
247
248#define GLOBUS_OBJECT_TYPE_MEMORY \
249 (&GLOBUS_OBJECT_TYPE_MEMORY_DEFINITION)
250
251/* allocate and initialize an object of type
252 * GLOBUS_OBJECT_TYPE_MEMORY */
253extern globus_object_t *
254globus_object_construct_memory (
255 long storage_size);
256
257/* initialize and return an object of type
258 * GLOBUS_OBJECT_TYPE_MEMORY */
259extern globus_object_t *
260globus_object_initialize_memory (
261 globus_object_t * object,
262 long storage_size);
263
264
265extern const globus_object_type_t
266 GLOBUS_OBJECT_TYPE_BUFFER_POOL_DEFINITION;
267
268#define GLOBUS_OBJECT_TYPE_BUFFER_POOL \
269 (&GLOBUS_OBJECT_TYPE_BUFFER_POOL_DEFINITION)
270
271/* allocate and initialize an object of type
272 * GLOBUS_OBJECT_TYPE_BUFFER_POOL */
273extern globus_object_t *
274globus_object_construct_buffer_pool (
275 long storage_size);
276
277/* initialize and return an object of type
278 * GLOBUS_OBJECT_TYPE_BUFFER_POOL */
279extern globus_object_t *
280globus_object_initialize_buffer_pool (
281 globus_object_t * object,
282 long storage_size);
283
284
285extern const globus_object_type_t
286 GLOBUS_OBJECT_TYPE_COMMUNICATOR_DEFINITION;
287
288#define GLOBUS_OBJECT_TYPE_COMMUNICATOR \
289 (&GLOBUS_OBJECT_TYPE_COMMUNICATOR_DEFINITION)
290
291/* allocate and initialize an object of type
292 * GLOBUS_OBJECT_TYPE_COMMUNICATOR */
293extern globus_object_t *
294globus_object_construct_communicator (
295);
296
297/* initialize and return an object of type
298 * GLOBUS_OBJECT_TYPE_COMMUNICATOR */
299extern globus_object_t *
300globus_object_initialize_communicator (
301 globus_object_t * object
302);
303
304
305extern const globus_object_type_t
306 GLOBUS_OBJECT_TYPE_SOCKET_DEFINITION;
307
308#define GLOBUS_OBJECT_TYPE_SOCKET \
309 (&GLOBUS_OBJECT_TYPE_SOCKET_DEFINITION)
310
311/* allocate and initialize an object of type
312 * GLOBUS_OBJECT_TYPE_SOCKET */
313extern globus_object_t *
314globus_object_construct_socket (
315);
316
317/* initialize and return an object of type
318 * GLOBUS_OBJECT_TYPE_SOCKET */
319extern globus_object_t *
320globus_object_initialize_socket (
321 globus_object_t * object
322);
323
324
325extern const globus_object_type_t
326 GLOBUS_OBJECT_TYPE_TASK_DEFINITION;
327
328#define GLOBUS_OBJECT_TYPE_TASK \
329 (&GLOBUS_OBJECT_TYPE_TASK_DEFINITION)
330
331/* allocate and initialize an object of type
332 * GLOBUS_OBJECT_TYPE_TASK */
333extern globus_object_t *
334globus_object_construct_task (
335 globus_object_t * task_request);
336
337/* initialize and return an object of type
338 * GLOBUS_OBJECT_TYPE_TASK */
339extern globus_object_t *
340globus_object_initialize_task (
341 globus_object_t * object,
342 globus_object_t * task_request);
343
344/* return the task_request instance data of an object
345 * derived from GLOBUS_OBJECT_TYPE_TASK */
346extern globus_object_t *
347globus_object_task_get_task_request (globus_object_t * object)
348;
349
350/* set the task_request instance data of an object
351 * derived from GLOBUS_OBJECT_TYPE_TASK */
352extern void
353globus_object_task_set_task_request (
354 globus_object_t * object,
355 globus_object_t * value)
356;
357
358
359extern const globus_object_type_t
360 GLOBUS_OBJECT_TYPE_PROCESS_DEFINITION;
361
362#define GLOBUS_OBJECT_TYPE_PROCESS \
363 (&GLOBUS_OBJECT_TYPE_PROCESS_DEFINITION)
364
365/* allocate and initialize an object of type
366 * GLOBUS_OBJECT_TYPE_PROCESS */
367extern globus_object_t *
368globus_object_construct_process (
369 globus_object_t * task_request,
370 globus_object_t * process_computer,
371 long process_pid);
372
373/* initialize and return an object of type
374 * GLOBUS_OBJECT_TYPE_PROCESS */
375extern globus_object_t *
376globus_object_initialize_process (
377 globus_object_t * object,
378 globus_object_t * task_request,
379 globus_object_t * process_computer,
380 long process_pid);
381
382/* return the process_computer instance data of an object
383 * derived from GLOBUS_OBJECT_TYPE_PROCESS */
384extern globus_object_t *
385globus_object_process_get_process_computer (globus_object_t * object)
386;
387
388/* set the process_computer instance data of an object
389 * derived from GLOBUS_OBJECT_TYPE_PROCESS */
390extern void
391globus_object_process_set_process_computer (
392 globus_object_t * object,
393 globus_object_t * value)
394;
395
396/* return the process_pid instance data of an object
397 * derived from GLOBUS_OBJECT_TYPE_PROCESS */
398extern long
399globus_object_process_get_process_pid (globus_object_t * object)
400;
401
402/* set the process_pid instance data of an object
403 * derived from GLOBUS_OBJECT_TYPE_PROCESS */
404extern void
405globus_object_process_set_process_pid (
406 globus_object_t * object,
407 long value)
408;
409
410
411extern const globus_object_type_t
412 GLOBUS_OBJECT_TYPE_GRAMJOB_DEFINITION;
413
414#define GLOBUS_OBJECT_TYPE_GRAMJOB \
415 (&GLOBUS_OBJECT_TYPE_GRAMJOB_DEFINITION)
416
417/* allocate and initialize an object of type
418 * GLOBUS_OBJECT_TYPE_GRAMJOB */
419extern globus_object_t *
420globus_object_construct_gramjob (
421 globus_object_t * task_request,
422 globus_object_t * gramjob_gram_resource,
423 char * gramjob_contact);
424
425/* initialize and return an object of type
426 * GLOBUS_OBJECT_TYPE_GRAMJOB */
427extern globus_object_t *
428globus_object_initialize_gramjob (
429 globus_object_t * object,
430 globus_object_t * task_request,
431 globus_object_t * gramjob_gram_resource,
432 char * gramjob_contact);
433
434/* return the gramjob_gram_resource instance data of an object
435 * derived from GLOBUS_OBJECT_TYPE_GRAMJOB */
436extern globus_object_t *
437globus_object_gramjob_get_gramjob_gram_resource (globus_object_t * object)
438;
439
440/* set the gramjob_gram_resource instance data of an object
441 * derived from GLOBUS_OBJECT_TYPE_GRAMJOB */
442extern void
443globus_object_gramjob_set_gramjob_gram_resource (
444 globus_object_t * object,
445 globus_object_t * value)
446;
447
448/* return the gramjob_contact instance data of an object
449 * derived from GLOBUS_OBJECT_TYPE_GRAMJOB */
450extern char *
451globus_object_gramjob_get_gramjob_contact (globus_object_t * object)
452;
453
454/* set the gramjob_contact instance data of an object
455 * derived from GLOBUS_OBJECT_TYPE_GRAMJOB */
456extern void
457globus_object_gramjob_set_gramjob_contact (
458 globus_object_t * object,
459 char * value)
460;
461
462
463extern const globus_object_type_t
464 GLOBUS_OBJECT_TYPE_OPERATION_DEFINITION;
465
466#define GLOBUS_OBJECT_TYPE_OPERATION \
467 (&GLOBUS_OBJECT_TYPE_OPERATION_DEFINITION)
468
469/* allocate and initialize an object of type
470 * GLOBUS_OBJECT_TYPE_OPERATION */
471extern globus_object_t *
472globus_object_construct_operation (
473 globus_object_t * operation_identity,
474 globus_object_t * operation_computer);
475
476/* initialize and return an object of type
477 * GLOBUS_OBJECT_TYPE_OPERATION */
478extern globus_object_t *
479globus_object_initialize_operation (
480 globus_object_t * object,
481 globus_object_t * operation_identity,
482 globus_object_t * operation_computer);
483
484/* return the operation_identity instance data of an object
485 * derived from GLOBUS_OBJECT_TYPE_OPERATION */
486extern globus_object_t *
487globus_object_operation_get_operation_identity (globus_object_t * object)
488;
489
490/* set the operation_identity instance data of an object
491 * derived from GLOBUS_OBJECT_TYPE_OPERATION */
492extern void
493globus_object_operation_set_operation_identity (
494 globus_object_t * object,
495 globus_object_t * value)
496;
497
498/* return the operation_computer instance data of an object
499 * derived from GLOBUS_OBJECT_TYPE_OPERATION */
500extern globus_object_t *
501globus_object_operation_get_operation_computer (globus_object_t * object)
502;
503
504/* set the operation_computer instance data of an object
505 * derived from GLOBUS_OBJECT_TYPE_OPERATION */
506extern void
507globus_object_operation_set_operation_computer (
508 globus_object_t * object,
509 globus_object_t * value)
510;
511
512
513extern const globus_object_type_t
514 GLOBUS_OBJECT_TYPE_READ_DEFINITION;
515
516#define GLOBUS_OBJECT_TYPE_READ \
517 (&GLOBUS_OBJECT_TYPE_READ_DEFINITION)
518
519/* allocate and initialize an object of type
520 * GLOBUS_OBJECT_TYPE_READ */
521extern globus_object_t *
522globus_object_construct_read (
523 globus_object_t * operation_identity,
524 globus_object_t * operation_computer,
525 globus_object_t * read_resource,
526 long read_offset,
527 long read_size);
528
529/* initialize and return an object of type
530 * GLOBUS_OBJECT_TYPE_READ */
531extern globus_object_t *
532globus_object_initialize_read (
533 globus_object_t * object,
534 globus_object_t * operation_identity,
535 globus_object_t * operation_computer,
536 globus_object_t * read_resource,
537 long read_offset,
538 long read_size);
539
540/* return the read_resource instance data of an object
541 * derived from GLOBUS_OBJECT_TYPE_READ */
542extern globus_object_t *
543globus_object_read_get_read_resource (globus_object_t * object)
544;
545
546/* set the read_resource instance data of an object
547 * derived from GLOBUS_OBJECT_TYPE_READ */
548extern void
549globus_object_read_set_read_resource (
550 globus_object_t * object,
551 globus_object_t * value)
552;
553
554/* return the read_offset instance data of an object
555 * derived from GLOBUS_OBJECT_TYPE_READ */
556extern long
557globus_object_read_get_read_offset (globus_object_t * object)
558;
559
560/* set the read_offset instance data of an object
561 * derived from GLOBUS_OBJECT_TYPE_READ */
562extern void
563globus_object_read_set_read_offset (
564 globus_object_t * object,
565 long value)
566;
567
568/* return the read_size instance data of an object
569 * derived from GLOBUS_OBJECT_TYPE_READ */
570extern long
571globus_object_read_get_read_size (globus_object_t * object)
572;
573
574/* set the read_size instance data of an object
575 * derived from GLOBUS_OBJECT_TYPE_READ */
576extern void
577globus_object_read_set_read_size (
578 globus_object_t * object,
579 long value)
580;
581
582
583extern const globus_object_type_t
584 GLOBUS_OBJECT_TYPE_WRITE_DEFINITION;
585
586#define GLOBUS_OBJECT_TYPE_WRITE \
587 (&GLOBUS_OBJECT_TYPE_WRITE_DEFINITION)
588
589/* allocate and initialize an object of type
590 * GLOBUS_OBJECT_TYPE_WRITE */
591extern globus_object_t *
592globus_object_construct_write (
593 globus_object_t * operation_identity,
594 globus_object_t * operation_computer,
595 globus_object_t * write_resource,
596 long write_offset,
597 long write_size);
598
599/* initialize and return an object of type
600 * GLOBUS_OBJECT_TYPE_WRITE */
601extern globus_object_t *
602globus_object_initialize_write (
603 globus_object_t * object,
604 globus_object_t * operation_identity,
605 globus_object_t * operation_computer,
606 globus_object_t * write_resource,
607 long write_offset,
608 long write_size);
609
610/* return the write_resource instance data of an object
611 * derived from GLOBUS_OBJECT_TYPE_WRITE */
612extern globus_object_t *
613globus_object_write_get_write_resource (globus_object_t * object)
614;
615
616/* set the write_resource instance data of an object
617 * derived from GLOBUS_OBJECT_TYPE_WRITE */
618extern void
619globus_object_write_set_write_resource (
620 globus_object_t * object,
621 globus_object_t * value)
622;
623
624/* return the write_offset instance data of an object
625 * derived from GLOBUS_OBJECT_TYPE_WRITE */
626extern long
627globus_object_write_get_write_offset (globus_object_t * object)
628;
629
630/* set the write_offset instance data of an object
631 * derived from GLOBUS_OBJECT_TYPE_WRITE */
632extern void
633globus_object_write_set_write_offset (
634 globus_object_t * object,
635 long value)
636;
637
638/* return the write_size instance data of an object
639 * derived from GLOBUS_OBJECT_TYPE_WRITE */
640extern long
641globus_object_write_get_write_size (globus_object_t * object)
642;
643
644/* set the write_size instance data of an object
645 * derived from GLOBUS_OBJECT_TYPE_WRITE */
646extern void
647globus_object_write_set_write_size (
648 globus_object_t * object,
649 long value)
650;
651
652
653extern const globus_object_type_t
654 GLOBUS_OBJECT_TYPE_APPEND_DEFINITION;
655
656#define GLOBUS_OBJECT_TYPE_APPEND \
657 (&GLOBUS_OBJECT_TYPE_APPEND_DEFINITION)
658
659/* allocate and initialize an object of type
660 * GLOBUS_OBJECT_TYPE_APPEND */
661extern globus_object_t *
662globus_object_construct_append (
663 globus_object_t * operation_identity,
664 globus_object_t * operation_computer,
665 globus_object_t * write_resource,
666 long write_offset,
667 long write_size);
668
669/* initialize and return an object of type
670 * GLOBUS_OBJECT_TYPE_APPEND */
671extern globus_object_t *
672globus_object_initialize_append (
673 globus_object_t * object,
674 globus_object_t * operation_identity,
675 globus_object_t * operation_computer,
676 globus_object_t * write_resource,
677 long write_offset,
678 long write_size);
679
680
681extern const globus_object_type_t
682 GLOBUS_OBJECT_TYPE_EXECUTE_DEFINITION;
683
684#define GLOBUS_OBJECT_TYPE_EXECUTE \
685 (&GLOBUS_OBJECT_TYPE_EXECUTE_DEFINITION)
686
687/* allocate and initialize an object of type
688 * GLOBUS_OBJECT_TYPE_EXECUTE */
689extern globus_object_t *
690globus_object_construct_execute (
691 globus_object_t * operation_identity,
692 globus_object_t * operation_computer,
693 globus_object_t * execute_program);
694
695/* initialize and return an object of type
696 * GLOBUS_OBJECT_TYPE_EXECUTE */
697extern globus_object_t *
698globus_object_initialize_execute (
699 globus_object_t * object,
700 globus_object_t * operation_identity,
701 globus_object_t * operation_computer,
702 globus_object_t * execute_program);
703
704/* return the execute_program instance data of an object
705 * derived from GLOBUS_OBJECT_TYPE_EXECUTE */
706extern globus_object_t *
707globus_object_execute_get_execute_program (globus_object_t * object)
708;
709
710/* set the execute_program instance data of an object
711 * derived from GLOBUS_OBJECT_TYPE_EXECUTE */
712extern void
713globus_object_execute_set_execute_program (
714 globus_object_t * object,
715 globus_object_t * value)
716;
717
718
719extern const globus_object_type_t
720 GLOBUS_OBJECT_TYPE_FORK_DEFINITION;
721
722#define GLOBUS_OBJECT_TYPE_FORK \
723 (&GLOBUS_OBJECT_TYPE_FORK_DEFINITION)
724
725/* allocate and initialize an object of type
726 * GLOBUS_OBJECT_TYPE_FORK */
727extern globus_object_t *
728globus_object_construct_fork (
729 globus_object_t * operation_identity,
730 globus_object_t * operation_computer,
731 globus_object_t * execute_program,
732 globus_object_t * fork_parent);
733
734/* initialize and return an object of type
735 * GLOBUS_OBJECT_TYPE_FORK */
736extern globus_object_t *
737globus_object_initialize_fork (
738 globus_object_t * object,
739 globus_object_t * operation_identity,
740 globus_object_t * operation_computer,
741 globus_object_t * execute_program,
742 globus_object_t * fork_parent);
743
744/* return the fork_parent instance data of an object
745 * derived from GLOBUS_OBJECT_TYPE_FORK */
746extern globus_object_t *
747globus_object_fork_get_fork_parent (globus_object_t * object)
748;
749
750/* set the fork_parent instance data of an object
751 * derived from GLOBUS_OBJECT_TYPE_FORK */
752extern void
753globus_object_fork_set_fork_parent (
754 globus_object_t * object,
755 globus_object_t * value)
756;
757
758
759extern const globus_object_type_t
760 GLOBUS_OBJECT_TYPE_SYS_EXEC_DEFINITION;
761
762#define GLOBUS_OBJECT_TYPE_SYS_EXEC \
763 (&GLOBUS_OBJECT_TYPE_SYS_EXEC_DEFINITION)
764
765/* allocate and initialize an object of type
766 * GLOBUS_OBJECT_TYPE_SYS_EXEC */
767extern globus_object_t *
768globus_object_construct_sys_exec (
769 globus_object_t * operation_identity,
770 globus_object_t * operation_computer,
771 globus_object_t * execute_program,
772 globus_list_t * sys_exec_arguments);
773
774/* initialize and return an object of type
775 * GLOBUS_OBJECT_TYPE_SYS_EXEC */
776extern globus_object_t *
777globus_object_initialize_sys_exec (
778 globus_object_t * object,
779 globus_object_t * operation_identity,
780 globus_object_t * operation_computer,
781 globus_object_t * execute_program,
782 globus_list_t * sys_exec_arguments);
783
784/* return the sys_exec_arguments instance data of an object
785 * derived from GLOBUS_OBJECT_TYPE_SYS_EXEC */
786extern globus_list_t *
787globus_object_sys_exec_get_sys_exec_arguments (globus_object_t * object)
788;
789
790/* set the sys_exec_arguments instance data of an object
791 * derived from GLOBUS_OBJECT_TYPE_SYS_EXEC */
792extern void
793globus_object_sys_exec_set_sys_exec_arguments (
794 globus_object_t * object,
795 globus_list_t * value)
796;
797
798
799extern const globus_object_type_t
800 GLOBUS_OBJECT_TYPE_SYS_EXECLE_DEFINITION;
801
802#define GLOBUS_OBJECT_TYPE_SYS_EXECLE \
803 (&GLOBUS_OBJECT_TYPE_SYS_EXECLE_DEFINITION)
804
805/* allocate and initialize an object of type
806 * GLOBUS_OBJECT_TYPE_SYS_EXECLE */
807extern globus_object_t *
808globus_object_construct_sys_execle (
809 globus_object_t * operation_identity,
810 globus_object_t * operation_computer,
811 globus_object_t * execute_program,
812 globus_list_t * sys_exec_arguments,
813 globus_list_t * sys_execle_environment);
814
815/* initialize and return an object of type
816 * GLOBUS_OBJECT_TYPE_SYS_EXECLE */
817extern globus_object_t *
818globus_object_initialize_sys_execle (
819 globus_object_t * object,
820 globus_object_t * operation_identity,
821 globus_object_t * operation_computer,
822 globus_object_t * execute_program,
823 globus_list_t * sys_exec_arguments,
824 globus_list_t * sys_execle_environment);
825
826/* return the sys_execle_environment instance data of an object
827 * derived from GLOBUS_OBJECT_TYPE_SYS_EXECLE */
828extern globus_list_t *
829globus_object_sys_execle_get_sys_execle_environment (globus_object_t * object)
830;
831
832/* set the sys_execle_environment instance data of an object
833 * derived from GLOBUS_OBJECT_TYPE_SYS_EXECLE */
834extern void
835globus_object_sys_execle_set_sys_execle_environment (
836 globus_object_t * object,
837 globus_list_t * value)
838;
839
840
841extern const globus_object_type_t
842 GLOBUS_OBJECT_TYPE_GRAM_REQUEST_DEFINITION;
843
844#define GLOBUS_OBJECT_TYPE_GRAM_REQUEST \
845 (&GLOBUS_OBJECT_TYPE_GRAM_REQUEST_DEFINITION)
846
847/* allocate and initialize an object of type
848 * GLOBUS_OBJECT_TYPE_GRAM_REQUEST */
849extern globus_object_t *
850globus_object_construct_gram_request (
851 globus_object_t * operation_identity,
852 globus_object_t * operation_computer,
853 globus_object_t * execute_program,
854 globus_object_t * gram_request_resource);
855
856/* initialize and return an object of type
857 * GLOBUS_OBJECT_TYPE_GRAM_REQUEST */
858extern globus_object_t *
859globus_object_initialize_gram_request (
860 globus_object_t * object,
861 globus_object_t * operation_identity,
862 globus_object_t * operation_computer,
863 globus_object_t * execute_program,
864 globus_object_t * gram_request_resource);
865
866/* return the gram_request_resource instance data of an object
867 * derived from GLOBUS_OBJECT_TYPE_GRAM_REQUEST */
868extern globus_object_t *
869globus_object_gram_request_get_gram_request_resource (globus_object_t * object)
870;
871
872/* set the gram_request_resource instance data of an object
873 * derived from GLOBUS_OBJECT_TYPE_GRAM_REQUEST */
874extern void
875globus_object_gram_request_set_gram_request_resource (
876 globus_object_t * object,
877 globus_object_t * value)
878;
879
880
881extern const globus_object_type_t
882 GLOBUS_OBJECT_TYPE_OPEN_CREATE_DEFINITION;
883
884#define GLOBUS_OBJECT_TYPE_OPEN_CREATE \
885 (&GLOBUS_OBJECT_TYPE_OPEN_CREATE_DEFINITION)
886
887/* allocate and initialize an object of type
888 * GLOBUS_OBJECT_TYPE_OPEN_CREATE */
889extern globus_object_t *
890globus_object_construct_open_create (
891 globus_object_t * operation_identity,
892 globus_object_t * operation_computer,
893 globus_object_t * open_create_resource);
894
895/* initialize and return an object of type
896 * GLOBUS_OBJECT_TYPE_OPEN_CREATE */
897extern globus_object_t *
898globus_object_initialize_open_create (
899 globus_object_t * object,
900 globus_object_t * operation_identity,
901 globus_object_t * operation_computer,
902 globus_object_t * open_create_resource);
903
904/* return the open_create_resource instance data of an object
905 * derived from GLOBUS_OBJECT_TYPE_OPEN_CREATE */
906extern globus_object_t *
907globus_object_open_create_get_open_create_resource (globus_object_t * object)
908;
909
910/* set the open_create_resource instance data of an object
911 * derived from GLOBUS_OBJECT_TYPE_OPEN_CREATE */
912extern void
913globus_object_open_create_set_open_create_resource (
914 globus_object_t * object,
915 globus_object_t * value)
916;
917
918
919extern const globus_object_type_t
920 GLOBUS_OBJECT_TYPE_OPEN_DEFINITION;
921
922#define GLOBUS_OBJECT_TYPE_OPEN \
923 (&GLOBUS_OBJECT_TYPE_OPEN_DEFINITION)
924
925/* allocate and initialize an object of type
926 * GLOBUS_OBJECT_TYPE_OPEN */
927extern globus_object_t *
928globus_object_construct_open (
929 globus_object_t * operation_identity,
930 globus_object_t * operation_computer,
931 globus_object_t * open_create_resource);
932
933/* initialize and return an object of type
934 * GLOBUS_OBJECT_TYPE_OPEN */
935extern globus_object_t *
936globus_object_initialize_open (
937 globus_object_t * object,
938 globus_object_t * operation_identity,
939 globus_object_t * operation_computer,
940 globus_object_t * open_create_resource);
941
942
943extern const globus_object_type_t
944 GLOBUS_OBJECT_TYPE_CREATE_DEFINITION;
945
946#define GLOBUS_OBJECT_TYPE_CREATE \
947 (&GLOBUS_OBJECT_TYPE_CREATE_DEFINITION)
948
949/* allocate and initialize an object of type
950 * GLOBUS_OBJECT_TYPE_CREATE */
951extern globus_object_t *
952globus_object_construct_create (
953 globus_object_t * operation_identity,
954 globus_object_t * operation_computer,
955 globus_object_t * open_create_resource,
956 globus_list_t * create_mode);
957
958/* initialize and return an object of type
959 * GLOBUS_OBJECT_TYPE_CREATE */
960extern globus_object_t *
961globus_object_initialize_create (
962 globus_object_t * object,
963 globus_object_t * operation_identity,
964 globus_object_t * operation_computer,
965 globus_object_t * open_create_resource,
966 globus_list_t * create_mode);
967
968/* return the create_mode instance data of an object
969 * derived from GLOBUS_OBJECT_TYPE_CREATE */
970extern globus_list_t *
971globus_object_create_get_create_mode (globus_object_t * object)
972;
973
974/* set the create_mode instance data of an object
975 * derived from GLOBUS_OBJECT_TYPE_CREATE */
976extern void
977globus_object_create_set_create_mode (
978 globus_object_t * object,
979 globus_list_t * value)
980;
981
982
983extern const globus_object_type_t
984 GLOBUS_OBJECT_TYPE_CLOSE_DEFINITION;
985
986#define GLOBUS_OBJECT_TYPE_CLOSE \
987 (&GLOBUS_OBJECT_TYPE_CLOSE_DEFINITION)
988
989/* allocate and initialize an object of type
990 * GLOBUS_OBJECT_TYPE_CLOSE */
991extern globus_object_t *
992globus_object_construct_close (
993 globus_object_t * operation_identity,
994 globus_object_t * operation_computer,
995 globus_object_t * close_resource);
996
997/* initialize and return an object of type
998 * GLOBUS_OBJECT_TYPE_CLOSE */
999extern globus_object_t *
1000globus_object_initialize_close (
1001 globus_object_t * object,
1002 globus_object_t * operation_identity,
1003 globus_object_t * operation_computer,
1004 globus_object_t * close_resource);
1005
1006/* return the close_resource instance data of an object
1007 * derived from GLOBUS_OBJECT_TYPE_CLOSE */
1008extern globus_object_t *
1009globus_object_close_get_close_resource (globus_object_t * object)
1010;
1011
1012/* set the close_resource instance data of an object
1013 * derived from GLOBUS_OBJECT_TYPE_CLOSE */
1014extern void
1015globus_object_close_set_close_resource (
1016 globus_object_t * object,
1017 globus_object_t * value)
1018;
1019
1020
1021extern const globus_object_type_t
1022 GLOBUS_OBJECT_TYPE_USERDATA_DEFINITION;
1023
1024#define GLOBUS_OBJECT_TYPE_USERDATA \
1025 (&GLOBUS_OBJECT_TYPE_USERDATA_DEFINITION)
1026
1027/* allocate and initialize an object of type
1028 * GLOBUS_OBJECT_TYPE_USERDATA */
1029extern globus_object_t *
1030globus_object_construct_userdata (
1031);
1032
1033/* initialize and return an object of type
1034 * GLOBUS_OBJECT_TYPE_USERDATA */
1035extern globus_object_t *
1036globus_object_initialize_userdata (
1037 globus_object_t * object
1038);
1039
1040
1041extern const globus_object_type_t
1042 GLOBUS_OBJECT_TYPE_RSL_DEFINITION;
1043
1044#define GLOBUS_OBJECT_TYPE_RSL \
1045 (&GLOBUS_OBJECT_TYPE_RSL_DEFINITION)
1046
1047/* allocate and initialize an object of type
1048 * GLOBUS_OBJECT_TYPE_RSL */
1049extern globus_object_t *
1050globus_object_construct_rsl (
1051 char * rsl_string,
1052 void * rsl_globus_rsl);
1053
1054/* initialize and return an object of type
1055 * GLOBUS_OBJECT_TYPE_RSL */
1056extern globus_object_t *
1057globus_object_initialize_rsl (
1058 globus_object_t * object,
1059 char * rsl_string,
1060 void * rsl_globus_rsl);
1061
1062/* return the rsl_string instance data of an object
1063 * derived from GLOBUS_OBJECT_TYPE_RSL */
1064extern char *
1065globus_object_rsl_get_rsl_string (globus_object_t * object)
1066;
1067
1068/* set the rsl_string instance data of an object
1069 * derived from GLOBUS_OBJECT_TYPE_RSL */
1070extern void
1071globus_object_rsl_set_rsl_string (
1072 globus_object_t * object,
1073 char * value)
1074;
1075
1076/* return the rsl_globus_rsl instance data of an object
1077 * derived from GLOBUS_OBJECT_TYPE_RSL */
1078extern void *
1079globus_object_rsl_get_rsl_globus_rsl (globus_object_t * object)
1080;
1081
1082/* set the rsl_globus_rsl instance data of an object
1083 * derived from GLOBUS_OBJECT_TYPE_RSL */
1084extern void
1085globus_object_rsl_set_rsl_globus_rsl (
1086 globus_object_t * object,
1087 void * value)
1088;
1089
1090
1091extern const globus_object_type_t
1092 GLOBUS_OBJECT_TYPE_IDENTITY_DEFINITION;
1093
1094#define GLOBUS_OBJECT_TYPE_IDENTITY \
1095 (&GLOBUS_OBJECT_TYPE_IDENTITY_DEFINITION)
1096
1097/* allocate and initialize an object of type
1098 * GLOBUS_OBJECT_TYPE_IDENTITY */
1099extern globus_object_t *
1100globus_object_construct_identity (
1101);
1102
1103/* initialize and return an object of type
1104 * GLOBUS_OBJECT_TYPE_IDENTITY */
1105extern globus_object_t *
1106globus_object_initialize_identity (
1107 globus_object_t * object
1108);
1109
1110
1111extern const globus_object_type_t
1112 GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY_DEFINITION;
1113
1114#define GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY \
1115 (&GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY_DEFINITION)
1116
1117/* allocate and initialize an object of type
1118 * GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1119extern globus_object_t *
1120globus_object_construct_local_identity (
1121 globus_object_t * local_identity_computer,
1122 char * local_identity_username);
1123
1124/* initialize and return an object of type
1125 * GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1126extern globus_object_t *
1127globus_object_initialize_local_identity (
1128 globus_object_t * object,
1129 globus_object_t * local_identity_computer,
1130 char * local_identity_username);
1131
1132/* return the local_identity_computer instance data of an object
1133 * derived from GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1134extern globus_object_t *
1135globus_object_local_identity_get_local_identity_computer (globus_object_t * object)
1136;
1137
1138/* set the local_identity_computer instance data of an object
1139 * derived from GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1140extern void
1141globus_object_local_identity_set_local_identity_computer (
1142 globus_object_t * object,
1143 globus_object_t * value)
1144;
1145
1146/* return the local_identity_username instance data of an object
1147 * derived from GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1148extern char *
1149globus_object_local_identity_get_local_identity_username (globus_object_t * object)
1150;
1151
1152/* set the local_identity_username instance data of an object
1153 * derived from GLOBUS_OBJECT_TYPE_LOCAL_IDENTITY */
1154extern void
1155globus_object_local_identity_set_local_identity_username (
1156 globus_object_t * object,
1157 char * value)
1158;
1159
1160
1161extern const globus_object_type_t
1162 GLOBUS_OBJECT_TYPE_GRID_IDENTITY_DEFINITION;
1163
1164#define GLOBUS_OBJECT_TYPE_GRID_IDENTITY \
1165 (&GLOBUS_OBJECT_TYPE_GRID_IDENTITY_DEFINITION)
1166
1167/* allocate and initialize an object of type
1168 * GLOBUS_OBJECT_TYPE_GRID_IDENTITY */
1169extern globus_object_t *
1170globus_object_construct_grid_identity (
1171 char * grid_identity_subject);
1172
1173/* initialize and return an object of type
1174 * GLOBUS_OBJECT_TYPE_GRID_IDENTITY */
1175extern globus_object_t *
1176globus_object_initialize_grid_identity (
1177 globus_object_t * object,
1178 char * grid_identity_subject);
1179
1180/* return the grid_identity_subject instance data of an object
1181 * derived from GLOBUS_OBJECT_TYPE_GRID_IDENTITY */
1182extern char *
1183globus_object_grid_identity_get_grid_identity_subject (globus_object_t * object)
1184;
1185
1186/* set the grid_identity_subject instance data of an object
1187 * derived from GLOBUS_OBJECT_TYPE_GRID_IDENTITY */
1188extern void
1189globus_object_grid_identity_set_grid_identity_subject (
1190 globus_object_t * object,
1191 char * value)
1192;
1193
1194
1195extern const globus_object_type_t
1196 GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY_DEFINITION;
1197
1198#define GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY \
1199 (&GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY_DEFINITION)
1200
1201/* allocate and initialize an object of type
1202 * GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY */
1203extern globus_object_t *
1204globus_object_construct_kerberos_identity (
1205 char * kerberos_identity_principal);
1206
1207/* initialize and return an object of type
1208 * GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY */
1209extern globus_object_t *
1210globus_object_initialize_kerberos_identity (
1211 globus_object_t * object,
1212 char * kerberos_identity_principal);
1213
1214/* return the kerberos_identity_principal instance data of an object
1215 * derived from GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY */
1216extern char *
1217globus_object_kerberos_identity_get_kerberos_identity_principal (globus_object_t * object)
1218;
1219
1220/* set the kerberos_identity_principal instance data of an object
1221 * derived from GLOBUS_OBJECT_TYPE_KERBEROS_IDENTITY */
1222extern void
1223globus_object_kerberos_identity_set_kerberos_identity_principal (
1224 globus_object_t * object,
1225 char * value)
1226;
1227
1228
1229extern const globus_object_type_t
1230 GLOBUS_OBJECT_TYPE_TIME_DEFINITION;
1231
1232#define GLOBUS_OBJECT_TYPE_TIME \
1233 (&GLOBUS_OBJECT_TYPE_TIME_DEFINITION)
1234
1235/* allocate and initialize an object of type
1236 * GLOBUS_OBJECT_TYPE_TIME */
1237extern globus_object_t *
1238globus_object_construct_time (
1239 time_t * time_time);
1240
1241/* initialize and return an object of type
1242 * GLOBUS_OBJECT_TYPE_TIME */
1243extern globus_object_t *
1244globus_object_initialize_time (
1245 globus_object_t * object,
1246 time_t * time_time);
1247
1248/* return the time_time instance data of an object
1249 * derived from GLOBUS_OBJECT_TYPE_TIME */
1250extern time_t *
1251globus_object_time_get_time_time (globus_object_t * object)
1252;
1253
1254/* set the time_time instance data of an object
1255 * derived from GLOBUS_OBJECT_TYPE_TIME */
1256extern void
1257globus_object_time_set_time_time (
1258 globus_object_t * object,
1259 time_t * value)
1260;
1261
1262
1263
1264#ifdef __cplusplus
1265}
1266#endif
1267
1268#endif /* GLOBUS_OBJECT_HIERARCHY_H */
1269
1270
1271
Include System Headers.
Linked List.
List data type.
Definition globus_list.h:45