home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / kpathsea / expand.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-28  |  1.4 KB  |  36 lines

  1. /* expand.h: general expansion.
  2.  
  3. Copyright (C) 1993, 94 Karl Berry.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef KPATHSEA_EXPAND_H
  20. #define KPATHSEA_EXPAND_H
  21.  
  22. #include <kpathsea/c-proto.h>
  23. #include <kpathsea/types.h>
  24.  
  25. /* Call kpse_var_expand and kpse_tilde_expand (in that order).  Result
  26.    is always in fresh memory, even if no expansions were done.  */
  27. extern string kpse_expand P1H(const_string s);
  28.  
  29. /* Call `kpse_expand' on each element of the result; return the final
  30.    expansion (always in fresh memory, even if no expansions were
  31.    done).  We don't call `kpse_expand_default' because there is a whole
  32.    sequence of defaults to run through; see `kpse_init_format'.  */
  33. extern string kpse_path_expand P1H(const_string path);
  34.  
  35. #endif /* not KPATHSEA_EXPAND_H */
  36.