pool_conf_to_elem man page on SmartOS

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

POOL_COMPONENT_TO_ELEM(3POOL)			 POOL_COMPONENT_TO_ELEM(3POOL)

NAME
       pool_component_to_elem,	       pool_to_elem,	    pool_conf_to_elem,
       pool_resource_to_elem - resource pool element-related functions

SYNOPSIS
       cc [ flag... ] file... -lpool [ library... ]
       #include <pool.h>

       pool_elem_t *pool_component_to_elem(pool_conf_t *conf,
	    pool_component_t *component);

       pool_elem_t *pool_conf_to_elem(pool_conf_t *conf);

       pool_elem_t *pool_resource_to_elem(pool_conf_t *conf
	     pool_resource_t *resource);

       pool_elem_t *pool_to_elem(pool_conf_t *conf, pool_t *pool);

DESCRIPTION
       A pool element, as represented by a pool_elem_t, is a  common  abstrac‐
       tion  for  any  libpool entity that contains properties. All such types
       can be converted to the opaque pool_elem_t type using  the  appropriate
       conversion functions prototyped above. The conf argument for each func‐
       tion refers to the target configuration to which the operation applies.

RETURN VALUES
       Upon successful completion, these functions return a pool_elem_t corre‐
       sponding	 to  the  argument  passed  in. Otherwise they return NULL and
       pool_error(3POOL) returns the pool-specific error value.

ERRORS
       These function will fail if:

       POE_BADPARAM
		       The supplied configuration's status is not POF_VALID.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │CSI		    │ Enabled	      │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Unstable	      │
       ├────────────────────┼─────────────────┤
       │MT-Level	    │ Safe	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       libpool(3LIB), pool_error(3POOL), attributes(5)

				 Sep 23, 2003	 POOL_COMPONENT_TO_ELEM(3POOL)
[top]

List of man pages available for SmartOS

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