| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
OobsSelfConfig;
OobsObject* oobs_self_config_get (void);
OobsUser* oobs_self_config_get_user (OobsSelfConfig *config);
gboolean oobs_self_config_is_user_self (OobsSelfConfig *config,
OobsUser *user);
OobsObject* oobs_self_config_get (void);
Returns the OobsSelfConfig singleton, which represents the user configuration for the requester uid.
Returns : |
the singleton OobsSelfConfig object. |
OobsUser* oobs_self_config_get_user (OobsSelfConfig *config);
Returns the OobsUser that represents the requester user.
|
An OobsSelfConfig. |
Returns : |
An OobsUser, you must not reference this object. |
gboolean oobs_self_config_is_user_self (OobsSelfConfig *config, OobsUser *user);
Check whether user is the user represented by OobsSelfConfig.
|
An OobsSelfConfig. |
|
An OobsUser. |
Returns : |
TRUE if user is self, FALSE otherwise.
|