1 /* source: xio-named.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_named_h_included
6 #define __xio_named_h_included 1
8 extern const struct optdesc opt_group_early
;
9 extern const struct optdesc opt_perm_early
;
10 extern const struct optdesc opt_user_early
;
11 /*0 extern const struct optdesc opt_cleanup; */
12 /*0 extern const struct optdesc opt_force; */
13 extern const struct optdesc opt_unlink
;
14 extern const struct optdesc opt_unlink_early
;
15 extern const struct optdesc opt_unlink_late
;
16 extern const struct optdesc opt_unlink_close
;
19 applyopts_named(const char *filename
, struct opt
*opts
, unsigned int phase
);
20 extern int _xioopen_named_early(int argc
, const char *argv
[], xiofile_t
*xfd
, groups_t groups
, bool *exists
, struct opt
*opts
, const char *syntax
);
21 extern int _xioopen_open(const char *path
, int rw
, struct opt
*opts
);
23 extern int xio_unlink(const char *pathname
, int level
);
25 #endif /* !defined(__xio_named_h_included) */