blob: fc999773657b5e2c3d12c3c366f6d6d812e86494 [file] [log] [blame]
Ben Lindstrom226cfa02001-01-22 05:34:40 +00001/*
2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5 *
6 * As far as I am concerned, the code I have written for this software
7 * can be used freely for any purpose. Any derived versions of this
8 * software must be clearly marked as such, and if the derived work is
9 * incompatible with the protocol description in the RFC file, it must be
10 * called by a name other than "ssh" or "Secure Shell".
11 */
12
13/*
14 * Expands tildes in the file name. Returns data allocated by xmalloc.
15 * Warning: this calls getpw*.
16 */
17char *tilde_expand_filename(const char *filename, uid_t my_uid);