blob: 94a5651059ac834dba082513ef1efe14692e5637 [file] [log] [blame]
/*
* Copyright (C) 2011-2014 Dropcam
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef DROPCAM_FSDRV_H
#define DROPCAM_FSDRV_H
struct fsg_common;
static int fs_nl_active(void);
static int fs_intercept_io(loff_t offset, loff_t length);
static int fs_register_common(struct fsg_common *fsg);
static int fs_unregister_common(void);
static int fs_create_netlink(void);
static int fs_release_netlink(void);
static int fs_register_common(struct fsg_common *fsg);
static int fs_msg_read(struct fsg_common *fsg, void *buf, loff_t buf_len, loff_t file_offset);
static int fs_msg_write(struct fsg_common *fsg, void *buf, loff_t buf_len, loff_t file_offset);
#endif