view src/lib/mountpoint.h @ 6410:e4eb71ae8e96 HEAD

Changed .h ifdef/defines to use <NAME>_H format.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2007 11:31:27 +0300
parents 93a6d2194c5d
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