annotate liboctave/wrappers/dirent-wrappers.h @ 23084:ef4d915df748

maint: Merge stable to default.
author John W. Eaton <jwe@octave.org>
date Mon, 23 Jan 2017 14:27:48 -0500
parents 3a2b891d0b33 e9a0469dedd9
children 092078913d54
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21926
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 /*
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 Copyright (C) 2016 John W. Eaton
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 This file is part of Octave.
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
22755
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
8 under the terms of the GNU General Public License as published by
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
9 the Free Software Foundation; either version 3 of the License, or
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
10 (at your option) any later version.
21926
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
22755
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
12 Octave is distributed in the hope that it will be useful, but
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
13 WITHOUT ANY WARRANTY; without even the implied warranty of
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22402
diff changeset
15 GNU General Public License for more details.
21926
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 along with Octave; see the file COPYING. If not, see
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>.
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 */
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 #if ! defined (octave_dirent_wrappers_h)
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 #define octave_dirent_wrappers_h 1
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 #if ! defined (__cplusplus)
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 # include <stdbool.h>
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 #endif
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 #if defined __cplusplus
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 extern "C" {
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 #endif
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 extern void *octave_opendir_wrapper (const char *dname);
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 extern char *octave_readdir_wrapper (void *dir);
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 extern void octave_rewinddir_wrapper (void *dir);
21937
55f7de37b618 maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 21926
diff changeset
39
21926
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 extern int octave_closedir_wrapper (void *dir);
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 extern unsigned int octave_name_max_wrapper (void);
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 #if defined __cplusplus
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 }
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 #endif
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47
24215a16f3b2 hide dirent.h header
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 #endif