#include <string.h>
#include <sys/types.h>
#include <hiker/fail.h>
#include <hiker/ipc.h>
#include "volumesvcs.h"
#include <errno.h>
Functions | |
bool | prv_mount (prv_fsinfo_t *entry) |
mount a device entry turning it into a volume entry | |
bool | prv_umount (prv_fsinfo_t *entry) |
umount a volume turning it back into a device, which usually was just ejected | |
bool | prv_bind_mount (gchar *name, gchar *path) |
bool | prv_rename (prv_fsinfo_t *entry, const gchar *name) |
bool | prv_makefs (prv_fsinfo_t *entry, const gchar *name, const gchar *fstype) |
void | prv_dump (int level) |
dump out a trace of our current view of the mounted volumes & devices | |
void | prv_device_add (prv_fsinfo_t *new_entry) |
addition of a device | |
void | prv_device_remove (prv_fsinfo_t *entry) |
callback for the removal of a device | |
prv_fsinfo_t * | prv_entry_match (const gchar *udi, bool allocate) |
see if we have an existing entry that matches the passed udi | |
void | prv_init_rpc () |
Variables | |
GArray * | gfsinfo |
GArray * | gslots |
GPtrArray * | gfstypes |