/usr/include/parport.h is in libprinterconf-dev 0.5-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | /***************************************************************************
* parport.h - autoprobing of parallel port devices (currently linux only) *
* Red Hat Config Library *
* (c) 1999 by Bernhard Rosenkränzer <bero@redhat.com> *
* $Id: parport.h,v 1.1 2001/09/21 20:13:19 ben Exp $ *
***************************************************************************/
#ifndef RHCL_PARPORT_H
#define RHCL_PARPORT_H
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#ifdef __cplusplus
extern "C" {
#endif
/** parport_probe_manufacturer
* Tries to determine the manufacturer of a parallel port device
*
* @param port Number of parallel port
* @return manufacturer or NULL if device is not IEEE-1284 compatible.
*/
char *parport_probe_manufacturer(int port);
/** parport_probe_model
* Tries to determine the model of a parallel port device
*
* @param port Number of parallel port
* @return model or NULL if device is not IEEE-1284 compatible.
*/
char *parport_probe_model(int port);
/** parport_probe_cmdset
* Tries to determine the command set of a parallel port device
*
* @param port Number of parallel port
* @return command set or NULL if device is not IEEE-1284 compatible.
*/
char *parport_probe_cmdset(int port);
/** parport_probe_description
* Tries to determine the description of a parallel port device
*
* @param port Number of parallel port
* @return description or NULL if device is not IEEE-1284 compatible.
*/
char *parport_probe_description(int port);
/** parport_probe_class
* Tries to determine the class of a parallel port device
* (i.e. PRINTER, SCANNER, ...)
*
* @param port Number of parallel port
* @return class or NULL if device is not IEEE-1284 compatible.
*/
char *parport_probe_class(int port);
/** probe_parport
* Return IEEE-1284 information on a parallel port device
* For internal use (parport_probe_*)
*
* @param port Number of parallel port
* @return IEEE-1284 information or NULL if device (or OS) is not IEEE-1284
* compatible.
*/
char *probe_parport(int port);
#ifdef __cplusplus
}
#endif
#endif
|