File: ALLEGRO_FS_INTERFACE.3

package info (click to toggle)
allegro5 2%3A5.0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,856 kB
  • ctags: 15,948
  • sloc: ansic: 87,540; cpp: 9,693; objc: 3,491; python: 2,057; sh: 829; makefile: 93; perl: 37; pascal: 24
file content (45 lines) | stat: -rw-r--r-- 1,995 bytes parent folder | download
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
45
.TH ALLEGRO_FS_INTERFACE 3 "" "Allegro reference manual"
.SH NAME
.PP
ALLEGRO_FS_INTERFACE \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>

typedef\ struct\ ALLEGRO_FS_INTERFACE\ ALLEGRO_FS_INTERFACE;
\f[]
.fi
.SH DESCRIPTION
.PP
The available functions you can provide for a filesystem.
They are:
.IP
.nf
\f[C]
\ \ \ ALLEGRO_FS_ENTRY\ *\ \ fs_create_entry\ \ \ (const\ char\ *path);
\ \ \ void\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_destroy_entry\ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ const\ char\ *\ \ \ \ \ \ \ \ fs_entry_name\ \ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_update_entry\ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ uint32_t\ \ \ \ \ \ \ \ \ \ \ \ fs_entry_mode\ \ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ time_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_entry_atime\ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ time_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_entry_mtime\ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ time_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_entry_ctime\ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ off_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_entry_size\ \ \ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_entry_exists\ \ \ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_remove_entry\ \ \ (ALLEGRO_FS_ENTRY\ *e);

\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_open_directory\ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ ALLEGRO_FS_ENTRY\ *\ \ fs_read_directory\ (ALLEGRO_FS_ENTRY\ *e);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_close_directory(ALLEGRO_FS_ENTRY\ *e);

\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_filename_exists(const\ char\ *path);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_remove_filename(const\ char\ *path);
\ \ \ char\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_get_current_directory(void);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_change_directory(const\ char\ *path);
\ \ \ bool\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fs_make_directory(const\ char\ *path);

\ \ \ ALLEGRO_FILE\ *\ \ \ \ \ \ fs_open_file(ALLEGRO_FS_ENTRY\ *e);
\f[]
.fi