~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/compilergcc/depslib/src/pathsplit.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * -= Copyright 2005 Tim Baker (treectrl@hotmail.com) =-
 
3
 *
 
4
 * This file is part of depslib.
 
5
 *
 
6
 * License is hereby granted to use this software and distribute it
 
7
 * freely, as long as this copyright notice is retained and modifications 
 
8
 * are clearly marked.
 
9
 *
 
10
 * ALL WARRANTIES ARE HEREBY DISCLAIMED.
 
11
 */
 
12
 
 
13
#ifdef DEPSLIB_WINDOWS
 
14
#define SEP1 '\\'
 
15
#define SEP2 '/'
 
16
#endif
 
17
 
 
18
#ifdef DEPSLIB_UNIX
 
19
#define SEP1 '/'
 
20
#define SEP2 '/'
 
21
#endif
 
22
 
 
23
typedef struct _pathsplit PATHSPLIT;
 
24
 
 
25
struct _pathsplit
 
26
{
 
27
        PATHPART part[64];
 
28
        int count;
 
29
};
 
30
 
 
31
extern void path_split(const char *path, PATHSPLIT *f);
 
32
extern int path_normalize(PATHSPLIT *f, PATHSPLIT *cwd);
 
33
extern char *path_tostring(PATHSPLIT *f, char *buf);
 
34
extern void path_setcwd(const char *cwd);
 
35
extern void path_print(PATHSPLIT *f);
 
36
extern void donepath(void);
 
37