HP-UX SNAplus2 R7 LUA Programmer's Guide

Contents
Legal Notices...............................................................................................................................................7
Warranty..............................................................................................................................................7
U.S. Government License.................................................................................................................. 7
Copyright Notices...............................................................................................................................7
Trademark Notices..............................................................................................................................7
Publishing History.......................................................................................................................................8
New and Changed Information in This Edition..................................................................................8
Before You Begin.. ...................................................................................................................................... 9
Prerequisite Knowledge......................................................................................................................9
Intended Audience..............................................................................................................................9
About This Book.................................................................................................................................9
Organization of This Book.........................................................................................................9
Typographic Conventions.........................................................................................................10
Graphic Conventions................................................................................................................11
SNAplus2 Publications.....................................................................................................................11
Publications for Users..............................................................................................................11
Publications for Administrators................................................................................................ 12
Publications for Programmers..................................................................................................12
Related Publications.........................................................................................................................13
Chapter 1 Concepts...............................................................................................................................14
1.1 What Is LUA?..........................................................................................................................14
1.2 Choosing Which Interface to Use...........................................................................................14
1.3 LUs and Sessions...................................................................................................................15
1.3.1 Configuration.. ............................................................................................................. 17
1.4 LUA Verbs.. .............................................................................................................................17
1.4.1 RUI Verb Summary......................................................................................................17
1.4.2 SLI Verb Summary.. .................................................................................................... 18
1.4.3 Asynchronous Verb Completion..................................................................................19
1.5 A Sample LUA Communication Sequence.............................................................................19
1.6 LUA Compatibility....................................................................................................................22
Chapter 2 Designing and Writing LUA Applications..........................................................................24
2.1 LUA Entry Points for HP-UX Applications...............................................................................24
2.1.1 RUI Function Call.. ......................................................................................................25
2.1.2 SLI Function Call.........................................................................................................25
ii