diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-14 14:24:55 +0200 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-14 14:24:55 +0200 |
commit | bf9c78e314c9a33d56333546fdb78ea0d765821d (patch) | |
tree | bda69b4c8156c0f695d2e5389ba06c6c453b7244 /src/musicfs.c | |
parent | cf1ef9e53b0bb555af70080ce940d2f5f1c41085 (diff) |
- More renaming
Diffstat (limited to 'src/musicfs.c')
-rwxr-xr-x | src/musicfs.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/musicfs.c b/src/musicfs.c new file mode 100755 index 0000000..4811cb9 --- /dev/null +++ b/src/musicfs.c @@ -0,0 +1,41 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* + * Musicfs is a FUSE module implementing a media filesystem in userland. + * Copyright (C) 2008 Ulf Lilleengen, Kjetil Ørbekk + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License version + * 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * A copy of the license can typically be found in COPYING + */ + +#define FUSE_USE_VERSION 26 + +#include <stdlib.h> +#include <stdio.h> +#include <fuse.h> +#include <fuse_opt.h> +#include <musicfs.h> + +/* Prototypes. */ +static int musicfs_opt_proc (void *, const char *, int, struct fuse_args *); + +int +main(int argc, char **argv) +{ + printf("Starting up musicfs\n"); + mfs_run(argc, argv); + printf("Shutting down musicfs\n"); +} + |