From 9dad5a5bec064bd7b0b5d9ba186c5498d7e581cf Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 26 May 2004 14:57:57 +0000 Subject: [PATCH] Was missing, needed by "USB Port" print transport add-on. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7651 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/USB_printer.h | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 headers/os/drivers/USB_printer.h diff --git a/headers/os/drivers/USB_printer.h b/headers/os/drivers/USB_printer.h new file mode 100644 index 0000000000..fc4e266d03 --- /dev/null +++ b/headers/os/drivers/USB_printer.h @@ -0,0 +1,36 @@ +/* +** USB_printer.h +** +** Copyright 1999, Be Incorporated. All Rights Reserved. +** +*/ + +#ifndef _USB_PRINTER_H +#define _USB_PRINTER_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* ioctl() opcodes for usb_printer driver */ + +enum +{ + USB_PRINTER_GET_DEVICE_ID = B_DEVICE_OP_CODES_END+1 +}; + + +/* Maximum length of the DEVICE_ID. User MUST allocate this size +when calling USB_PRINTER_GET_DEVICE_ID ioctl() */ + +#define USB_PRINTER_DEVICE_ID_LENGTH 256 + + + +#ifdef __cplusplus +} +#endif + +#endif