/usr/include/capi20.h is in libcapi20-dev 1:3.12.20071127-0ubuntu11.
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 75 76 77 78 79 80 81 82 83 84 85 | /*
* $Id: capi20.h,v 1.11 2007/11/26 13:13:00 keil Exp $
*
* $Log: capi20.h,v $
* Revision 1.11 2007/11/26 13:13:00 keil
* newer gcc do not include stdlib.h by default (needed for size_t)
*
* Revision 1.10 2000/04/03 14:27:15 calle
* non CAPI2.0 standard functions now named capi20ext not capi20.
* Extentionfunctions will work with actual driver version.
*
* Revision 1.9 2000/03/03 15:56:14 calle
* - now uses cloning device /dev/capi20.
* - middleware extentions prepared.
*
* Revision 1.8 1999/12/06 17:08:30 calle
* - Splitted capi20.h into capi20.h and capiutils.h.
* - capi20.h: the functions from the CAPI-2.0 Spec
* - capiutils.h: the "CAPI-ADK" functions
* - bug in 64Bit-Support fixed.
*
*/
#ifndef __CAPI20_H__
#define __CAPI20_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdlib.h>
#include <sys/time.h>
/* standard CAPI2.0 functions */
unsigned capi20_register (unsigned MaxLogicalConnection,
unsigned MaxBDataBlocks,
unsigned MaxBDataLen,
unsigned *ApplIDp);
unsigned capi20_release (unsigned ApplID);
unsigned capi20_put_message (unsigned ApplID, unsigned char *Msg);
unsigned capi20_get_message (unsigned ApplID, unsigned char **Buf);
unsigned capi20_waitformessage(unsigned ApplID, struct timeval *TimeOut);
unsigned char *capi20_get_manufacturer (unsigned Ctrl, unsigned char *Buf);
unsigned char *capi20_get_version (unsigned Ctrl, unsigned char *Buf);
unsigned char *capi20_get_serial_number (unsigned Ctrl, unsigned char *Buf);
unsigned capi20_get_profile (unsigned Controller, unsigned char *Buf);
unsigned capi20_isinstalled (void);
int capi20_fileno(unsigned ApplID);
/* end standard CAPI2.0 functions */
/* extentions functions (no standard functions) */
int capi20ext_get_flags(unsigned ApplID, unsigned *flagsptr);
int capi20ext_set_flags(unsigned ApplID, unsigned flags);
int capi20ext_clr_flags(unsigned ApplID, unsigned flags);
char *capi20ext_get_tty_devname(unsigned applid, unsigned ncci,
char *buf, size_t size);
char *capi20ext_get_raw_devname(unsigned applid, unsigned ncci,
char *buf, size_t size);
int capi20ext_ncci_opencount(unsigned applid, unsigned ncci);
/* end extentions functions (no standard functions) */
#ifdef __cplusplus
}
#endif
#ifndef __NO_CAPIUTILS__
#include <capiutils.h>
#endif
#endif /* __CAPI20_H */
|