ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/path.h
Revision: 1.2
Committed: Sat Sep 16 22:06:17 2006 UTC (17 years, 8 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-2_0, rel-2_1
Changes since 1.1: +0 -2 lines
Log Message:
indent

File Contents

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