Commit Graph

76 Commits

Author SHA1 Message Date
Peter Marschall 20e0beeb16 capi20: autoreconf
Update all files generated by autotools via a call to 'autoreconf -if'
and add generated template config.h.in.

Note: the file config.h genereted from config.h.in by 'configure'
is not used (i.e. #include'd) yet in those source files that use
the preprocessor directive CAPI_LIBRARY_V2, namely capifunc.c,
capiutils.h, convert.c.
The problematic file is capiutils.h, as it is a public header file
for libcapi20, thatshould not pretend to offer two interfaces
based on a preprocessor directive.
Maybe we need to generate if from capiutils.h.in ;-)
2012-04-20 19:16:07 +02:00
Peter Marschall 4e04eca386 capi20/configure.ac: updated
* require autoconf 2.68
* update obsolete macros
* generate header file config.h
* quote arguments to AC_../AM_.. macros
2012-04-20 19:16:07 +02:00
Rolf Leggewie a19ca067fe fix spelling mistake s/negotation/negotiation/ 2012-03-29 16:36:40 +02:00
Karsten Keil 1c31f389e7 Change semaphore and shared memory rights
Allow all user access the shared memory for now.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-03-19 13:46:57 +01:00
Karsten Keil b6f2e91eed module interface version
Set the module interface version from include file.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-03-12 20:54:00 +01:00
Karsten Keil 49173271ab Fix missing symbol issue
Use the main library as linker target to avoid missing symbols.
Based on a patch from Tilmann Schmidt <tilman@imap.cc>

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-03-12 20:49:10 +01:00
Karsten Keil affd86a0cb capi20.h needs stddef.h
From Debian sid capi20-h-needs-stddef-h.patch

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-02-26 18:21:42 +01:00
Karsten Keil 166796d269 Fix possible bufferoverflow in capi
Debian sid capi20-msg2str-safety.patch

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-02-26 18:21:37 +01:00
Karsten Keil 06ad9246c5 Fix capi20 soname
taken from Debian capi20-soname.patch

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-02-26 18:21:36 +01:00
Karsten Keil 27ade0f556 Fix nasty crashes on 64 bit systems
If CAPI buffers are not defined as unsigned byte, the old macro
to read the 64bit DATA buffer address could deliver a wrong value,
if bit 31 was set.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-31 14:23:35 +01:00
Karsten Keil c051304616 Add a dummy trace file
For now it is enough to have a fixed file.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:48:14 +01:00
Karsten Keil 696a2eafe6 Add License header
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:48:07 +01:00
Karsten Keil a34934521f Add license files as symlinks
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:48:01 +01:00
Karsten Keil c064ef8352 Remove copies of the GPL/LGPL
Will be replaced by links.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:47:56 +01:00
Karsten Keil 9340bad3a6 Subject: [PATCH 2/3] Add shared memory to allow unique application IDs
- add shared memory to allow unique application IDs
- add a debug interface to debug capi internals
- fix some warnings about unchecked return vulues

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:46:21 +01:00
Karsten Keil 0e0b64162c Export some helpers for capi modules
Export buffer related functions.
Fix warnings. Use same size for applid.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:46:12 +01:00
Karsten Keil e4a60e7963 Add missing include <sys/ioctl.h>
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:40:35 +01:00
Karsten Keil 91185bb204 Add missing unistd.h includes
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:40:30 +01:00
Karsten Keil 404b09271f Allow modules to supply their own waitformessage method
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:40:17 +01:00
Karsten Keil 0f52af4e56 Export application id functions
These functions maybe used by other (external) modules.
Make capi_mod.h a public header.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:40:10 +01:00
Karsten Keil 10a60ab5f5 Move to new modular capi20 implementation
step2

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:39:58 +01:00
Karsten Keil ba6c742ee2 Move to new modular capi20 implementation
step1

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-08 18:39:50 +01:00
keil 921574186f newer gcc do not include stdlib.h by default (needed for size_t) 2007-11-26 13:13:00 +00:00
keil 6f90e0b7bf some endian fixes for BIGENDIAN systems 2006-08-08 13:23:28 +00:00
calle 7c645ea395 - Version 3.0.4. 2005-05-09 08:23:42 +00:00
calle c9a666dbcd - added SendingComplete to CONNECT_RESP (no funktions changed). 2005-05-09 08:23:01 +00:00
calle a0fbae5e83 - get_buffer() now returns 0, if no buffer is available. 2005-05-09 08:21:57 +00:00
keil 104788263c - add SENDING_COMPLETE to INFO_REQ CONNECT_REQ and CONNECT_IND
- remove SENDING_COMPLETE parameter (always NULL) from capi_fill_DISCONNECT_REQ
2005-03-08 07:26:47 +00:00
calle 146960031c SendingComplete was missing for DISCONNECT_REQ ... 2005-03-04 11:45:12 +00:00
calle 2bb3391b6f version number. 2005-03-04 11:31:55 +00:00
calle b3e3c5e268 Newer generated files. 2005-03-04 11:07:35 +00:00
calle e1fa529a62 New functions: cleanup_buffers_for_ncci() and cleanup_buffers_for_plci()
triggered by DISCONNECT_B3_RESP and DISCONNECT_IND to fix buffer leak.
2005-03-04 11:00:31 +00:00
calle fa4ee02035 Bugfix: CAPI_LIBRARY_V2 sone ifdef/ifndef where wrong. 2005-03-04 10:57:05 +00:00
keil 4827b38772 for backward compatibility the libcapi20 can now compiled to support the
old (buggy) version2 ABI. This is not for future developments. This is only
to support old binaries, which are linked against the old V2 lib.
To compile a version 2 lib, run configure with
./configure --enable-V2
2005-02-22 11:46:33 +00:00
keil 57e8ffa247 for backward compatibility the libcapi20 can now compiled to support the
old (buggy) version2 ABI. This is not for future developments. This is only
to support old binaries, which are linked against the old V2 lib.
2005-02-22 11:39:43 +00:00
keil e9b93ccab1 libcapi20 version 3.0.0
- add SENDING COMPLETE in ALERT_REQ
 - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ

* NOTE: incompatible to 2.X.Y versions
2005-02-21 17:37:06 +00:00
calle f3b36e3011 Bugfix: returncode of get_buffer() is now checked. 2004-12-15 14:27:54 +00:00
calle 667c84fc5c - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
- Bugfix: capi20_register() with MaxB3Connection == 0 results in a
  core dump. Now at least one buffer is allocated.
2004-10-06 15:24:42 +00:00
calle 896f99c883 Erweiterungen fuer ALERT_REQ. 2004-06-14 11:23:47 +00:00
calle 3b059a10f8 - add receive buffer managment according to CAPI2.0 spec.
- send buffer is now on stack.
- new library version 2.0.7
2004-03-31 18:12:40 +00:00
keil e16ed676e3 - newer gcc need -fno-strict-aliasing 2004-02-12 11:24:37 +00:00
calle 06690d8cad remove several warnings. 2004-01-16 15:27:11 +00:00
calle 7e19929256 gcc warning removed. 2004-01-16 14:57:22 +00:00
calle 884dab4f1e Workaround for libtool version that need variable SED defined. 2003-06-16 12:08:23 +00:00
keil 838ed34b15 shared libs should compiled with -fPIC 2002-07-06 00:28:42 +00:00
paul 4875808bbb Include stdint.h for int type definitions. 2002-07-04 10:34:17 +00:00
paul b01c3ea6b9 Fixed typo (#ifdef HAS_UINT8_t -> #ifdef HAS_UINT8_T) 2002-03-22 13:20:04 +00:00
paul 10f699ef70 Various patches to fix errors when using the newest glibc,
replaced use of insecure tempnam() function
and to remove warnings etc.
2001-03-01 14:59:11 +00:00
kai 7551b31064 fix backwards compatibility in capi20 library, small other changes 2000-11-12 16:06:41 +00:00
calle cfcf5c4806 - newer automake/autoconf/libtool file 2000-07-25 13:56:50 +00:00