~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/dlls/ctapi32/ctapi.h

Version: ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~ [ wine-1.0-rc5 ] ~ [ wine-1.0-rc4 ] ~ [ wine-1.0-rc3 ] ~ [ wine-1.0-rc2 ] ~ [ wine-1.0-rc1 ] ~ [ wine-0.9.61 ] ~ [ wine-0.9.60 ] ~ [ wine-0.9.59 ] ~ [ wine-0.9.58 ] ~ [ wine-0.9.57 ] ~ [ wine-0.9.56 ] ~ [ wine-0.9.55 ] ~ [ wine-0.9.54 ] ~ [ wine-0.9.53 ] ~ [ wine-0.9.52 ] ~ [ wine-0.9.51 ] ~ [ wine-0.9.50 ] ~ [ wine-0.9.49 ] ~ [ wine-0.9.48 ] ~ [ wine-0.9.47 ] ~ [ wine-0.9.46 ] ~ [ wine-0.9.45 ] ~ [ wine-0.9.44 ] ~ [ wine-0.9.43 ] ~ [ wine-0.9.42 ] ~ [ wine-0.9.41 ] ~ [ wine-0.9.40 ] ~ [ wine-0.9.39 ] ~ [ wine-0.9.38 ] ~ [ wine-0.9.37 ] ~ [ wine-0.9.36 ] ~ [ wine-0.9.35 ] ~ [ wine-0.9.34 ] ~ [ wine-0.9.33 ] ~ [ wine-0.9.32 ] ~ [ wine-0.9.31 ] ~ [ wine-0.9.30 ] ~ [ wine-0.9.29 ] ~ [ wine-0.9.28 ] ~ [ wine-0.9.27 ] ~ [ wine-0.9.26 ] ~ [ wine-0.9.25 ] ~ [ wine-0.9.24 ] ~ [ wine-0.9.23 ] ~ [ wine-0.9.22 ] ~ [ wine-0.9.21 ] ~ [ wine-0.9.20 ] ~ [ wine-0.9.19 ] ~ [ wine-0.9.18 ] ~ [ wine-0.9.17 ] ~ [ wine-0.9.16 ] ~ [ wine-0.9.15 ] ~ [ wine-0.9.14 ] ~ [ wine-0.9.13 ] ~ [ wine-0.9.12 ] ~ [ wine-0.9.11 ] ~ [ wine-0.9.10 ] ~ [ wine-0.9.9 ] ~ [ wine-0.9.8 ] ~ [ wine-0.9.7 ] ~ [ wine-0.9.6 ] ~ [ wine-0.9.5 ] ~ [ wine-0.9.4 ] ~ [ wine-0.9.3 ] ~ [ wine-0.9.2 ] ~ [ wine-0.9.1 ] ~ [ wine-0.9 ] ~ [ wine20050930 ] ~ [ wine20050830 ] ~ [ wine20050725 ] ~ [ wine20050628 ] ~ [ wine20050524 ] ~ [ wine20050419 ] ~ [ wine20050310 ] ~ [ wine20050211 ] ~ [ wine20050111 ] ~ [ wine20041201 ] ~ [ wine20041019 ] ~ [ wine20040914 ] ~ [ wine20040813 ] ~ [ wine20040716 ] ~ [ wine20040615 ] ~ [ wine20040505 ] ~ [ wine20040408 ] ~ [ wine20040309 ] ~ [ wine20040213 ] ~ [ wine20040121 ] ~ [ wine20031212 ] ~ [ wine20031118 ] ~ [ wine20031016 ] ~ [ wine20030911 ] ~ [ wine20030813 ] ~ [ wine20030709 ] ~ [ wine20030618 ] ~ [ wine20030508 ] ~ [ wine20030408 ] ~ [ wine20030318 ] ~ [ wine20030219 ] ~ [ wine20030115 ] ~ [ wine20021219 ] ~ [ wine20021125 ] ~ [ wine20021031 ] ~ [ wine20021007 ] ~ [ wine20020904 ] ~ [ wine20020804 ] ~ [ wine20020710 ] ~ [ wine20020605 ] ~ [ wine20020509 ] ~ [ wine20020411 ] ~ [ wine20020310 ] ~ [ wine20020228 ] ~ [ wine20011226 ] ~ [ wine20011108 ] ~ [ wine20011004 ] ~ [ wine20010824 ] ~ [ wine20010731 ] ~ [ wine20010629 ] ~ [ wine20010510 ] ~ [ wine20010418 ] ~ [ wine20010326 ] ~ [ wine20010305 ] ~ [ wine20010216 ] ~ [ wine20010112 ] ~ [ wine20001222 ] ~ [ wine20001202 ] ~ [ wine20001026 ] ~ [ wine20001002 ] ~ [ wine20000909 ] ~ [ wine20000821 ] ~ [ wine20000801 ] ~ [ wine20000716 ] ~ [ wine20000326 ] ~ [ wine20000227 ] ~ [ wine20000130 ] ~ [ wine20000109 ] ~

  1 /*
  2  * CT-API library for the REINER SCT cyberJack pinpad/e-com USB.
  3  * Copyright (C) 2001  REINER SCT
  4  * Author: Matthias Bruestle
  5  * Support: support@reiner-sct.com
  6  *
  7  * This library is free software; you can redistribute it and/or
  8  * modify it under the terms of the GNU Lesser General Public
  9  * License as published by the Free Software Foundation; either
 10  * version 2.1 of the License, or (at your option) any later version.
 11  *
 12  * This library is distributed in the hope that it will be useful,
 13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 15  * Lesser General Public License for more details.
 16  *
 17  * You should have received a copy of the GNU Lesser General Public
 18  * License along with this library; if not, write to the Free Software
 19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 20  */
 21 #ifndef H_CTAPI
 22 #define H_CTAPI
 23 
 24 /* More unique defines */
 25 
 26 #define CT_API_AD_HOST          2
 27 #define CT_API_AD_REMOTE        5
 28 
 29 #define CT_API_AD_CT            1
 30 #define CT_API_AD_ICC1          0
 31 #define CT_API_AD_ICC2          2
 32 #define CT_API_AD_ICC3          3
 33 #define CT_API_AD_ICC4          4
 34 #define CT_API_AD_ICC5          5
 35 #define CT_API_AD_ICC6          6
 36 #define CT_API_AD_ICC7          7
 37 #define CT_API_AD_ICC8          8
 38 #define CT_API_AD_ICC9          9
 39 #define CT_API_AD_ICC10         10
 40 #define CT_API_AD_ICC11         11
 41 #define CT_API_AD_ICC12         12
 42 #define CT_API_AD_ICC13         13
 43 #define CT_API_AD_ICC14         14
 44 
 45 #define CT_API_RV_OK            0
 46 #define CT_API_RV_ERR_INVALID   -1
 47 #define CT_API_RV_ERR_CT        -8
 48 #define CT_API_RV_ERR_TRANS     -10
 49 #define CT_API_RV_ERR_MEMORY    -11
 50 #define CT_API_RV_ERR_HOST      -127
 51 #define CT_API_RV_ERR_HTSI      -128
 52 
 53 /* MUSCLE style defines */
 54 
 55 #define OK                       0      /* Success */
 56 #define ERR_INVALID             -1      /* Invalid Data */
 57 #define ERR_CT                  -8      /* CT Error */
 58 #define ERR_TRANS               -10     /* Transmission Error */
 59 #define ERR_MEMORY              -11     /* Memory Allocate Error */
 60 #define ERR_HOST                -127    /* Host Error */
 61 #define ERR_HTSI                -128    /* HTSI Error */
 62 
 63 #define PORT_COM1               0       /* COM 1 */
 64 #define PORT_COM2               1       /* COM 2 */
 65 #define PORT_COM3               2       /* COM 3 */
 66 #define PORT_COM4               3       /* COM 4 */
 67 #define PORT_Printer            4       /* Printer Port (MAC) */
 68 #define PORT_Modem              5       /* Modem Port (MAC)   */
 69 #define PORT_LPT1               6       /* LPT 1 */
 70 #define PORT_LPT2               7       /* LPT 2 */
 71 
 72 #define CT                      1
 73 #define HOST                    2
 74 
 75 /* Short */
 76 #define CJ_CTAPI_MAX_LENC       4+1+255+1
 77 #define CJ_CTAPI_MAX_LENR       256+2
 78 /* Extended */
 79 /* #define CJ_CTAPI_MAX_LENC    5+2+65535+2 */
 80 /* #define CJ_CTAPI_MAX_LENR    65536+2 */
 81 /* Maximum for CTAPI */
 82 /* #define CJ_CTAPI_MAX_LENC    65535 */
 83 /* #define CJ_CTAPI_MAX_LENR    65535 */
 84 
 85 
 86 typedef unsigned char IU8;
 87 typedef unsigned short IU16;
 88 
 89 typedef signed char IS8;
 90 typedef signed short IS16;
 91 
 92 #ifdef __cplusplus
 93 extern "C" {
 94 #endif /* __cplusplus */
 95 
 96 IS8 CT_init( IU16 ctn, IU16 pn );
 97 IS8 CT_data( IU16 ctn, IU8 *dad, IU8 *sad, IU16 lenc, IU8 *command, IU16 *lenr,
 98         IU8 *response );
 99 IS8 CT_close( IU16 ctn );
100 
101 /* Proprietary extension */
102 IS8 CT_keycb( IU16 ctn, void (* cb)(IU16 ctn, IU8 status) );
103 
104 #ifdef __cplusplus
105 }
106 #endif /* __cplusplus */
107 #endif /* H_CTAPI */
108 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.