Imported Upstream version 2.7.1
This commit is contained in:
parent
a1fa151fc7
commit
0121794af9
451 changed files with 41339 additions and 10887 deletions
41
drivers/nutdrv_qx_blazer-common.h
Normal file
41
drivers/nutdrv_qx_blazer-common.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* nutdrv_qx_blazer-common.h - Common functions/settings for nutdrv_qx_{mecer,megatec,megatec-old,mustek,zinto}.{c,h}
|
||||
*
|
||||
* Copyright (C)
|
||||
* 2013 Daniele Pezzini <hyouko@gmail.com>
|
||||
*
|
||||
* 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 NUTDRV_QX_BLAZER_COMMON_H
|
||||
#define NUTDRV_QX_BLAZER_COMMON_H
|
||||
|
||||
#include "nutdrv_qx.h"
|
||||
|
||||
/* Support functions */
|
||||
void blazer_makevartable(void);
|
||||
void blazer_initups(item_t *qx2nut);
|
||||
int blazer_claim(void);
|
||||
|
||||
/* Preprocess functions */
|
||||
int blazer_process_command(item_t *item, char *value, size_t valuelen);
|
||||
int blazer_process_setvar(item_t *item, char *value, size_t valuelen);
|
||||
int blazer_process_status_bits(item_t *item, char *value, size_t valuelen);
|
||||
|
||||
/* Ranges */
|
||||
extern info_rw_t blazer_r_ondelay[];
|
||||
extern info_rw_t blazer_r_offdelay[];
|
||||
|
||||
#endif /* NUTDRV_QX_BLAZER_COMMON_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue