Lines Matching refs:fileargs_t
44 typedef struct fileargs fileargs_t; typedef
49 fileargs_t *fileargs_init(int argc, char *argv[], int flags, mode_t mode,
51 fileargs_t *fileargs_cinit(cap_channel_t *cas, int argc, char *argv[],
53 fileargs_t *fileargs_initnv(nvlist_t *limits);
54 fileargs_t *fileargs_cinitnv(cap_channel_t *cas, nvlist_t *limits);
55 int fileargs_lstat(fileargs_t *fa, const char *name, struct stat *sb);
56 int fileargs_open(fileargs_t *fa, const char *name);
57 char *fileargs_realpath(fileargs_t *fa, const char *pathname,
59 void fileargs_free(fileargs_t *fa);
60 FILE *fileargs_fopen(fileargs_t *fa, const char *name, const char *mode);
62 fileargs_t *fileargs_wrap(cap_channel_t *chan, int fdflags);
63 cap_channel_t *fileargs_unwrap(fileargs_t *fa, int *fdflags);
71 } fileargs_t;
73 static inline fileargs_t *
76 fileargs_t *fa;
87 static inline fileargs_t *
95 static inline fileargs_t *
98 fileargs_t *fa;
110 static inline fileargs_t *
125 FILE *fileargs_fopen(fileargs_t *fa, const char *name, const char *mode)
132 static inline fileargs_t *
141 fileargs_unwrap(fileargs_t *fa, int *fdflags)