Annotation of 43BSDReno/contrib/isode-beta/ftam2/ftamuser.h, revision 1.1

1.1     ! root        1: /* ftamuser.h - include file for interactive FTAM initiator */
        !             2: 
        !             3: /* 
        !             4:  * $Header: /f/osi/ftam2/RCS/ftamuser.h,v 7.1 90/07/09 14:37:30 mrose Exp $
        !             5:  *
        !             6:  *
        !             7:  * $Log:       ftamuser.h,v $
        !             8:  * Revision 7.1  90/07/09  14:37:30  mrose
        !             9:  * sync
        !            10:  * 
        !            11:  * Revision 7.0  89/11/23  21:54:45  mrose
        !            12:  * Release 6.0
        !            13:  * 
        !            14:  */
        !            15: 
        !            16: /*
        !            17:  *                               NOTICE
        !            18:  *
        !            19:  *    Acquisition, use, and distribution of this module and related
        !            20:  *    materials are subject to the restrictions of a license agreement.
        !            21:  *    Consult the Preface in the User's Manual for the full terms of
        !            22:  *    this agreement.
        !            23:  *
        !            24:  */
        !            25: 
        !            26: 
        !            27: #include "ftamsbr.h"
        !            28: 
        !            29: /*    MAIN */
        !            30: 
        !            31: extern int  ontty;
        !            32: extern int  interrupted;
        !            33: 
        !            34: void   adios (), advise ();
        !            35: #ifndef        BRIDGE
        !            36: int    ask (), getline ();
        !            37: #endif
        !            38: char   *strdup ();
        !            39: 
        !            40: /*    DATA */
        !            41: 
        !            42: extern int  ftamfd;
        !            43: #ifdef BRIDGE
        !            44: extern int  dataconn ();
        !            45: #endif
        !            46: 
        !            47: extern char *host;
        !            48: extern char *user;
        !            49: extern char *account;
        !            50: #ifndef        BRIDGE
        !            51: extern char *storename;
        !            52: #endif
        !            53: 
        !            54: extern int  bell;
        !            55: extern int  debug;
        !            56: extern int  globbing;
        !            57: extern int  hash;
        !            58: extern int  marks;
        !            59: extern int  omode;
        !            60: extern int  query;
        !            61: extern int  runcom;
        !            62: extern int  tmode;
        !            63: extern int  trace;
        !            64: extern int  verbose;
        !            65: extern int  watch;
        !            66: 
        !            67: extern char *myhome;
        !            68: extern char *myuser;
        !            69: 
        !            70: extern int  realstore;
        !            71: #define        RFS_UNKNOWN     0
        !            72: #define        RFS_UNIX        1
        !            73: 
        !            74: extern char *rs_unknown;
        !            75: extern char *rs_support;
        !            76: 
        !            77: 
        !            78: extern char *rcwd;
        !            79: 
        !            80: extern struct QOStype myqos;
        !            81: 
        !            82: 
        !            83: char   *str2file ();
        !            84: 
        !            85: /*    DISPATCH */
        !            86: 
        !            87: struct dispatch {
        !            88:     char   *ds_name;
        !            89:     IFP            ds_fnx;
        !            90: 
        !            91:     int            ds_flags;
        !            92: #define        DS_NULL         0x00
        !            93: #define        DS_OPEN         0x01    /* association required */
        !            94: #define        DS_CLOSE        0x02    /* association avoided */
        !            95: #define        DS_MODES        0x04    /* class/units meaningful */
        !            96: 
        !            97:     int            ds_class;
        !            98:     int            ds_units;
        !            99: 
        !           100:     char   *ds_help;
        !           101: };
        !           102: 
        !           103: 
        !           104: struct dispatch *getds ();
        !           105: 
        !           106: /*    FTAM */
        !           107: 
        !           108: #define        UMASK   "\020\01READ\02WRITE\03ACCESS\04LIMITED\05ENHANCED\06GROUPING\
        !           109: \07RECOVERY\08RESTART"
        !           110: 
        !           111: 
        !           112: extern OID context;
        !           113: extern int fqos;
        !           114: extern int class;
        !           115: extern int units;
        !           116: extern int attrs;
        !           117: extern int fadusize;
        !           118: 
        !           119: 
        !           120: extern struct vfsmap vfs[];    /* ordering depends on char *tmodes[] */
        !           121: #define        VFS_DEF 0               /* try to default it */
        !           122: #define        VFS_UBF 1               /* offset to unstructured binary file */
        !           123: #define        VFS_UTF 2               /*   ..      unstructured text file */
        !           124: #define        VFS_FDF 3               /*   ..      file directory file */
        !           125: 
        !           126: extern struct vfsmap *myvf;
        !           127: 
        !           128: 
        !           129: void   ftam_advise (), ftam_chrg (), ftam_diag (), ftam_watch ();
        !           130: 
        !           131: /*    FILES */
        !           132: 
        !           133: struct filent {
        !           134:     char   *fi_name;
        !           135:     OID            fi_oid;
        !           136: 
        !           137:     char   *fi_entry;
        !           138: 
        !           139:     struct filent *fi_next;
        !           140: };
        !           141: 
        !           142: extern int  toomany;
        !           143: 
        !           144: extern int  nfilent;
        !           145: extern struct filent *filents;
        !           146: 
        !           147: 
        !           148: int    fdffnx ();
        !           149: 
        !           150: /*    GLOB */
        !           151: 
        !           152: extern int   xglobbed;
        !           153: extern char *globerr;
        !           154: 
        !           155: int    blkfree (), blklen ();
        !           156: char  **blkcpy ();
        !           157: 
        !           158: char   *xglob1val ();
        !           159: char  **xglob ();
        !           160: 
        !           161: /*  */
        !           162: 
        !           163: extern int  errno;
        !           164: extern char *isodeversion;
        !           165: #ifdef BRIDGE
        !           166: extern char ftam_error[];
        !           167: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.