MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Pool Configuration Manipulation Library Functions
                                    poolcomponenttoelem(3POL)



NAME
     poolcomponenttoelem,   pooltoelem,   poolconftoelem,
     poolresourcetoelem  - resource pool element-related func-
     tions

SYNOPSIS
     cc [ flag... ] file... -lpool [ library... ]
     #include 

     poolelemt *poolcomponenttoelem(poolconft *conf,
          poolcomponentt *component);


     poolelemt *poolconftoelem(poolconft *conf);


     poolelemt *poolresourcetoelem(poolconft *conf
           poolresourcet *resource);


     poolelemt *pooltoelem(poolconft *conf, poolt *pool);


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

RETURN VALUES
     Upon  successful  completion,  these  functions   return   a
     poolelemt  corresponding to the argument passed in. Other-
     wise they return  NUL  and  poolerror(3POL)  returns  the
     pool-specific error value.

ERORS
     These function will fail if:

     POEBADPARAM    The supplied configuration's status  is  not
                     POFVALID.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:







SunOS 5.11          Last change: 23 Sep 2003                    1






Pool Configuration Manipulation Library Functions
                                    poolcomponenttoelem(3POL)




           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     CSI                          Enabled                     
    
     Interface Stability          Unstable                    
    
     MT-Level                     Safe                        
    


SEE ALSO
     libpool(3LIB), poolerror(3POL), attributes(5)









































SunOS 5.11          Last change: 23 Sep 2003                    2






Pool Configuration Manipulation Library Functions
                                    poolcomponenttoelem(3POL)






















































SunOS 5.11          Last change: 23 Sep 2003                    3






OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™