Grid Community Toolkit  6.2.1567772254 (tag: v6.2.20190906)
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 
95 extern globus_module_descriptor_t globus_i_gass_transfer_module;
96 
101 #define GLOBUS_GASS_TRANSFER_MODULE (&globus_i_gass_transfer_module)
102 
103 #define _GTSL(s) globus_common_i18n_get_string( \
104  GLOBUS_GASS_TRANSFER_MODULE, \
105  s)
106 
129 typedef globus_handle_t globus_gass_transfer_listener_t;
130 
134 typedef globus_object_t * globus_gass_transfer_requestattr_t;
138 typedef globus_object_t * globus_gass_transfer_listenerattr_t;
139 
140 /* Module Specific Types */
145 typedef enum
146 {
156 
157 typedef enum
158 {
159  GLOBUS_GASS_TRANSFER_FILE_MODE_BINARY,
160  GLOBUS_GASS_TRANSFER_FILE_MODE_TEXT
161 } globus_gass_transfer_file_mode_t;
162 
163 
164 typedef enum
165 {
166  GLOBUS_GASS_TRANSFER_AUTHORIZE_SELF,
167  GLOBUS_GASS_TRANSFER_AUTHORIZE_HOST,
168  GLOBUS_GASS_TRANSFER_AUTHORIZE_SUBJECT,
169  GLOBUS_GASS_TRANSFER_AUTHORIZE_CALLBACK
170 } globus_gass_transfer_authorization_t;
171 
172 
173 /* globus_gass_transfer_request_status will return only the
174  * "visible" subset:
175  * GLOBUS_GASS_TRANSFER_REQUEST_INVALID
176  * GLOBUS_GASS_TRANSFER_REQUEST_STARTING
177  * GLOBUS_GASS_TRANSFER_REQUEST_PENDING (PENDING, ACTING,
178  * ACTING_TO_PENDING)
179  * GLOBUS_GASS_TRANSFER_REQUEST_FAILED (FAILED, USER_FAIL, ACTING_TO_FAIL)
180  * GLOBUS_GASS_TRANSFER_REQUEST_REFERRED (REFERRING, ACTING_TO_REFERRING,
181  * ACTING_TO_REFERRING2)
182  * GLOBUS_GASS_TRANSFER_REQUEST_DENIED
183  * GLOBUS_GASS_TRANSFER_REQUEST_DONE
184  */
189 typedef enum
190 {
205 #ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
206  GLOBUS_GASS_TRANSFER_REQUEST_ACCEPTING,
211  GLOBUS_GASS_TRANSFER_REQUEST_ACTING, /* op passed to request */
212  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_PENDING, /* calling back to user */
213  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_FAILING, /* op passed to request, and
214  user called fail */
215  GLOBUS_GASS_TRANSFER_REQUEST_FAILING, /* user called fail, or op
216  completed, user callback
217  started */
218  GLOBUS_GASS_TRANSFER_REQUEST_USER_FAIL, /* user called fail before
219  ready/referred/denied */
220  GLOBUS_GASS_TRANSFER_REQUEST_REFERRING, /* proto called referred,
221  callback pending */
222  GLOBUS_GASS_TRANSFER_REQUEST_ACTING_TO_REFERRING, /* proto called referred,
223  op in progress */
224  GLOBUS_GASS_TRANSFER_REQUEST_FINISHING, /* op completed successfully,
225  with last data, user callback
226  started*/
227  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL1, /* user called fail before
228  new_listener_request */
229  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL2, /* user called fail before
230  authorize/refer/deny */
231  GLOBUS_GASS_TRANSFER_REQUEST_SERVER_FAIL3, /* user called fail before
232  request_ready */
233  GLOBUS_GASS_TRANSFER_REQUEST_STARTING2, /* server not authorized/denied/failed */
234  GLOBUS_GASS_TRANSFER_REQUEST_STARTING3 /* server not authorized/denied/failed */
235 #endif
237 
238 typedef enum
239 {
240  GLOBUS_GASS_TRANSFER_LISTENER_INVALID, /* handle no longer valid */
241  GLOBUS_GASS_TRANSFER_LISTENER_STARTING, /* new listener called */
242  GLOBUS_GASS_TRANSFER_LISTENER_LISTENING, /* register listen/
243  proto->register listen */
244  GLOBUS_GASS_TRANSFER_LISTENER_READY, /* proto calls listener_ready */
245  GLOBUS_GASS_TRANSFER_LISTENER_ACCEPTING, /* register_accept() */
246  GLOBUS_GASS_TRANSFER_LISTENER_CLOSING1, /* close_listener before
247  listener_ready called */
248  GLOBUS_GASS_TRANSFER_LISTENER_CLOSING2, /* close listener before
249  new_request */
250  GLOBUS_GASS_TRANSFER_LISTENER_CLOSED /* listener is closed */
251 } globus_gass_transfer_listener_status_t;
252 
257 enum
258 {
293 };
294 
302 enum
303 {
304  GLOBUS_GASS_TRANSFER_DEFAULT_BUFFER_LENGTH = 1024
305 };
306 
314 #define GLOBUS_GASS_TRANSFER_LENGTH_UNKNOWN 0UL
315 
323 #define GLOBUS_GASS_TRANSFER_TIMESTAMP_UNKNOWN 0UL
324 
325 typedef void
326 (* globus_gass_transfer_callback_t)(
327  void * arg,
329 /* Client Interface */
351 int
354  globus_gass_transfer_requestattr_t * attr,
355  char * url,
356  globus_gass_transfer_callback_t callback,
357  void * user_arg);
358 
359 int
362  globus_gass_transfer_requestattr_t * attr,
363  char * url);
364 
365 int
368  globus_gass_transfer_requestattr_t * attr,
369  char * url,
370  globus_size_t length,
371  globus_gass_transfer_callback_t callback,
372  void * user_arg);
373 
374 int
377  globus_gass_transfer_requestattr_t * attr,
378  char * url,
379  globus_size_t length);
380 
381 int
384  globus_gass_transfer_requestattr_t * attr,
385  char * url,
386  globus_size_t length,
387  globus_gass_transfer_callback_t callback,
388  void * user_arg);
389 
390 int
393  globus_gass_transfer_requestattr_t * attr,
394  char * url,
395  globus_size_t length);
396 
433 typedef void
435  void * callback_arg,
436  globus_gass_transfer_listener_t listener);
437 
444 typedef void
446  void * callback_arg,
447  globus_gass_transfer_listener_t listener);
448 
449 int
451  globus_gass_transfer_listener_t * listener,
452  globus_gass_transfer_listenerattr_t * attr,
453  char * scheme);
454 
455 int
457  globus_gass_transfer_listener_t listener,
459  void * user_arg);
460 
461 int
463  globus_gass_transfer_listener_t listener,
465  void * user_arg);
466 
467 int
470  globus_gass_transfer_requestattr_t * attr,
471  globus_gass_transfer_listener_t listener,
472  globus_gass_transfer_callback_t callback,
473  void * user_arg);
474 
475 int
478  char ** urls,
479  globus_size_t num_urls);
480 
481 int
484  globus_size_t total_length);
485 
486 int
489  int reason,
490  char * message);
491 
492 char *
494  globus_gass_transfer_listener_t listener);
495 
496 void *
498  globus_gass_transfer_listener_t listener);
499 
500 int
502  globus_gass_transfer_listener_t listener,
503  void * user_pointer);
504 
530 typedef void
532  void * arg,
534  globus_byte_t * bytes,
535  globus_size_t length,
536  globus_bool_t last_data);
537 
538 int
541  globus_byte_t * bytes,
542  globus_size_t send_length,
543  globus_bool_t last_data,
545  void * user_arg);
546 
547 int
550  globus_byte_t * bytes,
551  globus_size_t max_length,
552  globus_size_t wait_for_length,
554  void * user_arg);
555 
556 int
557 globus_gass_transfer_fail(
559  globus_gass_transfer_callback_t callback,
560  void * user_arg);
579 #ifndef DOXYGEN
580 typedef struct
581 {
582  char ** url;
583  globus_size_t count;
584 } globus_gass_transfer_referral_t;
585 
586 
589  globus_gass_transfer_referral_t * referral);
590 
591 char *
593  globus_gass_transfer_referral_t * referral,
594  globus_size_t index);
595 
596 int
598  globus_gass_transfer_referral_t * referral);
599 
600 #endif
601 
602 
603 /* Request Accessors */
631 #ifndef DOXYGEN
635 
639 
640 char *
643 
644 int
645 globus_gass_transfer_request_set_subject(
647  char * subject);
648 
649 int
652  globus_gass_transfer_referral_t * referral);
653 
654 char *
657 
658 int
661  char * url);
662 
666 
667 int
670 
671 char *
674 
675 void *
678 
679 int
682  void * user_pointer);
683 
684 int
687 
688 int
692 #endif
693 
694 
703 #ifndef DOXYGEN
704 int
706  globus_gass_transfer_requestattr_t * attr,
707  char * url_scheme);
708 
709 int
711  globus_gass_transfer_requestattr_t * attr);
712 
713 int
715  globus_gass_transfer_listenerattr_t * attr,
716  char * url_scheme);
717 
718 int
719 globus_gass_transfer_listenerattr_destroy(
720  globus_gass_transfer_listenerattr_t * attr);
721 
722 /* Base Attribute Accessors */
723 int
725  globus_gass_transfer_requestattr_t * attr,
726  char * proxy_url);
727 
728 int
729 globus_gass_transfer_requestattr_get_proxy_url(
730  globus_gass_transfer_requestattr_t * attr,
731  char ** proxy_url);
732 
733 int
735  globus_gass_transfer_requestattr_t * attr,
736  globus_size_t block_size);
737 
738 int
739 globus_gass_transfer_requestattr_get_block_size(
740  globus_gass_transfer_requestattr_t * attr,
741  globus_size_t * block_size);
742 
743 int
745  globus_gass_transfer_requestattr_t * attr,
746  globus_gass_transfer_file_mode_t file_mode);
747 
748 int
749 globus_gass_transfer_requestattr_get_file_mode(
750  globus_gass_transfer_requestattr_t * attr,
751  globus_gass_transfer_file_mode_t * file_mode);
752 
753 int
755  globus_gass_transfer_requestattr_t * attr,
756  globus_bool_t connection_reuse);
757 
758 int
759 globus_gass_transfer_requestattr_get_connection_reuse(
760  globus_gass_transfer_requestattr_t * attr,
761  globus_bool_t * connection_reuse);
762 
763 /* Socket Attribute Accessors */
764 int
766  globus_gass_transfer_requestattr_t * attr,
767  int sndbuf);
768 
769 int
770 globus_gass_transfer_requestattr_get_socket_sndbuf(
771  globus_gass_transfer_requestattr_t * attr,
772  int * sndbuf);
773 
774 int
776  globus_gass_transfer_requestattr_t * attr,
777  int rcvbuf);
778 
779 int
780 globus_gass_transfer_requestattr_get_socket_rcvbuf(
781  globus_gass_transfer_requestattr_t * attr,
782  int * rcvbuf);
783 
784 int
786  globus_gass_transfer_requestattr_t * attr,
787  globus_bool_t nodelay);
788 
789 int
790 globus_gass_transfer_requestattr_get_socket_nodelay(
791  globus_gass_transfer_requestattr_t * attr,
792  globus_bool_t * nodelay);
793 
794 /* Security attribute accessors */
795 int
797  globus_gass_transfer_requestattr_t * attr,
798  globus_gass_transfer_authorization_t mode,
799  char * subject);
800 
801 int
802 globus_gass_transfer_secure_requestattr_get_authorization(
803  globus_gass_transfer_requestattr_t * attr,
804  globus_gass_transfer_authorization_t * mode,
805  char ** subject);
806 #endif
807 
813 #ifndef DOXYGEN
814 int
816  globus_gass_transfer_listenerattr_t * attr,
817  int backlog);
818 
819 int
820 globus_gass_transfer_listenerattr_get_backlog(
821  globus_gass_transfer_listenerattr_t * attr,
822  int * backlog);
823 
824 int
826  globus_gass_transfer_listenerattr_t * attr,
827  unsigned short port);
828 
829 int
830 globus_gass_transfer_listenerattr_get_port(
831  globus_gass_transfer_listenerattr_t * attr,
832  unsigned short * port);
833 #endif
834 
840 extern const globus_object_type_t
841 GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR_DEFINITION;
842 
843 #define GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR \
844  (&GLOBUS_GASS_OBJECT_TYPE_REQUESTATTR_DEFINITION)
845 
846 globus_object_t *
848  globus_object_t * obj,
849  char * proxy_url,
850  globus_size_t block_size,
851  globus_gass_transfer_file_mode_t file_mode,
852  globus_bool_t connection_reuse);
853 
854 extern const globus_object_type_t
855 GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR_DEFINITION;
856 
857 #define GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR \
858  (&GLOBUS_GASS_OBJECT_TYPE_SOCKET_REQUESTATTR_DEFINITION)
859 
860 globus_object_t *
862  globus_object_t * obj,
863  char * proxy_url,
864  globus_size_t block_size,
865  globus_gass_transfer_file_mode_t file_mode,
866  globus_bool_t connection_reuse,
867  int sndbuf,
868  int rcvbuf,
869  globus_bool_t nodelay);
870 
871 extern const globus_object_type_t
872 GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR_DEFINITION;
873 
874 #define GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR \
875  (&GLOBUS_GASS_OBJECT_TYPE_SECURE_REQUESTATTR_DEFINITION)
876 
877 globus_object_t *
879  globus_object_t * obj,
880  char * proxy_url,
881  globus_size_t block_size,
882  globus_gass_transfer_file_mode_t file_mode,
883  globus_bool_t connection_reuse,
884  int sndbuf,
885  int rcvbuf,
886  globus_bool_t nodelay,
887  globus_gass_transfer_authorization_t authorization,
888  char * subject);
889 
890 /* Listener Attribute Object Types */
891 extern const globus_object_type_t
892 GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR_DEFINITION;
893 
894 #define GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR \
895  (&GLOBUS_GASS_OBJECT_TYPE_LISTENERATTR_DEFINITION)
896 
897 globus_object_t *
899  globus_object_t * obj,
900  int backlog,
901  unsigned short port);
902 
903 #ifdef __cplusplus
904 }
905 #endif
906 
907 #endif /* GLOBUS_GASS_TRANSFER_H */
Definition: globus_gass_transfer.h:148
Definition: globus_gass_transfer.h:290
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:196
Definition: globus_gass_transfer.h:280
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:531
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:278
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:274
Definition: globus_gass_transfer.h:202
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:199
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:260
Definition: globus_gass_transfer.h:270
Definition: globus_gass_transfer.h:262
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:145
int globus_handle_t
Handle abstract type.
Definition: globus_handle_table.h:57
Definition: globus_gass_transfer.h:268
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:286
Definition: globus_gass_transfer.h:272
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:292
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
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
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
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:204
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:191
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:192
Definition: globus_gass_transfer.h:150
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
Definition: globus_gass_transfer.h:276
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:154
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
Definition: globus_gass_transfer.h:264
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
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:282
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:434
globus_gass_transfer_request_status_t
Definition: globus_gass_transfer.h:189
void(* globus_gass_transfer_listen_callback_t)(void *callback_arg, globus_gass_transfer_listener_t listener)
Definition: globus_gass_transfer.h:445
Definition: globus_gass_transfer.h:288
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:195
Definition: globus_gass_transfer.h:152
Definition: globus_gass_transfer.h:284
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:266
Module Descriptor.
Definition: globus_module.h:71
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