Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Constants and Data Types


The Application-Defined List Search Function Prototype

In order to use the OTFindLink function and the OTFindAndRemoveLink function, you must provide a user-defined function that is used when searching a list for a specific entry. The prototype for this function is as follows:

typedef Boolean (*OTListSearchProcPtr)
                     (const void* ref,
                     OTLink* linkToCheck);
For information about creating your own list search function, see MyListSearchFunction.
DISCUSSION
For 68000 code, this routine uses MPW C calling conventions. You should check your development environment documentation for information about defining a function with MPW C calling conventions. This is not an issue for PowerPC code.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998