TpHandle

TpHandle — type representing handles

Functions

Types and Values

typedef TpHandle

Object Hierarchy


Includes

#include <telepathy-glib/telepathy-glib.h>

Description

The TpHandle type represents a Telepathy handle.

Functions

TP_UNKNOWN_ENTITY_TYPE

#define TP_UNKNOWN_ENTITY_TYPE ((TpEntityType) -1)

An invalid entity type (-1 cast to TpEntityType) used to represent an unknown entity type.

Since 0.7.0


tp_entity_type_is_valid ()

gboolean
tp_entity_type_is_valid (TpEntityType type,
                         GError **error);

If the given entity type is valid, return TRUE. If not, set error and return FALSE.

Parameters

type

A entity type, valid or not, to be checked

 

error

Set if the entity type is invalid

 

Returns

TRUE if the entity type is valid.


tp_entity_type_to_string ()

const gchar *
tp_entity_type_to_string (TpEntityType type);

Parameters

type

A entity type, which need not be valid

 

Returns

a human-readable string describing the entity type, e.g. "contact". For invalid entity types, returns "(no handle)" for 0 or "(invalid entity type)" for others.

Types and Values

TpHandle

typedef guint32 TpHandle;

Type representing Telepathy handles within telepathy-glib.

See Also

TpHandleRepoIface