edce41facd
with the name resembling the original, but safe for scripts. * direntry.c (vfs_s_open): Use it. (vfs_s_retrieve_file): Likewise. * extfs.c (extfs_open): Likewise. * sfs.c (sfs_redirect): Likewise.
22 строки
594 B
C
22 строки
594 B
C
#ifndef __UTILVFS_H
|
|
#define __UTILVFS_H
|
|
|
|
#include "../src/global.h"
|
|
|
|
#include "../src/tty.h" /* enable/disable interrupt key */
|
|
#include "../src/wtools.h" /* message() */
|
|
#include "../src/main.h" /* print_vfs_message */
|
|
|
|
/* Flags for vfs_split_url() */
|
|
#define URL_ALLOW_ANON 1
|
|
#define URL_NOSLASH 2
|
|
|
|
char *vfs_split_url (const char *path, char **host, char **user, int *port,
|
|
char **pass, int default_port, int flags);
|
|
|
|
int vfs_finduid (char *name);
|
|
int vfs_findgid (char *name);
|
|
int vfs_mkstemps (char **pname, const char *prefix, const char *basename);
|
|
|
|
#endif /* !__UTILVFS_H */
|