1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

makes wsfs_status public (usable in provider example)

This commit is contained in:
Falk Werner
2019-03-04 19:19:04 +01:00
parent fff6d54046
commit 2781aadf55
15 changed files with 25 additions and 82 deletions

View File

@@ -62,6 +62,6 @@ void wsfsp_lookup_default(
char const * WSFS_UNUSED_PARAM(name),
void * WSFS_UNUSED_PARAM(user_data))
{
wsfsp_respond_error(request, -1);
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
}

View File

@@ -33,7 +33,7 @@ void wsfsp_open_default(
int WSFS_UNUSED_PARAM(flags),
void * WSFS_UNUSED_PARAM(user_data))
{
wsfsp_respond_error(request, -1);
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
}
void wsfsp_respond_open(

View File

@@ -43,7 +43,7 @@ void wsfsp_read_default(
size_t WSFS_UNUSED_PARAM(length),
void * WSFS_UNUSED_PARAM(user_data))
{
wsfsp_respond_error(request, -1);
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
}
void wsfsp_respond_read(
@@ -69,7 +69,7 @@ void wsfsp_respond_read(
}
else
{
wsfsp_respond_error(request, -1);
wsfsp_respond_error(request, WSFS_BAD);
}
}
else

View File

@@ -29,7 +29,7 @@ void wsfsp_readdir_default(
ino_t WSFS_UNUSED_PARAM(directory),
void * WSFS_UNUSED_PARAM(user_data))
{
wsfsp_respond_error(request, -1);
wsfsp_respond_error(request, WSFS_BAD_NOENTRY);
}
void wsfsp_respond_readdir(