2003-10-16 16:50:09 +00:00
|
|
|
#ifndef __UTILVFS_H
|
|
|
|
#define __UTILVFS_H
|
|
|
|
|
1999-01-27 00:49:11 +00:00
|
|
|
#include "../src/global.h"
|
1999-01-19 02:23:30 +00:00
|
|
|
|
|
|
|
#include "../src/tty.h" /* enable/disable interrupt key */
|
2003-10-26 04:47:20 +00:00
|
|
|
#include "../src/wtools.h" /* message() */
|
2002-11-14 07:26:32 +00:00
|
|
|
#include "../src/main.h" /* print_vfs_message */
|
2003-10-16 16:50:09 +00:00
|
|
|
|
|
|
|
/* 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);
|
|
|
|
|
2003-10-28 00:57:02 +00:00
|
|
|
int vfs_finduid (char *name);
|
|
|
|
int vfs_findgid (char *name);
|
2003-10-29 00:50:36 +00:00
|
|
|
int vfs_mkstemps (char **pname, const char *prefix, const char *basename);
|
2003-10-16 16:50:09 +00:00
|
|
|
|
|
|
|
#endif /* !__UTILVFS_H */
|