PreviousNext

Overview - Sample Application Programs

This topic contains three sample programs and the header files that are included in them (in parentheses), as follows:

· example.c (example.h)

· acl.c (acl.h)

· teldir.c

Most of the concepts that you will need to know to understand and use these programs are discussed in previous topics in this guide. The programs are arranged so that the simplest program (example.c) is presented first and the most complex program (teldir.c) is presented last. The three programs demonstrate basic XDS and XOM API principles and concepts in operation. The teldir.c program is considerably more complex and uses a more sophisticated approach. It allows the user to enter values dynamically; for example, a surname and phone number.

For a sample XDS application that uses threads, please refer to Using Threads With The XDS/XOM API. The acl.c sample program is presented again in XDS/XOM Convenience Routines, this time using the XDS/XOM convenience routines.