kopia lustrzana https://gitlab.com/sane-project/backends
dont export private symbols
rodzic
9afc59953a
commit
690f1670c3
|
@ -1,3 +1,7 @@
|
|||
2009-01-21 m. allan noah <kitno455 a t gmail d o t com>
|
||||
* backend/canon_dr.[ch], backend/epjitsu.[ch], backend/fujitsu.[ch]:
|
||||
- dont export private symbols
|
||||
|
||||
2009-01-19 m. allan noah <kitno455 a t gmail d o t com>
|
||||
* doc/descriptions-external/brother2.desc: add MFC-7840W
|
||||
|
||||
|
|
|
@ -121,6 +121,8 @@
|
|||
- add cancel() to send d8 command
|
||||
- call cancel() only after final read from scanner
|
||||
- stop button reqests cancel
|
||||
v12 2009-01-21, MAN
|
||||
- dont export private symbols
|
||||
|
||||
SANE FLOW DIAGRAM
|
||||
|
||||
|
@ -181,7 +183,7 @@
|
|||
#include "canon_dr.h"
|
||||
|
||||
#define DEBUG 1
|
||||
#define BUILD 10
|
||||
#define BUILD 12
|
||||
|
||||
/* values for SANE_DEBUG_CANON_DR env var:
|
||||
- errors 5
|
||||
|
@ -4266,7 +4268,7 @@ wait_scanner(struct scanner *s)
|
|||
* we need a value that differs from this
|
||||
* due to using FB or overscan.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_width(struct scanner *s)
|
||||
{
|
||||
int width = s->page_width;
|
||||
|
@ -4290,7 +4292,7 @@ get_page_width(struct scanner *s)
|
|||
* we need a value that differs from this
|
||||
* due to using FB or overscan.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_height(struct scanner *s)
|
||||
{
|
||||
int height = s->page_height;
|
||||
|
|
|
@ -438,8 +438,8 @@ static SANE_Status ssm_buffer (struct scanner *s);
|
|||
static SANE_Status ssm_do (struct scanner *s);
|
||||
static SANE_Status ssm_df (struct scanner *s);
|
||||
|
||||
int get_page_width (struct scanner *s);
|
||||
int get_page_height (struct scanner *s);
|
||||
static int get_page_width (struct scanner *s);
|
||||
static int get_page_height (struct scanner *s);
|
||||
|
||||
static SANE_Status set_window (struct scanner *s);
|
||||
|
||||
|
|
|
@ -118,6 +118,8 @@
|
|||
v17 2008-10-03, MAN
|
||||
- increase scan height ~1/2 inch due to head offset
|
||||
- change page length autodetection condition
|
||||
v18 2009-01-21, MAN
|
||||
- dont export private symbols
|
||||
|
||||
SANE FLOW DIAGRAM
|
||||
|
||||
|
@ -177,7 +179,7 @@
|
|||
#include "epjitsu-cmd.h"
|
||||
|
||||
#define DEBUG 1
|
||||
#define BUILD 17
|
||||
#define BUILD 18
|
||||
|
||||
unsigned char global_firmware_filename[PATH_MAX];
|
||||
|
||||
|
@ -755,7 +757,7 @@ load_fw (struct scanner *s)
|
|||
/*
|
||||
* try to load fw into scanner
|
||||
*/
|
||||
unsigned char
|
||||
static unsigned char
|
||||
get_stat(struct scanner *s)
|
||||
{
|
||||
SANE_Status ret = SANE_STATUS_GOOD;
|
||||
|
@ -1654,7 +1656,8 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
|
|||
}
|
||||
|
||||
/* use height and width to initialize rest of transfer vals */
|
||||
void update_transfer_totals(struct transfer * t)
|
||||
static void
|
||||
update_transfer_totals(struct transfer * t)
|
||||
{
|
||||
t->total_pix = t->width_pix * t->height;
|
||||
t->total_bytes = t->width_bytes * t->height;
|
||||
|
@ -1697,7 +1700,7 @@ struct model_res {
|
|||
|
||||
};
|
||||
|
||||
struct model_res settings[] = {
|
||||
static struct model_res settings[] = {
|
||||
|
||||
/*S300 AC*/
|
||||
/* model xres yres u mxx mnx mxy mny actw reqw hedw padw bh calw */
|
||||
|
@ -4267,7 +4270,7 @@ sane_get_select_fd (SANE_Handle h, SANE_Int *fdp)
|
|||
* we need a value that differs from this
|
||||
* due to using FB
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_width(struct scanner *s)
|
||||
{
|
||||
/* scanner max for fb */
|
||||
|
@ -4283,7 +4286,7 @@ get_page_width(struct scanner *s)
|
|||
* we need a value that differs from this
|
||||
* due to using FB.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_height(struct scanner *s)
|
||||
{
|
||||
/* scanner max for fb */
|
||||
|
|
|
@ -365,12 +365,12 @@ static SANE_Status get_hardware_status (struct scanner *s);
|
|||
static SANE_Status load_lut (unsigned char * lut, int in_bits, int out_bits,
|
||||
int out_min, int out_max, int slope, int offset);
|
||||
|
||||
int get_page_width (struct scanner *s);
|
||||
int get_page_height (struct scanner *s);
|
||||
unsigned char get_stat(struct scanner *s);
|
||||
static int get_page_width (struct scanner *s);
|
||||
static int get_page_height (struct scanner *s);
|
||||
static unsigned char get_stat(struct scanner *s);
|
||||
|
||||
/* utils */
|
||||
void update_transfer_totals(struct transfer * t);
|
||||
static void update_transfer_totals(struct transfer * t);
|
||||
static void hexdump (int level, char *comment, unsigned char *p, int l);
|
||||
static size_t maxStringSize (const SANE_String_Const strings[]);
|
||||
|
||||
|
|
|
@ -415,6 +415,8 @@
|
|||
- accept null pointer as empty device name
|
||||
- track frontend reading sensor/button values to reload
|
||||
- deactivate double feed options if df-action == default
|
||||
v88 2009-01-21, MAN
|
||||
- dont export private symbols
|
||||
|
||||
SANE FLOW DIAGRAM
|
||||
|
||||
|
@ -475,7 +477,7 @@
|
|||
#include "fujitsu.h"
|
||||
|
||||
#define DEBUG 1
|
||||
#define BUILD 87
|
||||
#define BUILD 88
|
||||
|
||||
/* values for SANE_DEBUG_FUJITSU env var:
|
||||
- errors 5
|
||||
|
@ -8217,7 +8219,7 @@ wait_scanner(struct fujitsu *s)
|
|||
* we need a value that differs from this
|
||||
* due to using FB or overscan.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_width(struct fujitsu *s)
|
||||
{
|
||||
int width = s->page_width + 2 * (s->os_x_basic*1200/s->basic_x_res);
|
||||
|
@ -8246,7 +8248,7 @@ get_page_width(struct fujitsu *s)
|
|||
* we need a value that differs from this
|
||||
* due to using FB or overscan.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
get_page_height(struct fujitsu *s)
|
||||
{
|
||||
int height = s->page_height + 2 * (s->os_y_basic*1200/s->basic_y_res);
|
||||
|
|
|
@ -750,8 +750,8 @@ static SANE_Status mode_select_overscan (struct fujitsu *s);
|
|||
|
||||
static SANE_Status set_sleep_mode(struct fujitsu *s);
|
||||
|
||||
int get_page_width (struct fujitsu *s);
|
||||
int get_page_height (struct fujitsu *s);
|
||||
static int get_page_width (struct fujitsu *s);
|
||||
static int get_page_height (struct fujitsu *s);
|
||||
|
||||
static SANE_Status send_lut (struct fujitsu *s);
|
||||
static SANE_Status send_endorser (struct fujitsu *s);
|
||||
|
|
Ładowanie…
Reference in New Issue