view src/lib/mountpoint.h @ 8590:b9faf4db2a9f HEAD

Updated copyright notices to include year 2009.
author Timo Sirainen <tss@iki.fi>
date Tue, 06 Jan 2009 09:25:38 -0500
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