fix typos, improve formatting

merge-requests/1/head
m. allan noah 2008-07-26 05:45:21 +00:00
rodzic 887b008e7c
commit 7db4cb40da
2 zmienionych plików z 11 dodań i 10 usunięć

Wyświetl plik

@ -59,14 +59,15 @@
* Please use the SANEI functions wherever possible. * Please use the SANEI functions wherever possible.
* *
* This documentation was created by the use of doxygen, the * This documentation was created by the use of doxygen, the
* doc/doxygen-sanei.conf configuration file and dcoumentation in the sanei_*.h * doc/doxygen-sanei.conf configuration file and documentation in the sanei_*.h
* files. * files.
* *
* This documenation is far from complete. Any help is appreciated. * This documentation is far from complete. Any help is appreciated.
* *
* @section additional Additional documentation * @section additional Additional documentation
* - The SANE standard can be found at <a * - The SANE standard can be found at <a
* href="http://www.sane-project.org/html/">the SANE webserver</a>. * href="http://www.sane-project.org/html/">the SANE webserver</a>,
* though the PostScript version produced from the source may be more recent.
* - Information on how to write a backend: <a * - Information on how to write a backend: <a
* href="../backend-writing.txt">backend-writing.txt</a>. * href="../backend-writing.txt">backend-writing.txt</a>.
* - General SANE documentation is on <a * - General SANE documentation is on <a

Wyświetl plik

@ -144,9 +144,6 @@ typedef struct
} SANEI_Config; } SANEI_Config;
/** attach with configuration callback function type. */
typedef SANE_Status (*config_attach)(SANEI_Config *config, const char *devname);
/** Parse configuration file, reading configuration options and trying to /** Parse configuration file, reading configuration options and trying to
* attach devices found in file. * attach devices found in file.
* *
@ -155,13 +152,16 @@ typedef SANE_Status (*config_attach)(SANEI_Config *config, const char *devname);
* with the name found and the configuration structure with it's current values. * with the name found and the configuration structure with it's current values.
* *
* @param config_file name of the configuration file to read * @param config_file name of the configuration file to read
* @param config configuration structure to be filled during configuration parsing * @param config configuration structure to be filled during configuration
* and passed to the attach callback function * parsing and passed to the attach callback function
* @param config_attach attach with config callback function * @param config_attach attach with config callback function
* *
* @return SANE_STATUS_GOOD if no errors * @return SANE_STATUS_GOOD if no errors
* SANE_STATUS_ACCESS_DENIED if configuration file can't be opened * SANE_STATUS_ACCESS_DENIED if configuration file can't be opened
*/ */
extern SANE_Status sanei_configure_attach (const char *config_file,SANEI_Config *config, extern SANE_Status sanei_configure_attach (
config_attach); const char *config_file,
SANEI_Config *config,
SANE_Status (*config_attach)(SANEI_Config *config, const char *devname)
);
#endif /* sanei_config_h */ #endif /* sanei_config_h */