blob: 6419c72f99ddc9562a78bcea9e328ded42083c26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
#include <fuse_opt.h>
extern char *sourcedir;
static int mp3fs_opt_proc (void *data, const char *arg, int key,
struct fuse_args *outargs)
{
if (key == FUSE_OPT_KEY_NONOPT && !sourcedir) {
/* The source directory isn't already set, let's do it */
sourcedir = arg;
return (0);
}
else
return (1);
}
|