|Linux & Unix Commands - Search Man Pages
NWGetConnListFromObject - Retrieve connection list of specified object
NWCCODE NWGetConnListFromObject(NWCONN_HANDLE conn, nuint32 objID, NWCONN_NUM firstConn,
size_t* noOfReturnedConns, NWCONN_NUM* connList);
This function retrieves connection list of specified object from server.
conn contains connection handle obtained from ncp_open(3ncp) or NWParsePath(3ncp).
objID contains server specific object ID. For bindery, it is object ID, for NDS objects
it is local entry number.
firstConn specifies, from which connection start search. Use 0 on first call and high-
est returned value on subsequent.
noOfReturnedConns contains number of returned connections. It may be NULL, there is no
reason for pass NULL into this function. At most 125 connections are returned at once.
connList is array for returned connection numbers. It may be NULL, in this case, only
noOfReturnedConns is returned. connList array must be able to hold 125 entries.
Function returns zero on success and non-zero on failure. If specified object does not
exist, success is returned and noOfReturnedConns is set to zero.
If noOfReturnedConns is 125, it is possible that list is incomplete and NWGetConnListFro-
mObject should be invoked again for another set of connections.
See nwerrors(3ncp) for complete list of error codes.
libncp (>= 188.8.131.52) 04/13/1999 NWGETCONNLISTFROMOBJECT(3NCP)
All times are GMT -4. The time now is 02:04 PM.