ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/path.h
Revision: 1.1.1.1 (vendor branch)
Committed: Fri Feb 3 07:12:50 2006 UTC (18 years, 3 months ago) by root
Content type: text/plain
Branch: UPSTREAM
CVS Tags: LAST_C_VERSION, UPSTREAM_2006_03_15, UPSTREAM_2006_02_22, UPSTREAM_2006_02_03, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.1: +0 -0 lines
Log Message:
initial import

File Contents

# Content
1 /* $Id: path.h,v 1.1 2005/12/08 21:50:19 akirschbaum Exp $ */
2
3 #ifndef PATH_H
4 #define PATH_H
5
6 /**
7 * Combine two paths and return the combined path. The result value is a static
8 * buffer; it is valid until the next call to this function.
9 */
10 char *path_combine(const char *src, const char *dst);
11
12 /**
13 * Normalize a path; the passed in path is modified in-place.
14 */
15 void path_normalize(char *path);
16
17 /**
18 * Combine two paths and normalize the result. The result is a static buffer;
19 * it is valid until the next call to either this function or to
20 * combine_path().
21 */
22 char *path_combine_and_normalize(const char *src, const char *dst);
23
24 #endif