blob: 828d182ac78cfe27a1367558ef2a42fa6db54014 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// **********************************************************************
//
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICE_PATCH2_OS_H
#define ICE_PATCH2_OS_H
#include <Ice/Config.h>
#include <fcntl.h>
#include <stdio.h>
#ifndef ICE_PATCH2_API
# ifdef ICE_PATCH2_API_EXPORTS
# define ICE_PATCH2_API ICE_DECLSPEC_EXPORT
# else
# define ICE_PATCH2_API ICE_DECLSPEC_IMPORT
# endif
#endif
namespace IceInternal
{
namespace OS
{
ICE_PATCH2_API int remove(const std::string&);
ICE_PATCH2_API int rename(const std::string&, const std::string&);
ICE_PATCH2_API int rmdir(const std::string&);
ICE_PATCH2_API int mkdir(const std::string&, int);
ICE_PATCH2_API FILE* fopen(const std::string&, const std::string&);
ICE_PATCH2_API int open(const std::string&, int);
ICE_PATCH2_API int getcwd(std::string&);
}
}
#endif
|