.TH "globus_gass_transfer_listenerattr" 3 "Tue Jul 5 2022" "Version 9.4" "globus_gass_transfer" \" -*- nroff -*- .ad l .nh .SH NAME globus_gass_transfer_listenerattr \- Listener attributes .PP \- Listener attributes\&. .SH SYNOPSIS .br .PP .SS "Authorization" .in +1c .ti -1c .RI "int \fBglobus_gass_transfer_listenerattr_init\fP (globus_gass_transfer_listenerattr_t *attr, char *url_scheme)" .br .in -1c .SS "Listener Backlog" .in +1c .ti -1c .RI "int \fBglobus_gass_transfer_listenerattr_set_backlog\fP (globus_gass_transfer_listenerattr_t *attr, int backlog)" .br .ti -1c .RI "int \fBglobus_gass_transfer_listenerattr_get_backlog\fP (globus_gass_transfer_listenerattr_t *attr, int *backlog)" .br .in -1c .SS "Listener Port" .in +1c .ti -1c .RI "int \fBglobus_gass_transfer_listenerattr_set_port\fP (globus_gass_transfer_listenerattr_t *attr, unsigned short port)" .br .ti -1c .RI "int \fBglobus_gass_transfer_listenerattr_get_port\fP (globus_gass_transfer_listenerattr_t *attr, unsigned short *port)" .br .in -1c .SH "Detailed Description" .PP Listener attributes\&. .SH "Function Documentation" .PP .SS "int globus_gass_transfer_listenerattr_init (globus_gass_transfer_listenerattr_t * attr, char * url_scheme)" Initialize a listener attribute\&. .PP This function initializes the \fIattr\fP to contain a new protocol-specific listener attribute\&. .PP \fBParameters\fP .RS 4 \fIattr\fP The attribute set to be initialized\&. .br \fIurl_scheme\fP The scheme which which the attribute will be used for\&. .RE .PP \fBReturn values\fP .RS 4 \fIGLOBUS_SUCCESS\fP The attribute was successfully initialized\&. .br \fIGLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER\fP Either \fIattr\fP or \fIurl_scheme\fP was GLOBUS_NULL\&. .br \fIGLOBUS_GASS_TRANSFER_ERROR_NOT_IMPLEMENTED\fP No protocol module currently registered with GASS Transfer Library handles URLs with the specified \fIurl_scheme\fP\&. .RE .PP .SS "int globus_gass_transfer_listenerattr_set_backlog (globus_gass_transfer_listenerattr_t * attr, int backlog)" Set/Get the backlog attribute for a GASS transfer attribute set\&. .PP This attribute allows the user to control then number of pending connections which may exist for this listener\&. .PP \fBParameters\fP .RS 4 \fIattr\fP The attribute set to query or modify\&. .br \fIbacklog\fP The number of outstanding connections to allow\&. .RE .PP \fBReturn values\fP .RS 4 \fIGLOBUS_SUCCESS\fP The attribute was successfully updated\&. .br \fIGLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER\fP The \fIattr\fP was GLOBUS_NULL\&. .RE .PP .SS "int globus_gass_transfer_listenerattr_set_port (globus_gass_transfer_listenerattr_t * attr, unsigned short port)" Set/Get the port attribute for a GASS transfer attribute set\&. .PP This attribute allows the user to set the port to be used by a GASS Transfer listener\&. .PP \fBParameters\fP .RS 4 \fIattr\fP The attribute set to query or modify\&. .br \fIport\fP The TCP or UDP port number to use\&. .RE .PP \fBReturn values\fP .RS 4 \fIGLOBUS_SUCCESS\fP The attribute was successfully updated\&. .br \fIGLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER\fP The \fIattr\fP was GLOBUS_NULL\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for globus_gass_transfer from the source code\&.