view src/lib/mountpoint.h @ 9451:9fff30644260 HEAD

istream-concat: Fixed a lot of bugs.
author Timo Sirainen <tss@iki.fi>
date Mon, 26 Oct 2009 17:06:57 -0400
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef MOUNTPOINT_H
#define MOUNTPOINT_H

struct mountpoint {
	char *device_path;
	char *mount_path;
	char *type;
	unsigned int block_size;
};

/* Returns 1 = found, 0 = not found (from mount tabs, or the path itself),
   -1 = error */
int mountpoint_get(const char *path, pool_t pool, struct mountpoint *point_r);

#endif