Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / pptp-client / dirutil.h
bloba09c6115d8be9027972139f2955616ca6b4bdbf4
1 /* dirutil.h ... directory utilities.
2 * C. Scott Ananian <cananian@alumni.princeton.edu>
4 * $Id: dirutil.h,v 1.1.1.1 2000/12/23 08:19:51 scott Exp $
5 */
7 /* Returned malloc'ed string representing basename */
8 char *basenamex(char *pathname);
9 /* Return malloc'ed string representing directory name (no trailing slash) */
10 char *dirname(char *pathname);
11 /* In-place modify a string to remove trailing slashes. Returns arg. */
12 char *stripslash(char *pathname);
13 /* ensure dirname exists, creating it if necessary. */
14 int make_valid_path(char *dirname, mode_t mode);