OobsSelfConfig

OobsSelfConfig — Object that represents the current user

Object Hierarchy

  GObject
   +----OobsObject
         +----OobsSelfConfig

Description

Details

OobsSelfConfig

typedef struct _OobsSelfConfig OobsSelfConfig;


OobsSelfConfigClass

typedef struct {
  OobsObjectClass parent_class;

  void (*_oobs_padding1) (void);
  void (*_oobs_padding2) (void);
  void (*_oobs_padding3) (void);
  void (*_oobs_padding4) (void);
} OobsSelfConfigClass;


oobs_self_config_get ()

OobsObject*         oobs_self_config_get                (void);

Returns the OobsSelfConfig singleton, which represents the user configuration for the requester uid.

Returns :

the singleton OobsSelfConfig object.

oobs_self_config_get_user ()

OobsUser*           oobs_self_config_get_user           (OobsSelfConfig *config);

Returns the OobsUser that represents the requester user.

config :

An OobsSelfConfig.

Returns :

An OobsUser, you must not reference this object.

oobs_self_config_is_user_self ()

gboolean            oobs_self_config_is_user_self       (OobsSelfConfig *config,
                                                         OobsUser *user);

Check whether user is the user represented by OobsSelfConfig.

config :

An OobsSelfConfig.

user :

An OobsUser.

Returns :

TRUE if user is self, FALSE otherwise.