| libdmapsharing Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define TYPE_DAAP_CONNECTION
#define DAAP_CONNECTION (o)
#define DAAP_CONNECTION_CLASS (k)
#define IS_DAAP_CONNECTION (o)
#define IS_DAAP_CONNECTION_CLASS (k)
#define DAAP_CONNECTION_GET_CLASS (o)
DAAPConnectionPrivate;
DAAPConnection;
GType daap_connection_get_type (void);
DAAPConnection * daap_connection_new (const gchar *name,
const gchar *host,
gint port,
const gchar *password,
DMAPDb *db,
DMAPRecordFactory *factory);
#define TYPE_DAAP_CONNECTION (daap_connection_get_type ())
The type for DAAPConnection.
#define DAAP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DAAP_CONNECTION, DAAPConnection))
Casts a DAAPConnection or derived pointer into a (DAAPConnection *) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.
|
Object which is subject to casting. |
#define DAAP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TYPE_DAAP_CONNECTION, DAAPConnectionClass))
Casts a derived DAAPConnectionClass structure into a DAAPConnectionClass structure.
|
a valid DAAPConnectionClass |
#define IS_DAAP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DAAP_CONNECTION))
Checks whether a valid GTypeInstance pointer is of type TYPE_DAAP_CONNECTION.
|
Instance to check for being a TYPE_DAAP_CONNECTION.
|
#define IS_DAAP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DAAP_CONNECTION))
Checks whether k "is a" valid DAAPConnectionClass structure of type
DAAP_CONNECTION or derived.
|
a DAAPConnectionClass |
#define DAAP_CONNECTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DAAP_CONNECTION, DAAPConnectionClass))
Get the class structure associated to a DAAPConnection instance.
|
a DAAPConnection instance. |