home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / xfig / part01 / w_dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-27  |  1.8 KB  |  59 lines

  1. /* This file is part of xdir, an X-based directory browser.
  2.  *
  3.  *    Created: 13 Aug 88
  4.  *
  5.  *    Win Treese
  6.  *    Cambridge Research Lab
  7.  *    Digital Equipment Corporation
  8.  *    treese@crl.dec.com
  9.  *
  10.  *        COPYRIGHT 1990
  11.  *      DIGITAL EQUIPMENT CORPORATION
  12.  *       MAYNARD, MASSACHUSETTS
  13.  *      ALL RIGHTS RESERVED.
  14.  *
  15.  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
  16.  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
  17.  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
  18.  * FOR ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
  19.  * WARRANTY.
  20.  *
  21.  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
  22.  * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
  23.  * ADDITION TO THAT SET FORTH ABOVE.
  24.  *
  25.  * Permission to use, copy, modify, and distribute this software and its
  26.  * documentation for any purpose and without fee is hereby granted, provided
  27.  * that the above copyright notice appear in all copies and that both that
  28.  * copyright notice and this permission notice appear in supporting
  29.  * documentation, and that the name of Digital Equipment Corporation not be
  30.  * used in advertising or publicity pertaining to distribution of the
  31.  * software without specific, written prior permission.
  32.  *
  33.  *    Modified: 4 Dec 91 - Paul King (king@cs.uq.oz.au)
  34.  */
  35.  
  36. /* From the C library. */
  37.  
  38. char           *re_comp();
  39.  
  40. /* Useful constants. */
  41.  
  42. #define EOS    '\0'        /* End-of-string. */
  43.  
  44. #define NENTRIES    100    /* chunk size for allocating filename space */
  45.  
  46. /* Useful macros. */
  47.  
  48. #define streq(a, b)    (! strcmp((a), (b)))
  49.  
  50. extern Widget    popup_dir_text;
  51. extern void    create_dirinfo();
  52.  
  53. /* Xdir function declarations. */
  54.  
  55. Boolean        MakeFileList();
  56. char           *SaveString();
  57. void        MakeFullPath();
  58. Boolean        IsDirectory();
  59.