NWGetObjectConnectionNumbers man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

NWGETOBJECTCONNECTIONNUMBERS(3NCP)	    NWGETOBJECTCONNECTIONNUMBERS(3NCP)

NAME
       NWGetObjectConnectionNumbers  -	Retrieve  connection list of specified
       object

SYNOPSIS
       #include <nwcalls.h>

       NWCCODE NWGetObjectConnectionNumbers(NWCONN_HANDLE  conn,  const	 char*
       name,  nuint16  type,  size_t* noOfReturnedConns, NWCONN_NUM* connList,
       size_t maxConns);

DESCRIPTION
       This function  retrieves	 connection  list  of  specified  object  from
       server.

       conn
	  conn	contains  connection  handle  obtained	from ncp_open(3ncp) or
	  NWParsePath(3ncp).

       name
	  name contains bindery object	name.  Wildcards  are  not  supported.
	  Must not be NULL.

       type
	  type contains bindery object type. NCP_BINDERY_USER should be speciā€
	  fied in most cases.

       noOfReturnedConns
	  noOfReturnedConns contains number of returned connections. It may be
	  NULL, there is no reason for pass NULL into this function.

       connList
	  connList  is	array for returned connection numbers. It may be NULL,
	  in this case, only noOfReturnedConns is returned.

       maxConns
	  maxConns holds maximum number of returned connections. connList must
	  be NULL or large enough for maxConns * sizeof(NWCONN_NUM) bytes.

RETURN VALUE
       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.

       See nwerrors(3ncp) for complete list of	error codes.

BUGS
       None known.

SEE ALSO
       nwerrors(3ncp), NWGetConnListFromObject(3ncp)

libncp (>= 2.2.0.14)		  04/13/1999NWGETOBJECTCONNECTIONNUMBERS(3NCP)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net