02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

zip(3N) zip(3N)<br />

start<br />

buf<br />

The starting index for the get zone list request. The start<br />

index is the value of the index at which to start including<br />

zone names in the response. It is used to obtain a zone<br />

list that may not fit into one A 1P response packet The<br />

start index should initially be 1. While<br />

zip_get zonelist returns a value greater than 0, the<br />

caller must reissue zip getzonelist calls to get<br />

more zone names from the bridge, specifying a start index<br />

of the previous start index plus the previous return<br />

valueof zip_getzonelist.<br />

A buffer to hold this list of zone names. Each zone<br />

name is an at nvestr t structure. The size of this<br />

buffer (in bytes) must be at least ATP _DATA _ SI ZE.<br />

Upon successful completion, this routine returns the number of<br />

zone names in the list<br />

When all zones in the bridge's Zone Information Table have been<br />

returned, this routine returns O.<br />

The use and behavior of the zip getlocal zones routine are<br />

the same as for zip_getzonelist, except that the former returns<br />

the list of zones on the local EtherTalk cable rather than all<br />

the zones on the internet. On LocalTalk,<br />

zip _getlocal zones returns only the current zone name.<br />

DIAGNOSTICS<br />

All routines return -Ion error, with a detailed error code stored in<br />

errno:<br />

[EINVAL] A parameter is invalid.<br />

[ENE TUNREACH] A bridge node could not °be found to process<br />

the request.<br />

Routines also return any error codes returned by the underlying<br />

A TP or DDP layers.<br />

SEE ALSO<br />

ddp(3N), atp(3N), Inside AppleTalk; "AppleTalk Programming<br />

Guide," inA/UX Network Applications Programming.<br />

WARNINGS<br />

The returned zone strings are not NULL-terminated.<br />

2<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!