summaryrefslogtreecommitdiff
path: root/backend/pixma_bjnp.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/pixma_bjnp.h
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/pixma_bjnp.h')
-rw-r--r--backend/pixma_bjnp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/pixma_bjnp.h b/backend/pixma_bjnp.h
index 3770bfd..998c331 100644
--- a/backend/pixma_bjnp.h
+++ b/backend/pixma_bjnp.h
@@ -65,9 +65,10 @@ extern void sanei_bjnp_init (void);
/** Find scanners responding to a BJNP broadcast.
*
- * The function attach is called for every device which has been found.
+ * The function sanei_bjnp_attach is called for every device which has
+ * been found.
* Serial is the address of the scanner in human readable form of max
- * SHORT_HOSTNAME_MAX characters
+ * SERIAL_MAX characters
* @param conf_devices list of pre-configures device URI's to attach
* @param attach attach function
* @param pixma_devices device informatio needed by attach function
@@ -75,7 +76,7 @@ extern void sanei_bjnp_init (void);
* @return SANE_STATUS_GOOD - on success (even if no scanner was found)
*/
-#define SHORT_HOSTNAME_MAX 16
+#define SERIAL_MAX 16
extern SANE_Status
sanei_bjnp_find_devices (const char **conf_devices,