Grid Community Toolkit  6.2.1541705016
globus_gass_transfer.h
Go to the documentation of this file.
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 
22 #ifndef GLOBUS_GASS_TRANSFER_H
23 #define GLOBUS_GASS_TRANSFER_H
24 
25 #include "globus_common.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
32 
36 #endif
37 
94 extern globus_module_descriptor_t globus_i_gass_transfer_module;
95 
100 #define GLOBUS_GASS_TRANSFER_MODULE (&globus_i_gass_transfer_module)
101 
102 #define _GTSL(s) globus_common_i18n_get_string( \
103  GLOBUS_GASS_TRANSFER_MODULE, \
104  s)
105 
128 typedef globus_handle_t globus_gass_transfer_listener_t;
129 
133 typedef globus_object_t * globus_gass_transfer_requestattr_t;
137 typedef globus_object_t * globus_gass_transfer_listenerattr_t;
138 
139 /* Module Specific Types */
144 typedef enum
145 {
155 
156 typedef enum
157 {
158  GLOBUS_GASS_TRANSFER_FILE_MODE_BINARY,
159  GLOBUS_GASS_TRANSFER_FILE_MODE_TEXT
160 } globus_gass_transfer_file_mode_t;
161 
162 
163 typedef enum
164 {
165  GLOBUS_GASS_TRANSFER_AUTHORIZE_SELF,
166  GLOBUS_GASS_TRANSFER_AUTHORIZE_HOST,
167  GLOBUS_GASS_TRANSFER_AUTHORIZE_SUBJECT,
168  GLOBUS_GASS_TRANSFER_AUTHORIZE_CALLBACK
169 } globus_gass_transfer_authorization_t;
170 
171 
172 /* globus_gass_transfer_request_status will return only the
173  * "visible" subset:
174  * GLOBUS_GASS_TRANSFER_REQUEST_INVALID
175  * GLOBUS_GASS_TRANSFER_REQUEST_STARTING
176  * GLOBUS_GASS_TRANSFER_REQUEST_PENDING (PENDING, ACTING,
177  * ACTING_TO_PENDING)
178  * GLOBUS_GASS_TRANSFER_REQUEST_FAILED (FAILED, USER_FAIL, ACTING_TO_FAIL)
179  * GLOBUS_GASS_TRANSFER_REQUEST_REFERRED (REFERRING, ACTING_TO_REFERRING,
180  * ACTING_TO_REFERRING2)
181  * GLOBUS_GASS_TRANSFER_REQUEST_DENIED
182  * GLOBUS_GASS_TRANSFER_REQUEST_DONE
183  */
188 typedef enum
189 {
204 #ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
205  GLOBUS_GASS_TRANSFER_REQUEST_ACCEPTING,
210  GLOBUS_GASS_TRANSFER_REQUEST_ACTING, /* op passed to request */
211  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_PENDING, /* calling back to user */
212  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_FAILING, /* op passed to request, and
213  user called fail */
214  GLOBUS_GASS_TRANSFER_REQUEST_FAILING, /* user called fail, or op
215  completed, user callback
216  started */
217  GLOBUS_GASS_TRANSFER_REQUEST_USER_FAIL, /* user called fail before
218  ready/referred/denied */
219  GLOBUS_GASS_TRANSFER_REQUEST_REFERRING, /* proto called referred,
220  callback pending */
221  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_REFERRING, /* proto called referred,
222  op in progress */
223  GLOBUS_GASS_TRANSFER_REQUEST_FINISHING, /* op completed successfully,
224  with last data, user callback
225  started*/
226  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL1, /* user called fail before
227  new_listener_request */
228  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL2, /* user called fail before
229  authorize/refer/deny */
230  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL3, /* user called fail before
231  request_ready */
232  GLOBUS_GASS_TRANSFER_REQUEST_STARTING2, /* server not authorized/denied/failed */
233  GLOBUS_GASS_TRANSFER_REQUEST_STARTING3 /* server not authorized/denied/failed */
234 #endif
236 
237 typedef enum
238 {
239  GLOBUS_GASS_TRANSFER_LISTENER_INVALID, /* handle no longer valid */
240  GLOBUS_GASS_TRANSFER_LISTENER_STARTING, /* new listener called */
241  GLOBUS_GASS_TRANSFER_LISTENER_LISTENING, /* register listen/
242  proto->register listen */
243  GLOBUS_GASS_TRANSFER_LISTENER_READY, /* proto calls listener_ready */
244  GLOBUS_GASS_TRANSFER_LISTENER_ACCEPTING, /* register_accept() */
245  GLOBUS_GASS_TRANSFER_LISTENER_CLOSING1, /* close_listener before
246  listener_ready called */
247  GLOBUS_GASS_TRANSFER_LISTENER_CLOSING2, /* close listener before
248  new_request */
249  GLOBUS_GASS_TRANSFER_LISTENER_CLOSED /* listener is closed */
250 } globus_gass_transfer_listener_status_t;
251 
256 enum
257 {
292 };
293 
301 enum
302 {
303  GLOBUS_GASS_TRANSFER_DEFAULT_BUFFER_LENGTH = 1024
304 };
305 
313 #define GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN 0UL
314 
322 #define GLOBUS_GASS_TRANSFER_TIMESTAMP_UNKNOWN 0UL
323 
324 typedef void
325 (* globus_gass_transfer_callback_t)(
326  void * arg,
328 /* Client Interface */
349 int
352  globus_gass_transfer_requestattr_t * attr,
353  char * url,
354  globus_gass_transfer_callback_t callback,
355  void * user_arg);
356 
357 int
360  globus_gass_transfer_requestattr_t * attr,
361  char * url);
362 
363 int
366  globus_gass_transfer_requestattr_t * attr,
367  char * url,
368  globus_size_t length,
369  globus_gass_transfer_callback_t callback,
370  void * user_arg);
371 
372 int
375  globus_gass_transfer_requestattr_t * attr,
376  char * url,
377  globus_size_t length);
378 
379 int
382  globus_gass_transfer_requestattr_t * attr,
383  char * url,
384  globus_size_t length,
385  globus_gass_transfer_callback_t callback,
386  void * user_arg);
387 
388 int
391  globus_gass_transfer_requestattr_t * attr,
392  char * url,
393  globus_size_t length);
394 
430 typedef void
432  void * callback_arg,
433  globus_gass_transfer_listener_t listener);
434 
441 typedef void
443  void * callback_arg,
444  globus_gass_transfer_listener_t listener);
445 
446 int
448  globus_gass_transfer_listener_t * listener,
449  globus_gass_transfer_listenerattr_t * attr,
450  char * scheme);
451 
452 int
454  globus_gass_transfer_listener_t listener,
456  void * user_arg);
457 
458 int
460  globus_gass_transfer_listener_t listener,
462  void * user_arg);
463 
464 int
467  globus_gass_transfer_requestattr_t * attr,
468  globus_gass_transfer_listener_t listener,
469  globus_gass_transfer_callback_t callback,
470  void * user_arg);
471 
472 int
475  char ** urls,
476  globus_size_t num_urls);
477 
478 int
481  globus_size_t total_length);
482 
483 int
486  int reason,
487  char * message);
488 
489 char *
491  globus_gass_transfer_listener_t listener);
492 
493 void *
495  globus_gass_transfer_listener_t listener);
496 
497 int
499  globus_gass_transfer_listener_t listener,
500  void * user_pointer);
501 
526 typedef void
528  void * arg,
530  globus_byte_t * bytes,
531  globus_size_t length,
532  globus_bool_t last_data);
533 
534 int
537  globus_byte_t * bytes,
538  globus_size_t send_length,
539  globus_bool_t last_data,
541  void * user_arg);
542 
543 int
546  globus_byte_t * bytes,
547  globus_size_t max_length,
548  globus_size_t wait_for_length,
550  void * user_arg);
551 
552 int
553 globus_gass_transfer_fail(
555  globus_gass_transfer_callback_t callback,
556  void * user_arg);
574 #ifndef DOXYGEN
575 typedef struct
576 {
577  char ** url;
578  globus_size_t count;
579 } globus_gass_transfer_referral_t;
580 
581 
584  globus_gass_transfer_referral_t * referral);
585 
586 char *
588  globus_gass_transfer_referral_t * referral,
589  globus_size_t index);
590 
591 int
593  globus_gass_transfer_referral_t * referral);
594 
595 #endif
596 
597 
598 /* Request Accessors */
625 #ifndef DOXYGEN
629 
633 
634 char *
637 
638 int
639 globus_gass_transfer_request_set_subject(
641  char * subject);
642 
643 int
646  globus_gass_transfer_referral_t * referral);
647 
648 char *
651 
652 int
655  char * url);
656 
660 
661 int
664 
665 char *
668 
669 void *
672 
673 int
676  void * user_pointer);
677 
678 int
681 
682 int
686 #endif
687 
688 
696 #ifndef DOXYGEN
697 int
699  globus_gass_transfer_requestattr_t * attr,
700  char * url_scheme);
701 
702 int
704  globus_gass_transfer_requestattr_t * attr);
705 
706 int
708  globus_gass_transfer_listenerattr_t * attr,
709  char * url_scheme);
710 
711 int
712 globus_gass_transfer_listenerattr_destroy(
713  globus_gass_transfer_listenerattr_t * attr);
714 
715 /* Base Attribute Accessors */
716 int
718  globus_gass_transfer_requestattr_t * attr,
719  char * proxy_url);
720 
721 int
722 globus_gass_transfer_requestattr_get_proxy_url(
723  globus_gass_transfer_requestattr_t * attr,
724  char ** proxy_url);
725 
726 int
728  globus_gass_transfer_requestattr_t * attr,
729  globus_size_t block_size);
730 
731 int
732 globus_gass_transfer_requestattr_get_block_size(
733  globus_gass_transfer_requestattr_t * attr,
734  globus_size_t * block_size);
735 
736 int
738  globus_gass_transfer_requestattr_t * attr,
739  globus_gass_transfer_file_mode_t file_mode);
740 
741 int
742 globus_gass_transfer_requestattr_get_file_mode(
743  globus_gass_transfer_requestattr_t * attr,
744  globus_gass_transfer_file_mode_t * file_mode);
745 
746 int
748  globus_gass_transfer_requestattr_t * attr,
749  globus_bool_t connection_reuse);
750 
751 int
752 globus_gass_transfer_requestattr_get_connection_reuse(
753  globus_gass_transfer_requestattr_t * attr,
754  globus_bool_t * connection_reuse);
755 
756 /* Socket Attribute Accessors */
757 int
759  globus_gass_transfer_requestattr_t * attr,
760  int sndbuf);
761 
762 int
763 globus_gass_transfer_requestattr_get_socket_sndbuf(
764  globus_gass_transfer_requestattr_t * attr,
765  int * sndbuf);
766 
767 int
769  globus_gass_transfer_requestattr_t * attr,
770  int rcvbuf);
771 
772 int
773 globus_gass_transfer_requestattr_get_socket_rcvbuf(
774  globus_gass_transfer_requestattr_t * attr,
775  int * rcvbuf);
776 
777 int
779  globus_gass_transfer_requestattr_t * attr,
780  globus_bool_t nodelay);
781 
782 int
783 globus_gass_transfer_requestattr_get_socket_nodelay(
784  globus_gass_transfer_requestattr_t * attr,
785  globus_bool_t * nodelay);
786 
787 /* Security attribute accessors */
788 int
790  globus_gass_transfer_requestattr_t * attr,
791  globus_gass_transfer_authorization_t mode,
792  char * subject);
793 
794 int
795 globus_gass_transfer_secure_requestattr_get_authorization(
796  globus_gass_transfer_requestattr_t * attr,
797  globus_gass_transfer_authorization_t * mode,
798  char ** subject);
799 #endif
800 
805 #ifndef DOXYGEN
806 int
808  globus_gass_transfer_listenerattr_t * attr,
809  int backlog);
810 
811 int
812 globus_gass_transfer_listenerattr_get_backlog(
813  globus_gass_transfer_listenerattr_t * attr,
814  int * backlog);
815 
816 int
818  globus_gass_transfer_listenerattr_t * attr,
819  unsigned short port);
820 
821 int
822 globus_gass_transfer_listenerattr_get_port(
823  globus_gass_transfer_listenerattr_t * attr,
824  unsigned short * port);
825 #endif
826 
831 extern const globus_object_type_t
832 GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR_DEFINITION;
833 
834 #define GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR \
835  (&GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR_DEFINITION)
836 
837 globus_object_t *
839  globus_object_t * obj,
840  char * proxy_url,
841  globus_size_t block_size,
842  globus_gass_transfer_file_mode_t file_mode,
843  globus_bool_t connection_reuse);
844 
845 extern const globus_object_type_t
846 GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR_DEFINITION;
847 
848 #define GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR \
849  (&GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR_DEFINITION)
850 
851 globus_object_t *
853  globus_object_t * obj,
854  char * proxy_url,
855  globus_size_t block_size,
856  globus_gass_transfer_file_mode_t file_mode,
857  globus_bool_t connection_reuse,
858  int sndbuf,
859  int rcvbuf,
860  globus_bool_t nodelay);
861 
862 extern const globus_object_type_t
863 GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR_DEFINITION;
864 
865 #define GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR \
866  (&GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR_DEFINITION)
867 
868 globus_object_t *
870  globus_object_t * obj,
871  char * proxy_url,
872  globus_size_t block_size,
873  globus_gass_transfer_file_mode_t file_mode,
874  globus_bool_t connection_reuse,
875  int sndbuf,
876  int rcvbuf,
877  globus_bool_t nodelay,
878  globus_gass_transfer_authorization_t authorization,
879  char * subject);
880 
881 /* Listener Attribute Object Types */
882 extern const globus_object_type_t
883 GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR_DEFINITION;
884 
885 #define GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR \
886  (&GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR_DEFINITION)
887 
888 globus_object_t *
890  globus_object_t * obj,
891  int backlog,
892  unsigned short port);
893 
894 #ifdef __cplusplus
895 }
896 #endif
897 
898 #endif /* GLOBUS_GASS_TRANSFER_H */
Definition: globus_gass_transfer.h:261
Definition: globus_gass_transfer.h:147
int globus_gass_transfer_receive_bytes(globus_gass_transfer_request_t request, globus_byte_t *bytes, globus_size_t max_length, globus_size_t wait_for_length, globus_gass_transfer_bytes_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_send_recv.c:279
Definition: globus_gass_transfer.h:195
int globus_gass_transfer_request_get_denial_reason(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:493
int globus_gass_transfer_requestattr_set_proxy_url(globus_gass_transfer_requestattr_t *attr, char *proxy_url)
Definition: globus_gass_transfer_attribute.c:310
int globus_gass_transfer_authorize(globus_gass_transfer_request_t request, globus_size_t total_length)
Definition: globus_gass_transfer_server.c:692
int globus_gass_transfer_register_listen(globus_gass_transfer_listener_t listener, globus_gass_transfer_listen_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_server.c:228
void(* globus_gass_transfer_bytes_callback_t)(void *arg, globus_gass_transfer_request_t request, globus_byte_t *bytes, globus_size_t length, globus_bool_t last_data)
Definition: globus_gass_transfer.h:527
globus_size_t globus_gass_transfer_referral_get_count(globus_gass_transfer_referral_t *referral)
Definition: globus_gass_transfer_referral.c:45
void * globus_gass_transfer_request_get_user_pointer(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:77
globus_size_t globus_gass_transfer_request_get_length(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:322
int globus_gass_transfer_referral_destroy(globus_gass_transfer_referral_t *referral)
Definition: globus_gass_transfer_referral.c:119
Definition: globus_gass_transfer.h:275
char * globus_gass_transfer_request_get_denial_message(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:528
Definition: globus_gass_transfer.h:201
int globus_gass_transfer_requestattr_init(globus_gass_transfer_requestattr_t *attr, char *url_scheme)
Definition: globus_gass_transfer_attribute.c:219
int globus_gass_transfer_request_destroy(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:632
int globus_gass_transfer_requestattr_set_socket_sndbuf(globus_gass_transfer_requestattr_t *attr, int sndbuf)
Definition: globus_gass_transfer_attribute.c:697
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
int globus_gass_transfer_register_append(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length, globus_gass_transfer_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_client.c:453
int globus_gass_transfer_requestattr_set_file_mode(globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_file_mode_t file_mode)
Definition: globus_gass_transfer_attribute.c:480
Definition: globus_gass_transfer.h:198
int globus_gass_transfer_request_get_referral(globus_gass_transfer_request_t request, globus_gass_transfer_referral_t *referral)
Definition: globus_gass_transfer_request.c:226
Definition: globus_gass_transfer.h:289
Definition: globus_gass_transfer.h:281
Definition: globus_gass_transfer.h:285
Definition: globus_gass_transfer.h:291
int globus_gass_transfer_listenerattr_init(globus_gass_transfer_listenerattr_t *attr, char *url_scheme)
Definition: globus_gass_transfer_attribute.c:1136
globus_gass_transfer_request_type_t
Definition: globus_gass_transfer.h:144
int globus_handle_t
Handle abstract type.
Definition: globus_handle_table.h:55
char * globus_gass_transfer_request_get_url(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:287
int globus_gass_transfer_requestattr_destroy(globus_gass_transfer_requestattr_t *attr)
Definition: globus_gass_transfer_attribute.c:267
int globus_gass_transfer_put(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length)
Definition: globus_gass_transfer_client.c:361
Definition: globus_gass_transfer.h:267
globus_object_t * globus_gass_transfer_secure_requestattr_initialize(globus_object_t *obj, char *proxy_url, globus_size_t block_size, globus_gass_transfer_file_mode_t file_mode, globus_bool_t connection_reuse, int sndbuf, int rcvbuf, globus_bool_t nodelay, globus_gass_transfer_authorization_t authorization, char *subject)
Definition: globus_gass_transfer_attribute.c:931
int globus_gass_transfer_request_set_user_pointer(globus_gass_transfer_request_t request, void *user_pointer)
Definition: globus_gass_transfer_request.c:117
Definition: globus_gass_transfer.h:283
void * globus_gass_transfer_listener_get_user_pointer(globus_gass_transfer_listener_t listener)
Definition: globus_gass_transfer_server.c:431
int globus_gass_transfer_send_bytes(globus_gass_transfer_request_t request, globus_byte_t *bytes, globus_size_t send_length, globus_bool_t last_data, globus_gass_transfer_bytes_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_send_recv.c:107
int globus_gass_transfer_refer(globus_gass_transfer_request_t request, char **urls, globus_size_t num_urls)
Definition: globus_gass_transfer_server.c:561
Definition: globus_gass_transfer.h:279
int globus_gass_transfer_request_set_type(globus_gass_transfer_request_t request, globus_gass_transfer_request_type_t type)
Definition: globus_gass_transfer_request.c:363
Definition: globus_gass_transfer.h:265
Definition: globus_gass_transfer.h:271
Definition: globus_gass_transfer.h:277
int globus_gass_transfer_close_listener(globus_gass_transfer_listener_t listener, globus_gass_transfer_close_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_server.c:168
Definition: globus_gass_transfer.h:273
int globus_gass_transfer_listenerattr_set_backlog(globus_gass_transfer_listenerattr_t *attr, int backlog)
Definition: globus_gass_transfer_attribute.c:1190
Definition: globus_gass_transfer.h:203
int globus_gass_transfer_listener_set_user_pointer(globus_gass_transfer_listener_t listener, void *user_pointer)
Definition: globus_gass_transfer_server.c:470
Definition: globus_gass_transfer.h:190
int globus_gass_transfer_get(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url)
Definition: globus_gass_transfer_client.c:177
int globus_gass_transfer_requestattr_set_socket_nodelay(globus_gass_transfer_requestattr_t *attr, globus_bool_t nodelay)
Definition: globus_gass_transfer_attribute.c:855
size_t globus_size_t
Standard size of memory objectThe globus_size_t is the size of a memory object. It is identical to si...
Definition: globus_types.h:48
int globus_gass_transfer_register_accept(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_listener_t listener, globus_gass_transfer_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_server.c:329
unsigned char globus_byte_t
Unsigned byte datatypeThis is used for byte-addressable arrays of arbitrary data which is not subject...
Definition: globus_types.h:85
Definition: globus_gass_transfer.h:191
Definition: globus_gass_transfer.h:149
globus_gass_transfer_request_status_t globus_gass_transfer_request_get_status(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:155
int globus_gass_transfer_requestattr_set_socket_rcvbuf(globus_gass_transfer_requestattr_t *attr, int rcvbuf)
Definition: globus_gass_transfer_attribute.c:776
Definition: globus_gass_transfer.h:153
int globus_gass_transfer_create_listener(globus_gass_transfer_listener_t *listener, globus_gass_transfer_listenerattr_t *attr, char *scheme)
Definition: globus_gass_transfer_server.c:69
int globus_gass_transfer_secure_requestattr_set_authorization(globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_authorization_t mode, char *subject)
Definition: globus_gass_transfer_attribute.c:1001
Headers common to all of Globus.
int globus_gass_transfer_listenerattr_set_port(globus_gass_transfer_listenerattr_t *attr, unsigned short port)
Definition: globus_gass_transfer_attribute.c:1268
Definition: globus_gass_transfer.h:287
globus_gass_transfer_request_type_t globus_gass_transfer_request_get_type(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:43
Definition: globus_gass_transfer.h:263
int globus_gass_transfer_register_put(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length, globus_gass_transfer_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_client.c:266
int globus_gass_transfer_register_get(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url, globus_gass_transfer_callback_t callback, void *user_arg)
Definition: globus_gass_transfer_client.c:89
void(* globus_gass_transfer_close_callback_t)(void *callback_arg, globus_gass_transfer_listener_t listener)
Definition: globus_gass_transfer.h:431
globus_gass_transfer_request_status_t
Definition: globus_gass_transfer.h:188
void(* globus_gass_transfer_listen_callback_t)(void *callback_arg, globus_gass_transfer_listener_t listener)
Definition: globus_gass_transfer.h:442
Definition: globus_gass_transfer.h:259
char * globus_gass_transfer_listener_get_base_url(globus_gass_transfer_listener_t listener)
Definition: globus_gass_transfer_server.c:508
char * globus_gass_transfer_request_get_subject(globus_gass_transfer_request_t request)
Definition: globus_gass_transfer_request.c:562
char * globus_gass_transfer_referral_get_url(globus_gass_transfer_referral_t *referral, globus_size_t index)
Definition: globus_gass_transfer_referral.c:80
globus_object_t * globus_gass_transfer_requestattr_initialize(globus_object_t *obj, char *proxy_url, globus_size_t block_size, globus_gass_transfer_file_mode_t file_mode, globus_bool_t connection_reuse)
Definition: globus_gass_transfer_attribute.c:157
int globus_gass_transfer_deny(globus_gass_transfer_request_t request, int reason, char *message)
Definition: globus_gass_transfer_server.c:805
globus_object_t * globus_gass_transfer_listenerattr_initialize(globus_object_t *obj, int backlog, unsigned short port)
Definition: globus_gass_transfer_attribute.c:1086
int globus_gass_transfer_requestattr_set_block_size(globus_gass_transfer_requestattr_t *attr, globus_size_t block_size)
Definition: globus_gass_transfer_attribute.c:401
int globus_gass_transfer_request_set_url(globus_gass_transfer_request_t request, char *url)
Definition: globus_gass_transfer_request.c:412
Definition: globus_gass_transfer.h:194
Definition: globus_gass_transfer.h:151
globus_object_t * globus_gass_transfer_socket_requestattr_initialize(globus_object_t *obj, char *proxy_url, globus_size_t block_size, globus_gass_transfer_file_mode_t file_mode, globus_bool_t connection_reuse, int sndbuf, int rcvbuf, globus_bool_t nodelay)
Definition: globus_gass_transfer_attribute.c:633
Definition: globus_gass_transfer.h:269
Module Descriptor.
Definition: globus_module.h:69
int globus_gass_transfer_requestattr_set_connection_reuse(globus_gass_transfer_requestattr_t *attr, globus_bool_t connection_reuse)
Definition: globus_gass_transfer_attribute.c:559
int globus_gass_transfer_append(globus_gass_transfer_request_t *request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length)
Definition: globus_gass_transfer_client.c:549