summaryrefslogtreecommitdiff
path: root/backend/mustek_pp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:13:01 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:13:01 +0100
commitffa8801644a7d53cc1c785e3450f794c07a14eb0 (patch)
tree8d72a18a9a08b9151d12badcb1c78ce06a059f62 /backend/mustek_pp.c
parent1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff)
New upstream version 1.0.29upstream/1.0.29
Diffstat (limited to 'backend/mustek_pp.c')
-rw-r--r--backend/mustek_pp.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/backend/mustek_pp.c b/backend/mustek_pp.c
index 912c3bd..bb97f86 100644
--- a/backend/mustek_pp.c
+++ b/backend/mustek_pp.c
@@ -160,8 +160,6 @@ free_cfg_options(int *numoptions, Mustek_pp_config_option** options)
/* do_eof:
* closes the pipeline
*
- * ChangeLog:
- *
* Description:
* closes the pipe (read-only end)
*/
@@ -180,8 +178,6 @@ do_eof (Mustek_pp_Handle *hndl)
/* do_stop:
* ends the reader_process and stops the scanner
*
- * ChangeLog:
- *
* Description:
* kills the reader process with a SIGTERM and cancels the scanner
*/
@@ -218,8 +214,6 @@ do_stop(Mustek_pp_Handle *hndl)
/* sigterm_handler:
* cancel scanner when receiving a SIGTERM
*
- * ChangeLog:
- *
* Description:
* just exit... reader_process takes care that nothing bad will happen
*
@@ -247,8 +241,6 @@ sigterm_handler (int signal __UNUSED__)
/* reader_process:
* receives data from the scanner and stuff it into the pipeline
*
- * ChangeLog:
- *
* Description:
* The signal handle for SIGTERM is initialized.
*
@@ -318,8 +310,6 @@ reader_process (Mustek_pp_Handle * hndl, int pipe)
/* sane_attach:
* adds a new entry to the Mustek_pp_Device *devlist list
*
- * ChangeLog:
- *
* Description:
* After memory for a new device entry is allocated, the
* parameters for the device are determined by a call to
@@ -382,8 +372,6 @@ sane_attach (SANE_String_Const port, SANE_String_Const name, SANE_Int driver, SA
/* init_options:
* Sets up the option descriptors for a device
*
- * ChangeLog:
- *
* Description:
*/
static void
@@ -626,8 +614,6 @@ init_options(Mustek_pp_Handle *hndl)
* Attempts to attach a device to the list after parsing of a section
* of the configuration file.
*
- * ChangeLog:
- *
* Description:
* After parsing a scanner section of the config file, this function
* is called to look for a driver with a matching name. When found,
@@ -691,8 +677,6 @@ attach_device(SANE_String *driver, SANE_String *name,
/* sane_init:
* Reads configuration file and registers hardware driver
*
- * ChangeLog:
- *
* Description:
* in *version_code the SANE version this backend was compiled with and the
* version of the backend is returned. The value of authorize is stored in
@@ -1001,8 +985,6 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
/* sane_exit:
* Unloads all drivers and frees allocated memory
*
- * ChangeLog:
- *
* Description:
* All open devices are closed first. Then all registered devices
* are removed.
@@ -1051,8 +1033,6 @@ sane_exit (void)
/* sane_get_devices:
* Returns a list of registered devices
*
- * ChangeLog:
- *
* Description:
* A possible present old device_list is removed first. A new
* devarray is allocated and filled with pointers to the
@@ -1093,8 +1073,6 @@ sane_get_devices (const SANE_Device *** device_list,
/* sane_open:
* opens a device and prepares it for operation
*
- * ChangeLog:
- *
* Description:
* The device identified by ``devicename'' is looked
* up in the list, or if devicename is zero, the
@@ -1201,8 +1179,6 @@ sane_open (SANE_String_Const devicename, SANE_Handle * handle)
/* sane_close:
* closes a given device and frees all resources
*
- * ChangeLog:
- *
* Description:
* The handle is searched in the list of active handles.
* If it's found, the handle is removed.
@@ -1261,8 +1237,6 @@ sane_close (SANE_Handle handle)
/* sane_get_option_descriptor:
* does what it says
*
- * ChangeLog:
- *
* Description:
*
*/
@@ -1285,8 +1259,6 @@ sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
/* sane_control_option:
* Reads or writes an option
*
- * ChangeLog:
- *
* Desription:
* If a pointer to info is given, the value is initialized to zero
* while scanning options cannot be read or written. next a basic
@@ -1523,8 +1495,6 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
/* sane_get_parameters:
* returns the set of parameters, that is used for the next scan
*
- * ChangeLog:
- *
* Description:
*
* First of all it is impossible to change the parameter set
@@ -1716,8 +1686,6 @@ sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
/* sane_start:
* starts the scan. data aquisition will start immedially
*
- * ChangeLog:
- *
* Description:
*
*/
@@ -1775,8 +1743,6 @@ sane_start (SANE_Handle handle)
/* sane_read:
* receives data from pipeline and passes it to the caller
*
- * ChangeLog:
- *
* Description:
* ditto
*/
@@ -1877,8 +1843,6 @@ sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
/* sane_cancel:
* stops a scan and ends the reader process
*
- * ChangeLog:
- *
* Description:
*
*/
@@ -1900,8 +1864,6 @@ sane_cancel (SANE_Handle handle)
/* sane_set_io_mode:
* toggles between blocking and non-blocking reading
*
- * ChangeLog:
- *
* Description:
*
*/
@@ -1930,8 +1892,6 @@ sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
/* sane_get_select_fd:
* returns the pipeline fd for direct reading
*
- * ChangeLog:
- *
* Description:
* to allow the frontend to receive the data directly it
* can read from the pipeline itself