Annotation of researchv10no/cmd/bcp/Path.h, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved.              */
                      2: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T.                */
                      3: /* The copyright notice does not imply actual or intended publication. */
                      4: /* AUTHORS:                                            */
                      5: /*     H. S. Baird - ATT-BL MH - first versions        */
                      6: 
                      7: /* Path.h - Path names */
                      8: 
                      9: #define MAX_PATH_DEPTH (16)    /* maximum expected names in path */
                     10: 
                     11: typedef struct Path {
                     12:        int level;                      /* current level */
                     13:        char *name[MAX_PATH_DEPTH];     /* name[0] is output root name;
                     14:                                           the rest are basenames (both input
                     15:                                           and output) */
                     16:        } Path;
                     17: 
                     18: typedef struct Path_process {
                     19:        int sl0;                /* no. slashes in input root name */
                     20:        Path path;
                     21:        VOID (*process)();
                     22:        VOID *arg;              /* passed as 3rd arg to (*process)() */
                     23:        } Path_process;
                     24: 
                     25: Path_process path_process;     /* controls file-tree processing */
                     26: 
                     27: char *path_toa();      /* see Path.c */

unix.superglobalmegacorp.com

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