!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/gtk-doc/html/libuser/   drwxr-xr-x
Free 3.46 GB of 27.03 GB (12.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     libuser-value.html (9.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
value

value

value — Simplified interface to GValue types used in libuser entities.

Synopsis




#define     LU_VALUE_INVALID_ID
char*       lu_value_strdup                 (const GValue *value);
void        lu_value_init_set_id            (GValue *value,
                                             id_t id);
id_t        lu_value_get_id                 (const GValue *value);
int         lu_values_equal                 (const GValue *a,
                                             const GValue *b);

Description

Libuser entities store attribute values as GValue, which allows representing any possible data type. Only a few types are needed in practice; the only types applications should hard-code are G_TYPE_LONG and G_TYPE_STRING (G_TYPE_STRING can usually be used as a fallback for other number types).

The only currently used data types that are not conveniently supported using the above types are uid_t and gid_t (which can be together represented in id_t), because they can support values outside of the range of glong. Helper functions are provided to convert values between id_t and GValue, even if the value is stored using G_TYPE_STRING. The GValue types used for storing id_t values are an internal implementation detail of libuser and applications should not rely on them.

Details

LU_VALUE_INVALID_ID

#define LU_VALUE_INVALID_ID ((id_t)-1)

An id_t value that matches no valid user or group ID.


lu_value_strdup ()

char*       lu_value_strdup                 (const GValue *value);

Converts value, of any type used by libuser, to a string. Preferable to hard-coding checks for expected value types.

value :value
Returns :string, should be freed by g_free()

lu_value_init_set_id ()

void        lu_value_init_set_id            (GValue *value,
                                             id_t id);

Initializes a zero-filled (uninitialized) value with an unspecified type and sets it to id.

value :GValue
id :user or group ID.

lu_value_get_id ()

id_t        lu_value_get_id                 (const GValue *value);

Get the contents of value. value should be initialized by lu_value_init_set_id() or use G_TYPE_LONG or G_TYPE_STRING.

If value does not contain a valid id_t value, LU_VALUE_INVALID_ID is returned.

value :GValue
Returns :ID value or LU_VALUE_INVALID_ID

lu_values_equal ()

int         lu_values_equal                 (const GValue *a,
                                             const GValue *b);

Check whether a and b have the same type and value.

a :GValue
b :GValue
Returns :TRUE if a and b have the same type and value

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0036 ]--