---
name: "globus_i_gass_copy_state_target_s"
section: "3"
platform: "linux"
package: "libglobus-gass-copy-doc"
version: "8.4-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_i_gass_copy_state_target_s"
---

# globus\_i\_gass\_copy\_state\_target\_s(3)

## NAME

globus\_i\_gass\_copy\_state\_target\_s -

## SYNOPSIS

### Data Fields

char \* **url**\
 globus\_gass\_copy\_attr\_t \* **attr**\
 globus\_mutex\_t **mutex**\
 globus\_fifo\_t **queue**\
 int **n\_pending**\
 int **n\_simultaneous**\
 int **n\_complete**\
 globus\_i\_gass\_copy\_target\_status\_t **status**\
 globus\_gass\_copy\_url\_mode\_t **mode**\
 union {\
    struct {\
    } **ftp**\
    struct {\
       globus\_gass\_transfer\_request\_t **request**\
    } **gass**\
    struct {\
       globus\_bool\_t **free\_handle**\
       globus\_bool\_t **seekable**\
    } **io**\
 } **data**\

## Detailed Description

GASS copy target (e.g.

source, destination) transfer information.

## Field Documentation

### char\* globus\_i\_gass\_copy\_state\_target\_s::url

url for file transfer

### globus\_gass\_copy\_attr\_t\* globus\_i\_gass\_copy\_state\_target\_s::attr

attributes to control file transfer

### globus\_mutex\_t globus\_i\_gass\_copy\_state\_target\_s::mutex

coordinates the modifying of the target structure

### globus\_fifo\_t globus\_i\_gass\_copy\_state\_target\_s::queue

a queue to manage the reading/writing of data buffers

### int globus\_i\_gass\_copy\_state\_target\_s::n\_pending

Used for keeping track of reads/writes in the read/write queue.

### int globus\_i\_gass\_copy\_state\_target\_s::n\_simultaneous

Used to limit the number of n\_pending.

### int globus\_i\_gass\_copy\_state\_target\_s::n\_complete

Used to compute the offset for ftp writes.

### globus\_i\_gass\_copy\_target\_status\_t globus\_i\_gass\_copy\_state\_target\_s::status

signifies the target has been successfully setup

### globus\_gass\_copy\_url\_mode\_t globus\_i\_gass\_copy\_state\_target\_s::mode

mode used to identify the below target union struct.

### struct { ... } globus\_i\_gass\_copy\_state\_target\_s::ftp

ftp specific data

### globus\_gass\_transfer\_request\_t globus\_i\_gass\_copy\_state\_target\_s::request

GASS equivelent of a handle.

### struct { ... } globus\_i\_gass\_copy\_state\_target\_s::gass

GASS specific data.

### globus\_bool\_t globus\_i\_gass\_copy\_state\_target\_s::free\_handle

If the IO handle was passed as an argument then FALSE If the IO handle was created internally then TRUE.

### globus\_bool\_t globus\_i\_gass\_copy\_state\_target\_s::seekable

Can globus\_io\_file\_seek() be performed on this handle?

### struct { ... } globus\_i\_gass\_copy\_state\_target\_s::io

IO specific data.

### union { ... } globus\_i\_gass\_copy\_state\_target\_s::data

data required to perform each type of transfer

## Author

Generated automatically by Doxygen for globus gass copy from the source code.
