|
plptools
|
#include "config.h"#include <cli_utils.h>#include <rfsv.h>#include <rpcs.h>#include <rfsvfactory.h>#include <rpcsfactory.h>#include <bufferstore.h>#include <bufferarray.h>#include <tcpsocket.h>#include <iostream>#include <string>#include <stdlib.h>#include <stdio.h>#include <signal.h>#include <unistd.h>#include <errno.h>#include "rfsv_api.h"#include <getopt.h>#include <fuse/fuse_lowlevel.h>
Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE |
Functions | |
| int | epocerr_to_errno (long epocerr) |
| int | rfsv_isalive (void) |
| int | rfsv_dir (const char *file, dentry **e) |
| int | rfsv_dircount (const char *file, uint32_t *count) |
| int | rfsv_rmdir (const char *name) |
| int | rfsv_mkdir (const char *file) |
| int | rfsv_remove (const char *file) |
| int | rfsv_fclose (long handle) |
| int | rfsv_fcreate (long attr, const char *file, uint32_t *handle) |
| int | rfsv_open (const char *name, long mode, uint32_t *handle) |
| int | rfsv_read (char *buf, long offset, long len, const char *name) |
| int | rfsv_write (const char *buf, long offset, long len, const char *name) |
| int | rfsv_setmtime (const char *name, long time) |
| int | rfsv_setsize (const char *name, long size) |
| int | rfsv_setattr (const char *name, long sattr, long dattr) |
| int | rfsv_getattr (const char *name, long *attr, long *size, long *time) |
| int | rfsv_rename (const char *oldname, const char *newname) |
| int | rfsv_drivelist (int *cnt, device **dlist) |
| static void | help () |
| int | fuse (int argc, char *argv[]) |
| int | main (int argc, char **argv) |
Variables | |
| static rfsv * | a |
| static rfsvfactory * | rf |
| static rpcs * | r |
| static rpcsfactory * | rp |
| static bufferStore | owner |
| static struct option | opts [] |
| int rfsv_fcreate | ( | long | attr, |
| const char * | file, | ||
| uint32_t * | handle | ||
| ) |
| int rfsv_getattr | ( | const char * | name, |
| long * | attr, | ||
| long * | size, | ||
| long * | time | ||
| ) |
| int rfsv_open | ( | const char * | name, |
| long | mode, | ||
| uint32_t * | handle | ||
| ) |
| int rfsv_read | ( | char * | buf, |
| long | offset, | ||
| long | len, | ||
| const char * | name | ||
| ) |
| int rfsv_rename | ( | const char * | oldname, |
| const char * | newname | ||
| ) |
| int rfsv_setattr | ( | const char * | name, |
| long | sattr, | ||
| long | dattr | ||
| ) |
| int rfsv_write | ( | const char * | buf, |
| long | offset, | ||
| long | len, | ||
| const char * | name | ||
| ) |
|
static |
|
static |
|
static |
|
static |