blob: 9bb6d379f0a7b0826ea1a2af6eb70194035a9cba [file] [log] [blame]
/*
* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* file: device implementation for actual files.
*/
#ifndef LIBQMI_FILE_H
#define LIBQMI_FILE_H
struct qmidev;
struct dev;
/**
* Creates a new device backed by a file.
*
* @qmidev: The QMI device that this device is being created to serve.
* @file: The filename of the actual file to access (e.g. "/dev/cdc-wdm0").
*/
struct dev *file_new(struct qmidev *qmidev, const char *path);
#endif /* LIBQMI_FILE_H */