home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1998 February / VPR9802A.ISO / APP_DEMO / VC / MAIN.BIN / path.h < prev    next >
C/C++ Source or Header  |  1997-10-27  |  1KB  |  43 lines

  1. /*
  2.  * @(#)path.h    1.5 96/11/23
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. #ifndef    _PATH_H_
  24. #define    _PATH_H_
  25.  
  26. #include "path_md.h"
  27. #include "zip.h"
  28.  
  29. /*
  30.  * Class path element, which is either a directory or zip file.
  31.  */
  32. typedef struct {
  33.     enum { CPE_DIR, CPE_ZIP } type;
  34.     union {
  35.     zip_t *zip;
  36.     char *dir;
  37.     } u;
  38. } cpe_t;
  39.  
  40. cpe_t **sysGetClassPath(void);
  41.  
  42. #endif    /* !_PATH_H_ */
  43.