EZ_InstallSymbol man page on DragonFly

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

EZ_InstallSymbol()					    EZ_InstallSymbol()

NAME
       EZ_InstallSymbol,  EZ_RetrieveSymbol - install/retrieve a symbolic con‐
       stant to/from the resource database

SYNOPSIS
       #include <EZ.h>

       int EZ_InstallSymbol(char *name, EZ_Value value)

       EZ_Value *EZ_RetrieveSymbol(char *name)

ARGUMENTS
       name  Specifies a name.

       value  Specifies a value to be associated with name.

DESCRIPTION
       EZ_InstallSymbol installs the key-value	pair  (name,  value)  into  an
       internal	 lookup table.	It is a tool for converting resource values to
       other data types. This function returns -1 if it fails.

       value is defined by the following data structure.
       typedef struct {
	  int	     type; /* EZ_INT, EZ_FLOAT, EZ_POINTER or EZ_ULONG */
	  union {
	    int	  i;
	    float f;
	    void  *p;
	    ulong l;
	  }	     value;
       } EZ_Value;

       EZ_RetrieveSymbol retrieves and returns the value for name.  If name is
       not found in the table, it returns NULL.

       The following (integer) symbols are installed by EZ_InitializeXrm

       ( "no",		       0)
       ( "yes",		       1)
       ( "No",		       0)
       ( "Yes",		       1)
       ( "null",	       0)
       ( "Null",	       0)
       ( "false",	       0)
       ( "true",	       1)
       ( "False",	       0)
       ( "True",	       1)
       ( "on",		       1)
       ( "off",		       0)
       ( "On",		       1)
       ( "Off",		       0)
       ( "none",	       0)
       ( "None",	       0)
       ( "nil",		       0)
       ( "horizontal",	       1)
       ( "horizontalLeft",     2)
       ( "horizontalRight",    3)
       ( "horizontalCenter",   4)
       ( "vertical",	       5)
       ( "verticalTop",	       6)
       ( "verticalBottom",     7)
       ( "verticalCenter",     8)
       ( "fillNone",	       0)
       ( "fillHorizontally",   1)
       ( "fillVertically",     2)
       ( "fillBoth",	       3)
       ( "center",	       0)
       ( "left",	       1)
       ( "right",	       2)
       ( "top",		       3)
       ( "bottom",	       4)
       ( "topLeft",	       5)
       ( "topRight",	       6)
       ( "bottomLeft",	       7)
       ( "bottomRight",	       8)
       ( "row",		       1)
       ( "column",	       2)
       ( "flat",	       1)
       ( "ridge",	       2)
       ( "groove",	       3)
       ( "raised",	       4)
       ( "sunken",	       5)
       ( "embossed",	       8)
       ( "engraved",	       9)
       ( "normalState",	       1)
       ( "iconicState",	       3)
       ( "empty",	       0)
       ( "square",	       1)
       ( "sunkenSquare",       2)
       ( "diamond",	       3)
       ( "sunkenDiamond",      4)
       ( "circle",	       5)
       ( "check",	       6)
       ( "rectangle",	       7)

SEE ALSO
       EZ_InstallSymbolicInt(3),  EZ_InstallSymbolicPointer(3), EZ_GetApplica‐
       tionResource(3)

EZWGL Functions			     EZWGL		    EZ_InstallSymbol()
[top]

List of man pages available for DragonFly

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