IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2012, 1:54:24 PM (14 years ago)
Author:
eugene
Message:

moving DVO parallel host info into

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/include/dvo.h

    r33221 r33239  
    219219} FlatCorrectionTable;
    220220
     221/* definitions for parallel dvo host information
     222   XXX : need better names (safer namespace)
     223 */
     224
     225typedef enum {
     226    MODE_NONE = 0,
     227    MODE_OUT  = 1,
     228    MODE_IN   = 2,
     229} ModeType;
     230
     231typedef enum {
     232  DATA_ON_TGT = 0x01,
     233  DATA_COPY_FAILURE = 0x02,
     234} SkyTableDataFlags;
     235
     236typedef struct {
     237  char *hostname;             // name of remote machine
     238  char *pathname;             // name of directory for this machine's data
     239  int hostID;                 // remove machine ID in SkyTable
     240  int stdio[3];               // fd's for communication with the remote host
     241  int pid;                    // remote process ID
     242} HostInfo;
     243
     244typedef struct {
     245  int Nhosts;
     246  HostInfo *hosts;
     247  unsigned short *index;
     248} HostTable;
     249
    221250// special-case function:
    222251CMF_PS1_V2 *gfits_table_get_CMF_PS1_V1_Alt (FTable *ftable, off_t *Ndata, char *swapped);
     
    551580#endif
    552581
     582// functions for parallel DVO
     583HostTable    *HostTableLoad (char *catdir, char *rootname);
     584
    553585# endif
Note: See TracChangeset for help on using the changeset viewer.