Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

msr.h

00001 /* @(#)05       1.1  src/include/pos/msr.h, apicode, ptux1.2.0, 20 1/13/00 18:45:09 */
00002 
00003 
00004 /********************************************************************/
00005 /*  <msr.h> header file                                             */
00006 /*                                                                  */
00007 /*  Licensed Materials - Property of IBM                            */
00008 /*                                                                  */
00009 /*  IBM Point of Sale Subsystem                                     */
00010 /*  73G0950 (C) Copyright IBM Corporation 1992, 1997                */
00011 /*  All rights reserved                                             */
00012 /*                                                                  */
00013 /*  US Government Users Restricted Rights -                         */
00014 /*  Use, duplication, or disclosure restricted                      */
00015 /*  by GSA ADP Schedule Contract with IBM Corp.                     */
00016 /*                                                                  */
00017 /********************************************************************/
00018 
00019 #ifndef _H_POS_MSR
00020 #define _H_POS_MSR 1
00021 
00022 /********************************************************************/
00023 /* Values for the SUBTYPE field of ONLINE and OFFLINE messages.     */
00024 /********************************************************************/
00025 
00026 #define PosMSR_SUBTYPE_NONE       0
00027 #define PosMSR_SUBTYPE_ENCODER    1
00028 
00029 
00030 /*****************************/
00031 /* PosMsr resource names     */
00032 /*****************************/
00033 
00034 #define PosNmsrEncodeTimeout    "msrEncodeTimeout"
00035 
00036 
00037 /*******************************/
00038 /* PosMsr resource classes */
00039 /*******************************/
00040 
00041 #define PosCMsrEncodeTimeout    "MsrEncodeTimeout"
00042 
00043 
00044 /*****************************/
00045 /* PosNtrack resource values */
00046 /*****************************/
00047 
00048 #define PosTRACK_ALL              0xFFFFFFFF
00049 #define PosTRACK_1                0x00000001
00050 #define PosTRACK_2                0x00000002
00051 #define PosTRACK_3                0x00000004
00052 #define PosTRACK_J                0x00000008
00053 
00054 
00055 /************************************************************/
00056 /* Constants used in the DFlags field of the MSR data block */
00057 /************************************************************/
00058 
00059 #define POS_MSR_TRK_ERROR         0x0001
00060 
00061 
00062 /****************************************************************/
00063 /* PosMsrDataHdr structure -- Scanner label data header         */
00064 /****************************************************************/
00065 
00066 typedef struct
00067   {
00068     unsigned long  Track;               /* Track Information */
00069     unsigned short Flags;               /* Flags             */
00070     unsigned short Length;              /* Data Length       */
00071   } PosMsrDataHdr;
00072 
00073 
00074 #endif   /* _H_POS_MSR */

 

L.A.B. Project © 2001-2004 LAB Project & DJ Anubis