diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-23 06:50:42 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-23 06:50:42 -0400 |
commit | bcb87139a2d8c5b308cfb82635e9483e867c9dbc (patch) | |
tree | 822a967fe0a795b605f1b97d5cd063d5b4b7179d /testing/toxic/configdir.h | |
parent | 733066a57e8d5403c91475fb6b095f44a81bf270 (diff) | |
parent | 4d89d63c3f1489e248261983f6c73a8b083b3336 (diff) |
Merge branch 'master' into new-api
Diffstat (limited to 'testing/toxic/configdir.h')
-rw-r--r-- | testing/toxic/configdir.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/testing/toxic/configdir.h b/testing/toxic/configdir.h deleted file mode 100644 index e886e53a..00000000 --- a/testing/toxic/configdir.h +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Tox project All Rights Reserved. | ||
3 | * | ||
4 | * This file is part of Tox. | ||
5 | * | ||
6 | * Tox is free software: you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation, either version 3 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * Tox is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | ||
18 | * | ||
19 | */ | ||
20 | |||
21 | #ifdef _win32 | ||
22 | #define CONFIGDIR "\\tox\\" | ||
23 | #else | ||
24 | #define CONFIGDIR "/tox/" | ||
25 | #endif | ||
26 | |||
27 | #ifndef S_ISDIR | ||
28 | #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) | ||
29 | #endif | ||
30 | |||
31 | char *get_user_config_dir(void); | ||
32 | |||
33 | int create_user_config_dir(char *path); | ||