blob: 16c2661c71f52d81d6b188fd30546e5d6f53049e [file] [log] [blame]
/*
* Google LWIS IOCTL Handler
*
* Copyright (c) 2018 Google, LLC
*
* 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.
*/
#ifndef LWIS_IOCTL_H_
#define LWIS_IOCTL_H_
#include "lwis_device.h"
/*
* lwis_ioctl_handler: Handle all IOCTL commands via the file descriptor.
*/
int lwis_ioctl_handler(struct lwis_client *lwis_client, unsigned int type, unsigned long param);
void lwis_ioctl_pr_err(struct lwis_device *lwis_device, unsigned int ioctl_type, int errno);
#endif /* LWIS_IOCTL_H_ */