Macintosh Development |
[Home]
[About Us]
[People]
[Information Systems]
[Kerberos for Macintosh]
[Applications]
[Miscellaneous Documentation]
Kerberos Support Library |
What was Kerberos Support Library?
Documentation for the Individual Libraries
Using Kerberos Support Library
What was Kerberos Support Library?Documentation for the Individual LibrariesKerberos Support Library was a collection of shared libraries packaged in a single shared library file, maintained by MIT Information Systems, for Mac OS 8 & 9 (a CFM compatibility "bridge library" is provided on Mac OS X). The purpose of Kerberos Support Library was to provide networking services and utility functions used by applications and other shared libraries developed by MIT Information Systems.
Kerberos Support Library is no longer supported or actively developed. This documentation is provided for historical purposes only. While CFM applications can still access the Kerberos Support Library libraries on Mac OS X through the CFM support library provided by the Mac OS X Kerberos Extras, we strongly recommend you do not develop applications that depend on any of the functionality described below. None of the Kerberos Support Library libraries are available for Mach-O.
Using Kerberos Support LibraryThis documentation is only current as of Kerberos for Macintosh 3.5/4.0.x.
AEGizmosLib A useful AppleEvent management system (third party). DebuggingLib A set of debugging services such as assertions and debugging logs. ErrorLib A library providing error string lookup with extendible error tables. HesiodLib An implementation of the Hesiod protocol. IdleLib A unified idling library for threaded and non-threaded applications and libraries. MoreFilesLib A library providing the MoreFiles utility functions by Jim Luther (third party). ShlibDriverLib A library which exports a shared library through a driver interface. ShlibResourcesLib A library providing resource fork access to other shared libraries. SocketsLib An implementation of the BSD Sockets API based on Open Transport. UtilitiesLib Miscellaneous utility functions such as string operators and time conversion functions. C++Lib
CLib
Runtime++Lib
RuntimeLibThese libraries are compiled from original Metrowerks sources, with modifications necessary to incorporate them into Kerberos Support Library (fragment name changes, added debugging targets) and possibly some of our local fixes to the original Metrowerks sources. Please refer to the corresponding Metrowerks documentation for MSL. Known Bugs in Kerberos Support LibraryOnce again, we do not recommend or support developing applications against the Kerberos Support Library. This information for historical purposes only, and only applies to CFM development. Kerberos Support Library is not available for Mach-O.
In order to use Kerberos Support Library in an application or a shared library, you need to determine which parts of Kerberos Support Library you need to use. You should always link your application against the component libraries of Kerberos Support Library that your application needs, not against Kerberos Support Library itself.
Each library in Kerberos Support Library has two different versions: a non-debugging and debugging PPC version. You should add the appropriate version of each library that you use to the targets for different versions of your application. For debugging libraries you should define MACDEV_DEBUG to 1 in the prefix file for that target. For non-debugging targets you should define MACDEV_DEBUG to 0.
Once you've linked against the appropriate libraries, you need to include the appropriate header files in your sources (see the SDK for each library). In order to run your application, you will also have to have Kerberos Support Library in your CFM search path. The best way to deal with this is to keep Kerberos Support Library and Kerberos Support Library.debug in your Application Support folder (under MacOS 8.6 and newer) or your Extensions folder (Mac OS 8.5 and older).
All parts of Kerberos Support Library should be weakly linked into your application, and you should perform runtime checks for presence of the parts that you use. Most of the component libraries of Kerberos Support Library contain
_IsFooLibPresent()
macros in their header files to determine if the library is loaded at runtime.Getting Kerberos Support LibraryVisit the Kerberos for Macintosh Known Bugs list here.
You can get the latest release of Kerberos for Macintosh containing Kerberos Support Library here (look for information about getting Kerberos for Macintosh 4.0.3).
Please read the Kerberos Support Library Version History for information on the latest release of Kerberos Support Library.
Questions or comments? Send mail to macdev@mit.edu
Last updated on $Date: 2003/11/19 20:49:55 $
Last modified by $Author: smcguire $