File:  [Research Unix] / researchv10no / cmd / bcp / Path.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved.              */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T.                */
/* The copyright notice does not imply actual or intended publication. */
/* AUTHORS:                                            */
/*     H. S. Baird - ATT-BL MH - first versions        */

/* Path.h - Path names */

#define MAX_PATH_DEPTH (16)	/* maximum expected names in path */

typedef struct Path {
	int level;			/* current level */
	char *name[MAX_PATH_DEPTH];	/* name[0] is output root name;
					   the rest are basenames (both input
					   and output) */
	} Path;

typedef struct Path_process {
	int sl0;		/* no. slashes in input root name */
	Path path;
	VOID (*process)();
	VOID *arg;		/* passed as 3rd arg to (*process)() */
	} Path_process;

Path_process path_process;	/* controls file-tree processing */

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.