Commit Graph

35 Commits

Author SHA1 Message Date
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 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 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 6f90e0b7bf some endian fixes for BIGENDIAN systems 2006-08-08 13:23:28 +00:00
calle a0fbae5e83 - get_buffer() now returns 0, if no buffer is available. 2005-05-09 08:21:57 +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
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
calle 06690d8cad remove several warnings. 2004-01-16 15:27:11 +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 47cebe6665 - Will also compile with 2.0 Kernelheaders. 2000-06-26 15:00:43 +00:00
calle cad91aaf71 Updated _cmsg handling added new functions need by "capiconn". 2000-05-18 15:02:26 +00:00
calle 5fc9d9d7d2 capi20_wait_for_message will now return CapiReceiveQueueEmpty on
timeout and error.
2000-04-10 09:08:06 +00:00
calle 9515ce46e7 Bugfix: without devfs open where without NONBLOCK, ahhh. 2000-04-07 16:06:09 +00:00
calle 27295b0319 non CAPI2.0 standard functions now named capi20ext not capi20.
Extentionfunctions will work with actual driver version.
2000-04-03 14:27:15 +00:00
calle cdcbe40957 - now uses cloning device /dev/capi20.
- middleware extentions prepared.
2000-03-03 15:56:14 +00:00
calle 4a81ef4f16 - Last byte in serial number now always 0.
- Last byte of manufacturer now always 0.
- returncode in capi20_isinstalled corrected.
1999-12-22 17:46:21 +00:00
calle e652334cee add shared lib destructor, to close "capi_fd" on unload with dlclose .. 1999-11-11 09:24:07 +00:00
calle 6b1541adb6 - The CAPI20 library is now a shared library.
- Arguments of function capi20_put_message swapped, to match capi spec.
- All capi20 related subdirs converted to use automake.
- Removed dependency to CONFIG_KERNELDIR where not needed.
1999-10-20 16:43:17 +00:00
calle 9687bd1712 Bugfix: error in 64Bit extention. 1999-09-15 08:10:44 +00:00
calle 03e393cd08 Last changes for proposed standards (CAPI 2.0):
- AK1-148 "Linux Extention"
- AK1-155 "Support of 64-bit Applications"
1999-09-10 17:20:33 +00:00
calle a941f2f79f Changes for CAPI 2.0 Spec. 1999-09-06 17:40:07 +00:00
calle b173470527 Bugfix in capi20_get_profile: wrong size in memcpy from
Kai Germaschewski <kai@thphy.uni-duesseldorf.de>
1999-04-20 19:52:19 +00:00
paul f0e67513ff fixed a (harmless) warning 1998-11-18 17:05:44 +00:00
calle 749b5a99ab I hope it is know readable for everybody. 1998-08-30 09:57:13 +00:00
calle c39be18721 Remove files, to commit readable for all. 1998-08-30 09:51:28 +00:00
calle 03451c74e6 Added CAPI2.0 library. First Version. 1998-08-25 16:33:09 +00:00