IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2012, 1:54:34 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/photdbc/include/dvodist.h

    r33223 r33240  
    55# include <unistd.h> // needed?
    66
    7 # define myAssert(LOGIC,MSG) { if (!(LOGIC)) { fprintf (stderr, "%s\n", MSG); abort(); } }
    8 
    97// used by the md5 stuff
    108# define NDIGEST  16
    11 
    12 typedef enum {
    13     MODE_NONE = 0,
    14     MODE_OUT  = 1,
    15     MODE_IN   = 2,
    16 } ModeType;
    17 
    18 typedef struct {
    19   char *hostname;
    20   char *pathname;
    21   int hostID;
    22 } HostInfo;
    23 
    24 typedef struct {
    25   int Nhosts;
    26   HostInfo *hosts;
    27   unsigned short *index;
    28 } HostTable;
    29 
    30 // these should be moved to dvo.h?
    31 # define DATA_ON_TGT       0x01
    32 # define DATA_COPY_FAILURE 0x02
    339
    3410/* global variables */
     
    4218
    4319void          LockDatabase (char *catdir);
    44 HostTable    *HostTableLoad (char *catdir, char *rootname);
    4520int           CheckHostsAndPaths (HostTable *table);
    4621
     
    5429void          SetProtect (int mode);
    5530int           SetSignals (void);
    56 int           rconnect (char *command, char *hostname, char *shell, int *stdio);
    5731
    58 int           write_fmt (int fd, char *format, ...);
    59 char         *memstr (char *m1, char *m2, int n);
    6032int           get_md5_with_copy (char *input, char *output, md5_byte_t *digest);
Note: See TracChangeset for help on using the changeset viewer.