ADIC Server User Manual
Page 17

Figures
xiii
21 Dec 2001
Example of a Generic aci_async_add() Function . . . . . . . . . . . . . . . . 5-5
aci_async_add Function with the das_mount Parameter . . . . . . . . . 5-6
Example of the aci_async_add Function with the das_mount Parame-
ter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
aci_async_add Function with the das_dismount Parameter . . . . . . 5-7
aci_async_add Function with the das_force Parameter. . . . . . . . . . . 5-7
aci_async_add Function with the das_insert Parameter . . . . . . . . . . 5-8
aci_async_add Function with the das_eject Parameter . . . . . . . . . . . 5-9
aci_async_add Function with the das_eject_complete Parameter . 5-10
Example of an aci_async_add Function . . . . . . . . . . . . . . . . . . . . . . . 5-12
aci_async_create Function Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
Example if the aci_async_create Function . . . . . . . . . . . . . . . . . . . . . 5-14
aci_async_find Function Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Example of the aci_async_find Function . . . . . . . . . . . . . . . . . . . . . . 5-15
aci_async_free Function Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Example of aci_mount Asynchronous ACI Call . . . . . . . . . . . . . . . . 5-16
aci_dismount Asynchronous ACI Call. . . . . . . . . . . . . . . . . . . . . . . . 5-17
aci_force Asynchronous ACI Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
aci_insert Asynchronous Function Call . . . . . . . . . . . . . . . . . . . . . . . 5-18
aci_eject Asynchronous Function Call . . . . . . . . . . . . . . . . . . . . . . . . 5-19
aci_eject_complete Asynchronous Function Call . . . . . . . . . . . . . . . 5-19
Setup Signal Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21
dasadmin Sample Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
Common Structure for aci_async_entry. . . . . . . . . . . . . . . . . . . . . . . 5-24
async_drive_parms Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25
async_ei_parms Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25
async_response Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
async_mount_parms Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
async_insert_responce Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27