source: branches/stable/CORE/arb_file.h

Last change on this file was 11060, checked in by westram, 6 years ago
File size: 1.3 KB
Line 
1/* This file is generated by aisc_mkpt.
2 * Any changes you make here will be overwritten later!
3 */
4
5#ifndef ARB_FILE_H
6#define ARB_FILE_H
7
8/* define ARB attributes: */
9#ifndef ATTRIBUTES_H
10# include <attributes.h>
11#endif
12
13
14/* arb_file.cxx */
15
16#ifndef ARB_CORE_H
17#include "arb_core.h"
18#endif
19
20long GB_size_of_file(const char *path);
21long GB_size_of_FILE(FILE *in);
22unsigned long GB_time_of_file(const char *path);
23GB_ERROR GB_set_time_of_file(const char *path, unsigned long new_time);
24long GB_mode_of_file(const char *path);
25long GB_mode_of_link(const char *path);
26bool GB_is_regularfile(const char *path);
27bool GB_is_link(const char *path);
28bool GB_is_executablefile(const char *path);
29bool GB_is_privatefile(const char *path, bool read_private);
30bool GB_is_writeablefile(const char *filename);
31bool GB_is_readablefile(const char *filename);
32bool GB_is_directory(const char *path);
33long GB_getuid_of_file(const char *path);
34int GB_unlink(const char *path);
35void GB_unlink_or_warn(const char *path, GB_ERROR *error);
36GB_ERROR GB_symlink(const char *target, const char *link);
37GB_ERROR GB_set_mode_of_file(const char *path, long mode);
38char *GB_follow_unix_link(const char *path);
39GB_ERROR GB_rename_file(const char *oldpath, const char *newpath);
40
41#else
42#error arb_file.h included twice
43#endif /* ARB_FILE_H */
Note: See TracBrowser for help on using the repository browser.